LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 12:35 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Replace the "search" keyword with the "domain" keyword to see if it works. Else check the zone file for errors.
 
Old 02-02-2006, 01: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, 02:04 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 01: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, 03:50 PM   #6
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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, 05: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:04 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
Open Source Consulting | Domain Registration