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?
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?
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,
–
Camaleón
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.
Check DNS ip’s in > /etc/resolv.conf and make sure it has updated DNS IP’s.
Cheer’s,
Amey.