dns_msg_parse_reply() fails for response from DNS64 service #20355
Labels
Area: network
Area: Networking
Type: bug
The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
TREX provides a public DNS64+NAT64 service that allows to reach IPv4 only hosts from an IPv6 only network.
The responses from this nameserver do confuse
dns_msg_parse_reply()
though.It will fail in different places on subsequent requests which hints to a message parsing bug.
Steps to reproduce the issue
Configure the DNS64 nameserver and enable
sock_dns
:You can either run this on a board with a direct internet connection or on
native
if your host is connected to an IPv6 network. In his case, run(in this case
enp0s25
is the uplink ethernet interface)Expected results
We can resolve any IPv4 only hostname.
Actual results
The response from
global.azure-devices-provisioning.net
can't be parsedWhile others work fine
dns.pcapng.gz
Versions
RIOT master, discovered in #20223
The text was updated successfully, but these errors were encountered: