You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
when domain search list with non LDH characters provided, some DHCP client implementations use \-escape decimal sequences and put the escaped domains into /etc/resolv.conf:
Describe the bug
/etc/resolv.conf
with non-LDH escape sequence causes parse error.To Reproduce
\
-escape sequence to/etc/resolv.conf
hickory-resolver
crate as the resolver/etc/resolv.conf
Simplest example:
add
space\032space.com
into domain search list, thenwill fail with this error:
Expected behavior
resolv.conf
as vaild fileexpected result of the example above:
System:
1.
Version:
Crate: hickory-resolver
Version: 0.24.1
Additional context
when domain search list with non LDH characters provided, some DHCP client implementations use
\
-escape decimal sequences and put the escaped domains into/etc/resolv.conf
:This behavior corresponds with non-LDH escape defined in Section 2.1 of RFC 4343.
Strangely, ISC-DHCP use C-style octal escape sequence:
hickory-dns/hickory-dns#330 seems following ISC-DHCP.
The text was updated successfully, but these errors were encountered: