LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2012, 01:18 PM   #1
jjern
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Unhappy DNS Cache not Clearing?


Last week I needed to update one of our zone files on the primary DNS server. I restarted dns (./named restart) on the primary and slave DNS servers. It didn't appear that the file had updated on the slave servers. Afer trying various things, I backed up the file and deleted it off all the servers (but I did not change the named.conf file). After restarting DNS on them all again-the file showed back up on all the slaves-and this was the old, un-updated file.

I've tried every command I know about nscd -i hosts, rndc flush-but don't know where to go from here.
Does anyone have clues? I'm fairly new to dns, sysadmin and networking.

We don't appear to be running Squid;we have OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
built on: Tue Mar 3 12:54:01 EST 2009
platform: linux-elf
>>>>>>
Any help would be greatly appreciated.

Thank you-
 
Old 11-18-2012, 04:09 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,165
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Hi,

Did you increase the serial number in the master's zone file after changing it? Use:
Code:
named-checkconf -z
to see the serial of the zone in question.
Also check if the slaves are listed in the NS RRs and if the master sends notifies to slaves.

Regards
 
Old 11-26-2012, 08:54 AM   #3
jjern
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
Hi,

Did you increase the serial number in the master's zone file after changing it? Use:
Code:
named-checkconf -z
to see the serial of the zone in question.
Also check if the slaves are listed in the NS RRs and if the master sends notifies to slaves.

Regards
We had changed the serial numbers. What we found is a problem in the named.conf file. The zone file names are similar and in two entries were pointing to the wrong zone files. For example:
zone "xxx.zzzb.abcde.xxx" IN {
type master;
file "db.xxx.zzza.abcde.xxx";

If you look at the zzzb portion-the statement "file" was telling it to go look at the zzza file.

One error was on the backup DNS server, and one error was on the master DNS server.

Thank you for your help!
 
  


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
Clearing the Cache. surisourabh Programming 2 04-14-2009 05:08 AM
clearing CD cache grayFalcon Programming 1 09-21-2006 04:55 PM
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 12:02 PM
DNS cache clearing n.antonio Linux - Software 0 05-11-2003 08:44 PM
clearing cache waxiem Linux - General 1 03-02-2003 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:26 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