How do I disable local DNS caching?
To quote my own blog post:
This dnsmasq server isn’t a caching server for security reason to avoid risks related to local cache poisoning and users eavesdropping on other’s DNS queries on a multi-user system.
So there's nothing to disable
Related videos on Youtube
keepitsimpleengineer
Retired from… System Admin (Unix/Linux) Oracle DBA/Developer GUI Application Developer Simulation Engineer·Real-time Hardware in Loop Technical Project Engineering College Instructor (programming) Flight Test Engineer Aerospace Engineer Flight Test Data Analysis …after 45 years. About time! Now I futz around with my six computers, two Windows systems and six Linux systems two archlinux, one Debian and two Ubuntus. Help out friends and post stuff that I have worked through and think might help others. Also dabble in cooking, photography, music and goofing off.
Updated on September 18, 2022Comments
-
keepitsimpleengineer over 1 year
I have a small private LAN with 6 Ubuntu systems. To improve performance and simplify maintenance I implemented a DNS server on my Debian firewall/router (dig shows 0ms on repeat lookups).
Will I be able to disable the new local DNS cache on my Ubuntu systems during or after the release-upgrade?
Reference:
-
keepitsimpleengineer about 12 yearsMy Lenovo S12 (Intel Atom) laptop doesn't use Network Manager (because it doesn't work) and uses WiCd. WiCd doesn't properly configure /etc/resolv.conf with the nameserver address. So will this change break my laptop's netowrk configuration? (See: askubuntu.com/questions/127209/…)
-
keepitsimpleengineer about 12 yearsAnother confusing thing ⋯ wiki.debian.org/HowTo/dnsmasq says "In order to configure dnsmasq to act as cache for the host on which it is running, put "nameserver 127.0.0.1" in /etc/resolv.conf to force local processes to send queries to dnsmasq." What would happen if I set there nameserver XX.XX.XX.XX to my local DNS server?
-
keepitsimpleengineer about 12 yearsWell the good news is 12.04 installed, network manager now works, dnsmasq is being used and not being cached, all is well, thanks.
-
maazza almost 11 yearsthis half-cache just put stackoverflow down for me >_<