DNS pin does not create missing ipv6 section, leaking auto DNS on v6 #32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found: full codebase audit 2026-10-15, by reading src/nm.rs enforce_dns and apply_dns.
Confidence: medium (depends on profiles lacking an ipv6 section).
Location: src/nm.rs:856-860.
ipv4 uses entry().or_default() but ipv6 only applies if the section already exists. On profiles without ipv6, the pin sets ignore-auto-dns on v4 only and v6 keeps DHCP DNS around the pin.
Suggested fix: create the ipv6 section the same way as ipv4.