How does one clear dig's DNS cache on Ubuntu?
Solution 1:
dig
has no cache of its own, unless you run some caching daemon locally such as nscd
or dnsmasq
etc. If you do you just need to restart these daemons to clear the local cache, you can use +trace
to see exactly where the results are coming from.