DNS caching disabled for 12.10...still
Mathieu Trudel-Lapierre
mathieu-tl at ubuntu.com
Mon Oct 8 13:10:46 UTC 2012
On Sun, Oct 7, 2012 at 11:35 PM, Daniel J Blueman <daniel at quora.org> wrote:
[...]
> Good tip on the workaround, Mathieu. Looks like this doesn't work in
> Ubuntu 12.10 pre-release here:
>
> # echo cache-size=400 >/etc/NetworkManager/dnsmasq.d/cache
> <reboot>
> $ ps -ef | grep dnsmasq
> nobody 2057 1128 0 11:29 ? 00:00:00 /usr/sbin/dnsmasq
> --no-resolv --keep-in-foreground --no-hosts --bind-interfaces
> --pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid
> --listen-address=127.0.1.1 --conf-file=/var/run/nm-dns-dnsmasq.conf
> --cache-size=0 --proxy-dnssec
> --enable-dbus=org.freedesktop.NetworkManager.dnsmasq
> --conf-dir=/etc/NetworkManager/dnsmasq.d
>
You can't see it on the command-line. Things are evaluated in order;
command-line parameters first, up to the --conf-dir parameter, and
then the files in that directory will be looked at and configuration
taken into account. However, it won't change the actual command-line
for the application, since it's indeed how it was started.
To see the result, you'll want to kill dnsmasq with the SIGUSR1 signal
-- this will force it to write out statistics to syslog. This is also
the way to list the nameservers used by dnsmasq.
Regards,
Mathieu Trudel-Lapierre <mathieu-tl at ubuntu.com>
Freenode: cyphermox, Jabber: mathieu.tl at gmail.com
4096R/EE018C93 1967 8F7D 03A1 8F38 732E FF82 C126 33E1 EE01 8C93
More information about the Ubuntu-devel-discuss
mailing list