Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
NetworkManager
NetworkManager
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 12
    • Merge Requests 12
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • NetworkManager
  • NetworkManagerNetworkManager
  • Issues
  • #233

Closed
Open
Opened Aug 18, 2019 by Tore Anderson@toreanderson

Enable EDNS(0) when using local caching resolvers

When NetworkManager is configured up to use a local caching resolver (dns=dnsmasq, dns=systemd-resolved or dns=unbound), EDNS(0) should be enabled by adding options edns0 to the generated /etc/resolv.conf file.

EDNS(0) is not enabled by default by libnss_dns, as some broken DNS server implementations (embedded in home gateways and so on) can have problems with it. However, the local caching resolvers supported by NM are known to have no such issues.

Enabling EDNS(0) has benefits. For example, it allows applications that are interested in knowing whether or not a response is valid according to DNSSEC.

In particular, OpenSSH requires EDNS(0) for verification of SSHFP host key fingerprint records. Without EDNS(0), it will consider any fingerprints found in DNS to be insecure and interactively prompt the user for confirmation (this can be tested with ssh -v -o VerifyHostKeyDNS=yes redpilllinpro01.ring.nlnog.net).

It's worth noting that EDNS(0) is enabled in systemd-resolved's stub resolv.conf files since v240 (commit).

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: NetworkManager/NetworkManager#233