Il mio /etc/resolv.conf è simile al seguente:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
# OpenDNS Fallback (configured by Linux Mint in /etc/resolvconf/resolv.conf.d/tail).
nameserver 208.67.222.222
nameserver 208.67.220.220
Quando uso nslookup, mi sembra di usare 127.0.1.1:
moose@pc08 ~ $ nslookup www.google.com
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: www.google.com
Address: 173.194.44.17
Name: www.google.com
Address: 173.194.44.16
Name: www.google.com
Address: 173.194.44.19
Name: www.google.com
Address: 173.194.44.18
Name: www.google.com
Address: 173.194.44.20
Ma quando faccio clic con il tasto destro del mouse su Network Manager e faccio clic su "Informazioni sulla connessione", ottengo:
whois 217.0.43.129
rivela che questo appartiene a Deutsche Telekom AG, il mio ISP.
Perché il gestore della rete mostra queste informazioni? Quale server DNS sto attualmente utilizzando?
dnsmasq
Sì, mi sembra di eseguire dnsmasq:
moose@pc08 ~ $ ps aux | grep dnsmasq
nobody 1479 0.0 0.0 5468 1404 ? S 14:16 0: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