LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-29-2007, 04:14 AM   #1
freefall235
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...


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

Logging:
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:
osirus.local.net type: Master
osirus.local.net OPTIONS:
--Basics
Enable Zone Transport
ACL: any

No NS Records

No MX Records

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

--Records:
<record key> | <type> | <value>
megatron | A | 192.168.0.5


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...

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

Rep: Reputation: 15
Hey,
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...

Scott
 
Old 06-29-2007, 10:39 AM   #3
freefall235
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 (192.168.0.5 not 127.0.0.1).

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,
Justin

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


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
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


All times are GMT -5. The time now is 07:18 AM.

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