ping -c4 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3050ms
~$ tracepath 8.8.8.8
1?: [LOCALHOST] pmtu 1500
1: no reply
30: no reply
Too many hops: pmtu 1500
Resume: pmtu 1500
~$ tracepath launchpad.net
1?: [LOCALHOST] pmtu 1500
1: no reply
30: no reply
Too many hops: pmtu 1500
Resume: pmtu 1500
Вижу ссылку с resolv.conf на ../run/resolvconf/resolv.conf
сделал её бакуп и создал ссылку на dnsmasq
ln -s ../run/dnsmasq/resolv.conf resolv.conf
nameserver 127.0.0.1 периписался на nameserver 127.0.0.53 — доступа в интернет нет
переписал в ручную на 127.0.0.1: доступ есть, но 50% от systemd-resolved
sudo systemctl status systemd-resolved
systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/systemd-resolved.service.d
└─resolvconf.conf
Active: active (running) since Tue 2017-04-18 10:33:42 MSK; 16min ago
Docs: man:systemd-resolved.service(8)
http://www.freedesktop.org/wiki/Software/systemd/resolved
http://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
http://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Main PID: 3536 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 4915)
CGroup: /system.slice/systemd-resolved.service
└─3536 /lib/systemd/systemd-resolved
апр 18 10:47:13 ff-desktop systemd-resolved[3536]: Using degraded feature set (TCP) for DNS server 127.0.0.1.
апр 18 10:47:20 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 8.8.8.8.
апр 18 10:47:20 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 8.8.4.4.
апр 18 10:47:25 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 2001:4860:4860::8888.
апр 18 10:47:25 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 2001:4860:4860::8844.
апр 18 10:47:34 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 8.8.8.8.
апр 18 10:47:39 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 8.8.4.4.
апр 18 10:47:39 ff-desktop systemd-resolved[3536]: Using degraded feature set (UDP) for DNS server 8.8.4.4.
апр 18 10:47:39 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 2001:4860:4860::8888.
апр 18 10:47:44 ff-desktop systemd-resolved[3536]: Switching to fallback DNS server 2001:4860:4860::8844.
~
~
~
~
lines 1-25/25 (END)
dnsmasq до
sudo systemctl status dnsmasq
dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
Active: active (running) since Tue 2017-04-18 10:47:27 MSK; 1min 13s ago
Process: 4736 ExecStop=/etc/init.d/dnsmasq systemd-stop-resolvconf (code=exite
Process: 4787 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code
Process: 4778 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=
Process: 4775 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUC
Main PID: 4786 (dnsmasq)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/dnsmasq.service
└─4786 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
апр 18 10:47:27 ff-desktop dnsmasq[4786]: using nameserver 8.8.4.4#53
апр 18 10:47:27 ff-desktop dnsmasq[4786]: using nameserver 8.8.8.8#53
апр 18 10:47:27 ff-desktop dnsmasq[4786]: no servers found in /run/dnsmasq/resol
апр 18 10:47:27 ff-desktop dnsmasq[4786]: чтение /etc/hosts - 7 адресов
апр 18 10:47:27 ff-desktop dnsmasq[4786]: reading /run/dnsmasq/resolv.conf
апр 18 10:47:27 ff-desktop dnsmasq[4786]: using nameserver 8.8.4.4#53
апр 18 10:47:27 ff-desktop dnsmasq[4786]: using nameserver 8.8.8.8#53
апр 18 10:47:27 ff-desktop dnsmasq[4786]: using nameserver 127.0.0.53#53
апр 18 10:47:27 ff-desktop dnsmasq[4787]: /etc/resolvconf/update.d/libc: Warning
апр 18 10:47:27 ff-desktop systemd[1]: Started dnsmasq - A lightweight DHCP and
lines 1-22/22 (END)
и после
~$ sudo systemctl status dnsmasq
[sudo] пароль для ee:
dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
Active: active (running) since Tue 2017-04-18 10:47:27 MSK; 10min ago
Main PID: 4786 (dnsmasq)
CGroup: /system.slice/dnsmasq.service
├─4786 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
├─5487 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
├─5488 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
├─5489 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
├─5490 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
├─5491 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
└─5492 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -r /r
апр 18 10:56:47 ff-desktop dnsmasq[4786]: using nameserver 8.8.8.8#53
апр 18 10:56:47 ff-desktop dnsmasq[4786]: ignoring nameserver 127.0.0.1 - local
апр 18 10:56:47 ff-desktop dnsmasq[4786]: reading /run/dnsmasq/resolv.conf
апр 18 10:56:47 ff-desktop dnsmasq[4786]: using nameserver 8.8.4.4#53
апр 18 10:56:47 ff-desktop dnsmasq[4786]: using nameserver 8.8.8.8#53
апр 18 10:56:47 ff-desktop dnsmasq[4786]: using nameserver 127.0.0.53#53
апр 18 10:56:47 ff-desktop dnsmasq[4786]: reading /run/dnsmasq/resolv.conf
апр 18 10:56:47 ff-desktop dnsmasq[4786]: using nameserver 8.8.4.4#53
апр 18 10:56:47 ff-desktop dnsmasq[4786]: using nameserver 8.8.8.8#53
апр 18 10:56:47 ff-desktop dnsmasq[4786]: using nameserver 127.0.0.53#53
hosts
127.0.0.1 localhost
127.0.1.1 ff-desktop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
На всякий случай попробовал прописать днс провайдера вместо гоогл
sudo pluma /etc/dnsmasq.conf
до
server=8.8.8.8
server=8.8.4.4
после
server=62.112.113.170
server=62.112.106.130
результата нет, вернул всё как было (server=8.8.8.8 и server=8.8.4.4 в две пустые, не закомментированые строчки dnsmasq.conf)