Endpoint address dns resolution - option to prefer IPv6 or IPv4

Roman Mamedov rm at romanrm.net
Mon Mar 16 06:05:46 CET 2020


On Sat, 14 Mar 2020 15:51:51 +0100
Torsten Krah <krah.tm at gmail.com> wrote:

> resend to the list:
> 
> Hm, sorry I don't get the message. Imho its down to the user. I can
> choose to use ping or ping6 or tell e.g. java via a system property to
> prefer IPv4 if dual stack is available.
> 
> In wireguard I can force ipv6 only by writing an ipv6 address in the
> endpoint, but via dns ... how to choose which one I prefer?

If it is so important to you to force one or the other, then make separate DNS
records for IPv4 and IPv6, server4.example.com, server6.example.com.

-- 
With respect,
Roman


More information about the WireGuard mailing list