enaess / network-manager-sstp

Secure Socket Tunneling Protocol Extention for Network Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNS in always got Override in /etc/resolv.conf when set Set DHCP Options to address only

ihipop opened this issue · comments

Have Set DHCP Options to address only in nm-connection-editor
But the /etc/resolv.conf still got Override with the contents of /etc/ppp/resolv.conf


image

apt policy *sstp*
sstp-client:
  Installed: 1.0.12-0ubuntu1
  Candidate: 1.0.12-0ubuntu1
  Version table:
 *** 1.0.12-0ubuntu1 100
        100 /var/lib/dpkg/status
network-manager-sstp:
  Installed: 1.2.6-0ubuntu0
  Candidate: 1.2.6-0ubuntu0
  Version table:
 *** 1.2.6-0ubuntu0 100
        100 /var/lib/dpkg/status
libsstp-api-0:
  Installed: 1.0.12-0ubuntu1
  Candidate: 1.0.12-0ubuntu1
  Version table:
 *** 1.0.12-0ubuntu1 100
        100 /var/lib/dpkg/status
network-manager-sstp-gnome:
  Installed: 1.2.6-0ubuntu0
  Candidate: 1.2.6-0ubuntu0
  Version table:
 *** 1.2.6-0ubuntu0 100
        100 /var/lib/dpkg/status

The pppd script in ip-up.d only write /etc/resolv.conf when usepeerdns pppd option is being used
So it‘s must an network-manager-sstp issue to have usepeerdns to true while DHCP Options has been set to address only in nm-connection-editor
image

image