LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-14-2007, 12:40 PM   #1
HiOctane21
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: OpenBSD, Ubuntu, RedHat, Fedora Core, OpenSuse
Posts: 57

Rep: Reputation: 15
Flush DNS


Hello,

In Windows you can refresh DNS entries of the client with
Code:
ipconfig /flushdns
What would it be for OpenBSD?

Thanks
 
Old 05-15-2007, 07:19 AM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 79
If your using a local DNS cache server, restart that service.
Code:
# kill -HUP `cat /var/run/named.pid`
 
Old 05-15-2007, 11:44 AM   #3
HiOctane21
Member
 
Registered: Feb 2004
Location: SoCal
Distribution: OpenBSD, Ubuntu, RedHat, Fedora Core, OpenSuse
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks but it's working now...
No local DNS. DNS is on a Windows Server. The reason why I wanted to do that was because one website domain name was not able to resolve on my squid proxy. When users are not going through the proxy, they were able to get to that particular website. Noticed that today, the DNS server is using a different authoritative name server and that it cached a host entry also for the website.
 
  


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
how-to flush dns cache PlatinumRik Linux - Networking 6 07-27-2011 02:47 PM
Display and Flush DNS cache click Linux - Networking 7 11-10-2009 01:00 PM
flush() before use... Elric of Grans Programming 1 07-12-2005 07:54 PM
How can i flush iptables?? cranium2004 Linux - Networking 2 01-06-2005 02:08 PM
C flush() question ...... purpleburple Programming 3 11-15-2002 09:27 AM


All times are GMT -5. The time now is 04:18 AM.

Main Menu
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