LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 02-02-2006, 01:27 PM   #1
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Rep: Reputation: 30
BIND: server can't resolve names on itself


Hi,


I'm using BIND on FC4. My machine is a primary DNS server for a forward domain and 3 reverse domains.

For some reason the forward name lookups don't resolve but, the reverse do. If I do

$> nslookup somehost

I get...

** server can't find junkbond: NXDOMAIN

my /etc/resolv.conf file points to the local server and search is set to my domain.

This is part of my named.conf file(modified for public eyes, of course)...

---------------------------
zone "icd.uc.ed" {
type master;
file "icd.uc.ed.zone";
check-names ignore;
allow-query {any;};
allow-transfer {12.11.14.12; };
allow-update {128.111.15.15; };
notify yes;
};
---------------------------

Also, I have a secondary server that has pretty much the same config for the domain and it
resolves the forward name queries fine....

I've also tried removing the firewall with no luck so it's not that either.

Any ideas?

Thanks,
 
Old 02-02-2006, 01:35 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Replace the "search" keyword with the "domain" keyword to see if it works. Else check the zone file for errors.
 
Old 02-02-2006, 02:29 PM   #3
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Original Poster
Rep: Reputation: 30
That didn't work.

That brings me to another question.

How do you set logging to log queries? At the moment it only logs zone transfers.

Thanks,
 
Old 02-03-2006, 03:04 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Did you check the zone file for errors? Or you can post it here so we can take a look. As for logging use the logging statement.
 
Old 02-03-2006, 02:04 PM   #5
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Original Poster
Rep: Reputation: 30
I did both named-checkzone and named-checkconf and both come up w/ out errors.



This is the beginning of my zone file(slightly modified for the public)



$ORIGIN .
$TTL 3600 ; 1 hour
iqd.usb.eu IN SOA blackmonday.iqd.usb.eu. root.iqd.usb.eu. (
608 ; serial
1800 ; refresh (30 minutes)
600 ; retry (10 minutes)
172800 ; expire (2 days)
900 ; minimum (15 minutes)
)

------------------------------------
 
Old 02-03-2006, 04:50 PM   #6
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,973

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
It's not the beginning that we need, but the rest where you assign the IP addresses to hosts, i.e. the IN A and in CNAME records. Meanwhile what happens if you try to resolve a FQDN:
Code:
nslookup somehost.iqd.usb.eu
 
Old 02-03-2006, 06:24 PM   #7
psychobyte
Member
 
Registered: Sep 2003
Location: Central Coast, California
Posts: 179

Original Poster
Rep: Reputation: 30
Ummm.

not sure what I did but, it seems to be working now.

Thanks!
 
  


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
Cannot resolve names bigd Linux - Networking 1 10-09-2005 01:06 PM
i can't resolve names on the network khh80 Linux - Networking 2 07-14-2005 08:02 AM
Internal Can't Resolve Names bootface Linux - Networking 3 03-21-2005 01:00 PM
Can bind 9 (DNS) resolve names based on who's asking?? (internal vs. external clients registering Linux - Networking 3 06-16-2004 08:25 AM
Unable to resolve names Starblade Linux - Networking 1 10-25-2003 03:48 AM


All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
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