LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 01-19-2004, 08:23 PM   #1
jamminparidise
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....

/etc/namedb/named.conf

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

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

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


/etc/namedb/resolv.conf

nameserver 127.0.0.1 (my server)
nameserver 24.51.159.130 (isp caching server)
nameserver 24.51.159.133 (isp caching server)

/etc/host.conf

order hosts,bind
multi on

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

BSDSRV1# dig @128.128.238.1 wwwgooglecom

; <<>> DiG 8.3 <<>> @128.128.238.1 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
;; QUERY SECTION:
;; wwwgooglecom, type = A, class = IN

;; Total query time: 1 msec
;; FROM: BSDSRV1.frdrmd.adelphia.net to SERVER: 128.128.238.1 128.128.238.1
;; 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 [69.80.13.195].53 (fxp0) (address changed for security)
listening on [128.128.238.1].53 (dc0)
listening on [127.0.0.1].53 (lo0)
Forwarding source address is [0.0.0.0].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, 10:34 PM   #2
chort
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, 09:42 AM   #3
jamminparidise
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.
 
  


Reply


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 01:20 AM
Smoothwall - Major DNS Problems (I think) davidbdp Linux - Networking 22 08-23-2003 06:28 PM
BIND and DNS Server Problems sicasal Linux - Software 8 07-31-2003 07:43 AM
BIND DNS Problems with Zone file and Config Init-0 Linux - Networking 6 07-30-2003 04:58 PM
BIND DNS client problems --unknown host Seneka Linux - Networking 4 12-28-2001 03:36 PM


All times are GMT -5. The time now is 12:55 PM.

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