OL5U8 - flush dns cache query
834586Nov 11 2012 — edited Nov 12 2012Hi All,
I'm running OL5U8 on kernel 2.6.32-300.32.2.el5uek. The resolv.conf file points to two Windows 2008 DNS servers. Is there a way to flush the dns cache on OL5U8, something like ipconfig /flushdns in Windows?
What happen was I added a second nic card on a OL5U8 virtual machine and gave it a static ip address ending in .82. Only to find out there was a reverse pointer in the Windows DNS server with that address. So I changed it to .44 but every time I ping the hostname, its resolving to .82 instead of .44.
I've already added A record and reverse pointer for the hostname to the .44 address. The .82 reverse pointer is still there until I can find out from the team here why its there.
But is there a way to flush the dns cache from my other OL5U8 servers so they stop returning .82 when I ping the server? Dnsmasq and nscd are not being used with both services turned off.
I'll rather not restart the network service if I can avoid it.
Thanks.