On 2017-10-05 04:42 AM, Iliana Panagopoulou wrote:
> ls -l /etc/resolvconf/run/resolv.conf
> -rw-r--r-- 1 root root 211 Oct 5 11:38 /etc/resolvconf/run/resolv.conf

I'm surprised this points to /etc and not /run (or /var/run).

> pre tun0.openvpn:
> dhcp-option DNS 4.2.2.1

This is a bogus entry and I don't know how it ended up in there. Did
this occur with the original update-resolv-conf script?

> up resolv.conf:
> # 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 4.2.2.1
> nameserver 192.168.1.1
> up eth0.dhclient:
> nameserver 192.168.1.1
> up tun0.openvpn:
> nameserver 4.2.2.1

This time it's good and /etc/resolv.conf was properly configured.

> down resolv.conf:
> # 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 192.168.1.1
> down eth0.dhclient:
> nameserver 192.168.1.1

And /etc/resolv.conf is properly cleaned up when you "down" the connection.

So other than the weird glitch of "dhcp-option" showing up in
tun0.openvpn, everything looks sane.

Regards,
Simon

Reply via email to