Results 1 to 4 of 4

Thread: How to FlushDNS?

  1. #1
    Join Date
    Jul 2008
    Location
    Narvik, Norway
    Posts
    386

    Default How to FlushDNS?

    Hi!
    I have change IP on a Web-server and updated the DNS-server, but my OpenSUSE11.1 doesnt update its own DNS-cache. I have rebooted but it still doesnt read the new IP.

    So how do i flush DNS on OpenSUSE?

  2. #2
    Camalen NNTP User

    Default Re: How to FlushDNS?

    ronnys wrote:

    > I have change IP on a Web-server and updated the DNS-server, but my
    > OpenSUSE11.1 doesnt update its own DNS-cache. I have rebooted but it
    > still doesnt read the new IP.
    >
    > So how do i flush DNS on OpenSUSE?


    Check what ip is showing you with:

    ***
    host -t a domain_to_check.com
    ***

    Are you the one "in command" of dns server and web server? :-)

    If yes, try restarting both services ("rcnamed restart" and "rcapache2
    restart").

    BTW, if you changed the IP of a remote webserver, you have to wait until the
    new ip gets propagated for the whole Internet.

    THT

    Greetings,

    --
    Camalen

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,628
    Blog Entries
    1

    Default Re: How to FlushDNS?

    As Camaleon notes, you may simply be experiencing a propagation issue (caching problem is on the DNS you're pointing to, not your own machine).

    Although it isn't practical if you need to update many, many addresses, you can update a single address by simply pointing your DNS lookup to a known "updated" server(like your Domain's authoritative DNS server) using the utility NSLOOKUP. You simply set your DNS server accordingly, then do a query, then you can either reset your DNS to your previous DNS servers or leave alone(if the server you're pointed to can do recursive queries).

    Offhand, I personally don't know a command comparable to Windows' "ipconfig /flushdns" although one may exist.

  4. #4
    Join Date
    Jun 2009
    Location
    Pune city, India
    Posts
    127

    Default Re: How to FlushDNS?

    Quote Originally Posted by ronnys View Post
    Hi!
    I have change IP on a Web-server and updated the DNS-server, but my OpenSUSE11.1 doesnt update its own DNS-cache. I have rebooted but it still doesnt read the new IP.

    So how do i flush DNS on OpenSUSE?
    Check DNS ip's in > /etc/resolv.conf and make sure it has updated DNS IP's.

    Cheer's,
    Amey.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •