This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Dual stack DNS request

0

Let's assume the DNS resolver and the target server both support dual stack configuration. The resolver will then send DNS queries for A and AAAA RRs. As the server supports both, it will replies with the A RR and the AA RR.

So which IP adressing will be used for the connection ? The first one that responses ? Can it be defined/configured ?

asked 18 May '16, 11:53

thierryn's gravatar image

thierryn
219912
accept rate: 0%


One Answer:

2

Depends on the stack and the application. Usually IPv6 has preference, which means the AAAA record is used (if an answer record is returned), otherwise it'll use IPv4 (again, if the answer record is returned). There are applications like web browsers who support "Happy Eyeballs" (RFC 6555), which then tries to use the faster connection by trying to send a SYN to both IPv4 and IPv6.

answered 18 May '16, 14:52

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%