LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-08-2006, 02:02 PM   #1
zok
Member
 
Registered: Sep 2006
Posts: 42

Rep: Reputation: 15
DNS - Deleting Cached Records (Bind 9)


Does anyone know how to remove cached records from a nameserver running bind 9?

Thanks,
Jason
 
Old 12-08-2006, 02:21 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,028
Blog Entries: 5

Rep: Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791Reputation: 791
On my slave server I typically delete the files from my chrooted /var/named that look like:
db-XXgmSfew
db-XXIU7IYV
db-XXxvPWNl

I then restart named.
 
Old 12-08-2006, 05:39 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
sudo rndc flush
 
  


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 - Bind 9 on SUSE 9 loses zone records on startup dula Linux - Server 1 12-03-2006 11:15 PM
DNS A records BIND SUSE 10 metallica1973 Linux - Networking 6 09-18-2006 04:28 PM
A records not showing up with Bind sks5530 Linux - Networking 2 06-01-2006 07:03 AM
DNS caching-only: where is the data cached? calutateo Linux - Networking 4 12-06-2005 08:48 AM
Bash - Deleting duplicate records Wire323 Programming 5 12-04-2005 09:51 AM


All times are GMT -5. The time now is 09:48 AM.

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