Comment 3 for bug 1778946

Revision history for this message
Ivan Danov (idanov) wrote :

Before start pptp vpn:

$ ls -laF /run/systemd/resolve/stub-resolv.conf
-rw-r--r-- 1 systemd-resolve systemd-resolve 714 jun 30 18:26 /run/systemd/resolve/stub-resolv.conf

After start pptp vpn:

$ ls -laF /run/systemd/resolve/stub-resolv.conf
-rw-r--r-- 1 systemd-resolve systemd-resolve 714 jun 30 18:26 /run/systemd/resolve/stub-resolv.conf

After stop pptp vpn:

$ ls -laF /run/systemd/resolve/stub-resolv.conf
-rw------- 1 root root 714 jun 30 18:26 /run/systemd/resolve/stub-resolv.conf

File /run/systemd/resolve/stub-resolv.conf is readable only for root user.
And DNS is accessible only for root user.

$ ping google.com
ping: google.com: Temporary failure in name resolution
$ sudo ping google.com
PING google.com (172.217.169.110) 56(84) bytes of data.
64 bytes from sof02s31-in-f14.1e100.net (172.217.169.110): icmp_seq=1 ttl=55 time=0.999 ms
..........