dnsmasq keeps changing nameservers?
I now regularly check and force Google DNS into the /etc/dnsmasq.conf, /run/dnsmasq, /run/resolvconf/, /run/resolvconf/interface/, /etc/resolvconf/resolv.conf.d/, /var/lib/dhcp/ files, etc. Note that
/etc/resolv.conf -> ../run/resolvconf/resolv.conf.
I have checked a lot of posting that claim to control this, but inevitably there are more recent postings debunking those claims.
dnsmasq keeps changing my Google DNS to the Linode nameservers?
I also tried:
:/etc# grep -i dns cron*
:/etc# grep -i dns cron/
:/etc# grep -i dns cron//*
but nothing came up.
Alternatively, manually define nameservers in /etc/network/interfaces, 'auto eth0; iface eth0 inet dynamic' add 'dns-nameservers 18.104.22.168, 22.214.171.124'.
(Alternatively, remove the symlink /etc/resolv.conf, and make a new file)
I just now made a couple of changes:
/etc/dnsmasq.conf (set no-poll)
/etc/default/dnsmasq (set IGNORE_RESOLVCONF=yes and ENABLED=0)
I don't think changing the symlink will help as OpenVPN looks at /run/dnsmasq/resolv.conf , even if /run/resolvconf/resolv.conf is set as I wish.
I'm trying to do gradual minimal changes to not break OpenVPN.
I'll check /var/log/syslog again tomorrow.
::1 - - [23/Jun/2015:18:42:53 -0700] "OPTIONS * HTTP/1.0" 403 0 "-" "Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f (internal dummy connection)"