Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Flush cache only for one domain

6,879 views
Skip to first unread message

ram

unread,
Aug 1, 2008, 3:52:39 AM8/1/08
to
I sometimes have issues where some domains remain unresolvable ( their
NS is down ) for sometime and then my caching bind server just caches
the result even after the problem is solved

Until I restart named, bind gives no DNS records. ( or until cache
times out )


Is there a way I tell bind named for just 1 domain requery the DNS
records and dont resolve from cache


Thanks
Ram


Ben Croswell

unread,
Aug 1, 2008, 9:19:01 AM8/1/08
to
If you have 9.3 or greater you can use rndc to flush the cache for a single
domain.
From DNS and Bind:

BIND 9.3.0 will support flushing all of the records attached to a particular
domain name with rndc flushname. For example:

# rndc flushname cnn.com


--
-Ben Croswell

Chris Thompson

unread,
Aug 1, 2008, 9:23:23 AM8/1/08
to
On Aug 1 2008, ram wrote:

>I sometimes have issues where some domains remain unresolvable ( their
>NS is down ) for sometime and then my caching bind server just caches
>the result even after the problem is solved
>
>Until I restart named, bind gives no DNS records. ( or until cache
>times out )
>
>Is there a way I tell bind named for just 1 domain requery the DNS
>records and dont resolve from cache

Use "rndc flushname [name]", available from BIND 9.3 onwards.

--
Chris Thompson
Email: ce...@cam.ac.uk

0 new messages