New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd-networkd: parse DHCP option 119 (Domain Search List) #2710
Comments
this impacts me too. In GCE google's DHCP provides multiple search domains and google.internal is one of them and many tools try to access just "metadata" instead of "metadata.google.internal". |
For reference, the only slightly funky thing about implementing DHCP's Domain Search List is that it uses DNS style name compression. The equivalent option in DHCPv6 has already been implemented back in #924 and I'll bet |
Is there any progress on this issue? this impacts us too. We need to specify more than one domain for the dhcp clients. |
Echoing what @thetuxkeeper asked. Is this on the roadmap? |
Was recently effected by the lack of option 119. Could we get a comment on if this is being planned for any future release? |
Well, adding this is definitely on the roadmap, but to actually happen it would need somebody work on it. If you want it to happen quickly best would be to contribute a patch! |
This adds a modified version of dhcp6_option_parse_domainname() that is able to parse compressed domain names, borrowing the idea from dns_packet_read_name(). It also adds pieces in networkd-link and networkd-manager to properly save/load the added option field. This resolves systemd#2710.
@poettering I sorted out a patch, #5932. Anybody you have in mind could be a good reviewer? |
This adds a modified version of dhcp6_option_parse_domainname() that is able to parse compressed domain names, borrowing the idea from dns_packet_read_name(). It also adds pieces in networkd-link and networkd-manager to properly save/load the added option field. This resolves systemd#2710.
This adds a modified version of dhcp6_option_parse_domainname() that is able to parse compressed domain names, borrowing the idea from dns_packet_read_name(). It also adds pieces in networkd-link and networkd-manager to properly save/load the added option field. This resolves systemd#2710.
This adds a modified version of dhcp6_option_parse_domainname() that is able to parse compressed domain names, borrowing the idea from dns_packet_read_name(). It also adds pieces in networkd-link and networkd-manager to properly save/load the added option field. Resolves #2710.
Submission type
Request for enhancement (RFE)
systemd version the issue has been seen with
Used distribution
Description
Currently systemd-networkd looks into DHCP option 15 (DNS domain suffix) to put into its domain list used for searching. Since I'd like to have 2 domains in the list, I need it to also parse option 119 (Domain Search List) when
UseDomains=yes
is set.The text was updated successfully, but these errors were encountered: