Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • NetworkManager NetworkManager
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 163
    • Issues 163
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 17
    • Merge requests 17
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • NetworkManagerNetworkManager
  • NetworkManagerNetworkManager
  • Issues
  • #20
Closed
Open
Issue created Sep 08, 2018 by Laurent Bigonville@bigon

Always push the DNS server to resolved even if the mode is not systemd-resolved

Hi,

resolved can be used 2 two mode, either using the stub resolver or by using nss-resolved (the later seems recommended)

At the moment the DNS servers are only pushed to resolved if the mode is systemd-resolved, NM only detects if resolved is used by looking whether /etc/resolv.conf is a symlink, that means that for people using nss-systemd the DNS are not set and if the user is connecting to a VPN, resolved could take the wrong DNS server (aka the one outside of the VPN) and things might break or leak

To avoid that, shouldn't the DNS always be pushed to resolved (if it's running) even if the mode is not systemd-resolved?

Edited Sep 08, 2018 by Laurent Bigonville
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking