Я только что обновил до 17.04; он сломал мое приложение VPN. Когда я тестировал вещи, я обнаружил, что dig и nslookup не смогли подключиться:
<me@mycomp>:~$ dig google.com
; <<>> DiG 9.10.3-P4-Ubuntu <<>> google.com
;; global options: +cmd
;; connection timed out; no servers could be reached
<me@mycomp>:~$ nslookup google.com
;; connection timed out; no servers could be reached
Однако ping делает
<me@mycomp>:~$ ping google.com
PING google.com (172.217.9.238) 56(84) bytes of data.
64 bytes from lga34s11-in-f14.1e100.net (172.217.9.238): icmp_seq=1 ttl=54 time=21.8 ms
64 bytes from lga34s11-in-f14.1e100.net (172.217.9.238): icmp_seq=2 ttl=54 time=21.9 ms
64 bytes from lga34s11-in-f14.1e100.net (172.217.9.238): icmp_seq=3 ttl=54 time=21.8 ms
64 bytes from lga34s11-in-f14.1e100.net (172.217.9.238): icmp_seq=4 ttl=54 time=21.9 ms
64 bytes from lga34s11-in-f14.1e100.net (172.217.9.238): icmp_seq=5 ttl=54 time=21.9 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 21.850/21.903/21.940/0.190 ms
Вот мой /etc/resolv.conf: [ ! d2] # Generated by NetworkManager
search mit.edu
nameserver 127.0.1.1
Мое понимание - последняя строка, заданная dnsmasq, но это не в моей /etc/NetworkManager/NetworkManager.conf:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
Любая идея, что происходит / как я могу исправить dig и nslookup?
Задача решена: добавлено dns = dnsmasq to /etc/NetworkManager/NetworkManager.conf
Задача решена: добавлено dns = dnsmasq to /etc/NetworkManager/NetworkManager.conf