Mobile app version of vmapp.org
Login or Join
Fox8124981

: How to manage DNS for service that runs on both IPV4 and IPV6? I have a web server that accepts IPv6 and IPv4 connections, and I would prefer that IPV6 be the default. However I am at a

@Fox8124981

Posted in: #Dns #Ipv6

I have a web server that accepts IPv6 and IPv4 connections, and I would prefer that IPV6 be the default. However I am at a loss for how to correctly handle setting up the DNS for this.

Is the solution to simply make identical A and AAAA records for each domain/subdomain? I.E.:

x.mysite.com. 1800 IN A 192.xxx.xxx.xxx

x.mysite.com. 1800 IN AAAA 2604:xxxx:0:xxxx::xxxx:xxxx

Or should I be using SRV records? Something else?
I have googled and googled but cannot seem to figure out the answer to this, and it seems to be something that would be fairly common.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

1 Comments

Sorted by latest first Latest Oldest Best

 

@Yeniel560

The correct solution is indeed to just provide an A and an AAAA record for the hostname. IPv6 is preferred by clients by default, usually with a Happy Eyeballs implementation. The client device chooses the protocol. You cannot influence that, only provide both addresses.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme