Requesting A and AAAA records in single DNS query

后端 未结 3 2005
清歌不尽
清歌不尽 2021-02-01 03:06

I\'m working on a DNS query implementation in C and interested in requesting both A and AAAA (IPv4 and IPv6) records in a single query packet, but I\'m not getting any responses

3条回答
  •  别那么骄傲
    2021-02-01 03:22

    A and AAAA queries can be compined in a single packet, so my guess is that your packet is still malformed in some way, especially considering that queries do not use offsets into each others data. I would really help if you could show your actual code, or at least the raw bytes that you are sending.

提交回复
热议问题