Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-08-2006, 01:02 PM   #1
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?

Old 12-08-2006, 01:21 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
On my slave server I typically delete the files from my chrooted /var/named that look like:

I then restart named.
Old 12-08-2006, 04:39 PM   #3
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


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

All times are GMT -5. The time now is 11:54 AM.

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