Open westurner opened 4 months ago
Does dhcpcd need to parse the options or is that for downstream apps like [nmcli,] to implement instead of e.g. json?
dhcpcd-definitions.conf
updated so that the option can be exposed via environment variables.
Then either 20-resolv.conf
or a new hook script can be written to do something with the variables.
Support for RFC9463 DNR: DHCP options 144 and 162 for DoH/DoT/DoQ
RFC9463 "DNR" allows DHCP servers to indicate to clients that there are encrypted DNS resolver settings to use.
"RFC9463: DHCP and Router Advertisement Options for the Discovery of Network-designated Resolvers (DNR)" https://datatracker.ietf.org/doc/html/rfc9463
https://kea.readthedocs.io/en/kea-2.6.0/arm/dhcp6-srv.html#dnr-discovery-of-network-designated-resolvers-options-for-dhcpv6 :
The encoding is similar to DHCPv6 options FWIU:
"Update DNR implementation and docs to be inline with RFC 9463" https://gitlab.isc.org/isc-projects/kea/-/issues/3141 :
I just sent an email to dnsmsq-discuss about this.
Are there already discussions of adding RFC9463 DNR support to [dhcpcd,]?
Does dhcpcd need to parse the options or is that for downstream apps like [nmcli,] to implement instead of e.g. json?