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

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%


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.

permanent link

answered 18 May '16, 14:52

Jasper's gravatar image

Jasper ♦♦
23.8k551284
accept rate: 18%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×109
×7
×3

question asked: 18 May '16, 11:53

question was seen: 1,490 times

last updated: 18 May '16, 14:52

p​o​w​e​r​e​d by O​S​Q​A