- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to clear the DNS cache
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 09:06 PM
тАО09-11-2006 09:06 PM
And we have an DNS server.
We are doing some tests and we would like
to know if a command or methode exists to
clear the DNS cache on our servers.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 09:26 PM
тАО09-11-2006 09:26 PM
Re: How to clear the DNS cache
rndc flush
see man rndc
Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2006 11:51 PM
тАО09-11-2006 11:51 PM
Re: How to clear the DNS cache
See Geoff Wild's response in this thread:
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=993552
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 12:25 AM
тАО09-12-2006 12:25 AM
Re: How to clear the DNS cache
Indirectly changing the serial number on the zone record should trigger an immediate flush for that zone on all clients.
2006051301 becomes 2006091201 (today's date change 1).
Then restart bind.
Editing the zone records may be rough on named 4.9.7, I hope you are using Bind 8 or 9.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 12:27 AM
тАО09-12-2006 12:27 AM
Re: How to clear the DNS cache
or stop/restart bind
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 12:51 AM
тАО09-12-2006 12:51 AM
Re: How to clear the DNS cache
exist ?
Where can I find the executable ?
[root@orasrv1:]/picnew/export/tp/backup/tp<>>> man mdc
No manual entry for mdc.
[root@orasrv1:]/picnew/export/tp/backup/tp<>>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 12:58 AM
тАО09-12-2006 12:58 AM
Re: How to clear the DNS cache
man 1 rndc
Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 12:58 AM
тАО09-12-2006 12:58 AM
Re: How to clear the DNS cache
/usr/sbin/rndc
R N D C
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 01:03 AM
тАО09-12-2006 01:03 AM
Re: How to clear the DNS cache
I do not have it on any of my machines,
which include a couple of 11.00 also.
[vwbsrv1:/root]# ls -altr /usr/sbin/mdc
/usr/sbin/mdc not found
[vwbsrv1:/root]#
Where can I download this or get this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 01:10 AM
тАО09-12-2006 01:10 AM
Re: How to clear the DNS cache
$ ls -altr /usr/sbin/rndc
lrwxr-xr-x 1 root sys 31 Jan 18 2005 /usr/sbin/rndc -> /usr/contrib/bind/usr/sbin/rndc
Joel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 01:16 AM
тАО09-12-2006 01:16 AM
Re: How to clear the DNS cache
In any case I tried the rdnc too
[vwbsrv1:/root]# ls -altr /usr/sbin/rndc
/usr/sbin/rndc not found
[vwbsrv1:/root]# ls -altr /usr/contrib/bind/usr/sbin/rndc
/usr/contrib/bind/usr/sbin/rndc not found
[vwbsrv1:/root]#
Still no joy.
I wonder why we do not have it.
Did I miss something during the installation years ago ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 01:24 AM
тАО09-12-2006 01:24 AM
Re: How to clear the DNS cache
# swlist -l product | grep -i bind
BINDv920 B.11.11.01.006 BIND 9.2.0 special release upgrade
PHKL_32038 1.0 Psets Enablement, Kernel Binding
PHNE_30068 1.0 Bind 8.1.2 Patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 01:27 AM
тАО09-12-2006 01:27 AM
Re: How to clear the DNS cache
I seem to have nada
[vwbsrv1:/root]# swlist -l product | grep -i bind
[vwbsrv1:/root]# uname -a
HP-UX vwbsrv1 B.11.11 U 9000/871 2001097676 unlimited-user license
[vwbsrv1:/root]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 01:30 AM
тАО09-12-2006 01:30 AM
Re: How to clear the DNS cache
Depending on the versions you have installed, you may or may not have it...
What version of bind is running?
You can use dig (if installed):
dig @yourserver version.bind chaos txt
Or with nslookup:
nslookup -q=txt -class=CHAOS version.bind. yourserver
You could also just run a find command...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 01:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 02:13 AM
тАО09-12-2006 02:13 AM
Re: How to clear the DNS cache
For older verions of BIND,
# /sbin/init.d/named stop
# /sbin/init.d/named start
will flush the cache.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 02:18 AM
тАО09-12-2006 02:18 AM
Re: How to clear the DNS cache
Is /sbin/init.d/named supposed to be running
on each client, or is this only
necessary on the DNS server ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 02:20 AM
тАО09-12-2006 02:20 AM
Re: How to clear the DNS cache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2006 02:41 AM
тАО09-12-2006 02:41 AM
Re: How to clear the DNS cache
where I stand.
The problem is that here we have dns not
on hpux (I wish it was) but on Windows (yeak).
thanks