Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 01-19-2004, 09:23 PM   #1
LQ Newbie
Registered: Jan 2004
Distribution: Freebsd 4.8 Release
Posts: 9

Rep: Reputation: 0
Major DNS problems with BIND in freebsd 4.8 release

OK, i haven't been able to get any dns server stuff to work for me at all... here are my config files and some output from some troubleshooting measures i've taken. I'm using freebsd 4.8 with natd, dhcpd, and ipfw working great, i just want to set up a caching nameserver and it's not working very well....


options {
directory "/etc/namedb";
forwarders {;

zone "." (
type hint;
file "named.root";

zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";


nameserver (my server)
nameserver (isp caching server)
nameserver (isp caching server)


order hosts,bind
multi on

here's the result of running a dig with my dns server

BSDSRV1# dig @ wwwgooglecom

; <<>> DiG 8.3 <<>> @ wwwgooglecom
; (1 server found)
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; wwwgooglecom, type = A, class = IN

;; Total query time: 1 msec
;; WHEN: Mon Jan 19 21:20:40 2004
;; MSG SIZE sent: 32 rcvd: 32

and finally here's what my named.log says after all that

listening on [].53 (fxp0) (address changed for security)
listening on [].53 (dc0)
listening on [].53 (lo0)
Forwarding source address is [].1052 <-- what does this mean?
Ready to answer queries.
sysquery: nlookup error on ?
No root nameservers for class IN
sysquery: nlookup error on ?
sysquery: nlookup error on ?
sysquery: nlookup error on ?

Hey, thanks for any help, i'll post more files etc... if needed
Old 01-20-2004, 11:34 PM   #2
Senior Member
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
You have the wrong brackets around your hints zone. You're using parenthesis when you should be using curly brackets. Also, make sure that named.root exists in /etc/namedb.
Old 02-03-2004, 10:42 AM   #3
LQ Newbie
Registered: Jan 2004
Distribution: Freebsd 4.8 Release
Posts: 9

Original Poster
Rep: Reputation: 0
Not So Obvious Problem

Yes, thanks for the help, that did end up fixing my named problems, but i had some other issues to work out as well. I had some firewall configuration issues that were masking everything and making it seem like problems in my other configurations. Thanks for your help it is much appreciated.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with BIND operating with Windows XP with dns zones for eth0 aliases Cyclo Linux - Networking 2 01-16-2004 02:20 AM
Smoothwall - Major DNS Problems (I think) davidbdp Linux - Networking 22 08-23-2003 07:28 PM
BIND and DNS Server Problems sicasal Linux - Software 8 07-31-2003 08:43 AM
BIND DNS Problems with Zone file and Config Init-0 Linux - Networking 6 07-30-2003 05:58 PM
BIND DNS client problems --unknown host Seneka Linux - Networking 4 12-28-2001 04:36 PM

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration