Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 06-29-2007, 04:14 AM   #1
LQ Newbie
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Rep: Reputation: 15
dns issues - seems to be skipping my dns server...

ok, so my local network seems to be skipping my internal dns server, and going straight for the forwarders...

so i now know the problem lies with my dns server.

my current dns is set up like so...

Set forwarders manually
my isp nameserver ip is in the forwarders list.

System Logging, all other tick boxes checked..
(cant find system log files tho, how do i view these, as its not in the /var/log directory...)

Zones: type: Master OPTIONS:
Enable Zone Transport
ACL: any

No NS Records

No MX Records

Serial: 2007062900
TTL: 2 days
Refresh: 3 Hours
Retry: 1 Hour
Expiration: 1 Week
Minimum: 1 Day

<record key> | <type> | <value>
megatron | A |

so basically what i want, is for my computer to ask my server, hey, do u know the name of this address? if no, then use my isp's nameserver (as dns should work), if it does know the name, the used the cached address(again, how dns should work...)

what i cant understand is why it is ignoring the megatron record....and my dhcp server has this set up as a host, with correct mac address and all...

any help on this would be greatly appreciated...

Old 06-29-2007, 07:20 AM   #2
Registered: Nov 2004
Location: Toronto, Canada
Distribution: Debian, OpenBSD, SuSE, Ubuntu
Posts: 68

Rep: Reputation: 15
You might check that hosts on your network have your local DNS server listed as primary (or only) name server. Look in /etc/resolv.conf to see if DHCP is provding this information.

Also, your hosts should not be contacting the forwarders directly; that is the job of your DNS server. The only DNS server your hosts should know of is the one you have set up. When it can't answer a query from its Authority section, it will get the answer from your ISP and pass it to your hosts. But your hosts should have not ability to bypass the local DNS server. If they can, then that is a configuration problem.

Post your dhcp.conf and resolv.conf if you like.

Also check that bind is configured correctly to use the forwarders. It could be that your DNS server is not forwarding queries properly so the hosts on your network are dropping back to their secondary name server (your ISP) because your DNS server is returning a negative reply. Are there delays in name resolution? This would suggest hosts falling over from one DNS server (yours) to another.

Basically we need some more information...

Old 06-29-2007, 10:39 AM   #3
LQ Newbie
Registered: Nov 2004
Location: Classified
Distribution: redhat 9
Posts: 29

Original Poster
Rep: Reputation: 15
Hi scott2004,

Thanks for your reply.

My /etc/resolv.conf file had my isp nameserver in there, so i changed it to the local ip ( not

I also went through my dhcpd.conf file, and now my clients only have the one nameserver, and that is my local server.

and that seemed to have fixed the problem. Thanks for the help, working like a treat!

Thanks again,

Last edited by freefall235; 06-29-2007 at 10:48 AM.


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
DNS server issues lhrt Linux - Server 1 04-26-2007 11:58 AM
DNS Server: WinXP DNS clients losing name resolution frequently loopy69 Linux - Server 4 03-27-2007 09:21 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
DNS Server having issues... jose_bravo Linux - Networking 7 12-27-2002 03:42 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:07 PM.

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