enaess / network-manager-sstp

Secure Socket Tunneling Protocol Extention for Network Manager
1 stars 0 forks source link

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

Closed ihipop closed 5 years ago

ihipop commented 5 years ago

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
ihipop commented 5 years ago

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