Re: Which takes priority, ipv4, or ipv6?

2023-04-01 Thread Tim Woodall
On Tue, 28 Mar 2023, Andy Smith wrote: Thirdly, if no special handling is in use then your operating system chooses which address to use. There's an RFC for that, and all of that is configured in /etc/gai.conf on Debian. The default behaviour is to try IPv6 first. The default differs from

Re: Which takes priority, ipv4, or ipv6?

2023-03-28 Thread Andy Smith
On Mon, Mar 27, 2023 at 12:48:13PM +0100, Richmond wrote: > So how is the preference determined? It seems to be determined by the > DNS, but why or how do I tell for example with host -v? I'm not adding anything new here, only pulling together what has already been said in several different

Re: Which takes priority, ipv4, or ipv6?

2023-03-28 Thread davenull
On 2023-03-27 13:48, Richmond wrote: I have configured an ipv6 tunnel. If I visit this site: http://ip6.me/ The "normal" test shows my ipv4 address, and the: http://ip6only.me/ shows the ipv6 address. However if I switch my DNS from opendns to the one provided by my ISP and then run the

Re: Which takes priority, ipv4, or ipv6?

2023-03-27 Thread Michael Stone
On Mon, Mar 27, 2023 at 12:48:13PM +0100, Richmond wrote: I have configured an ipv6 tunnel. If I visit this site: http://ip6.me/ The "normal" test shows my ipv4 address, and the: http://ip6only.me/ shows the ipv6 address. However if I switch my DNS from opendns to the one provided by my ISP

Re: Which takes priority, ipv4, or ipv6?

2023-03-27 Thread Richmond
Vincent Lefevre writes: > On 2023-03-27 12:48:13 +0100, Richmond wrote: >> I have configured an ipv6 tunnel. If I visit this site: >> >> http://ip6.me/ >> >> The "normal" test shows my ipv4 address, and the: >> >> http://ip6only.me/ >> >> shows the ipv6 address. >> >> However if I switch my

Re: Which takes priority, ipv4, or ipv6?

2023-03-27 Thread Jeremy Ardley
On 27/3/23 20:05, Richmond wrote: Jeremy Ardley writes: Both DNS return records. I am not sure why this choice of DNS should make a difference. host -v ip6.me |grep IN 9306IN 2001:4838:0:1b::201 host -v ip6.me

Re: Which takes priority, ipv4, or ipv6?

2023-03-27 Thread Richmond
Jeremy Ardley writes: > On 27/3/23 19:48, Richmond wrote: >> >> So how is the preference determined? It seems to be determined by the >> DNS, but why or how do I tell for example with host -v? > > When you as a DNS about a hostname it can return an A record and/or an > record. > > The A

Re: Which takes priority, ipv4, or ipv6?

2023-03-27 Thread Vincent Lefevre
On 2023-03-27 12:48:13 +0100, Richmond wrote: > I have configured an ipv6 tunnel. If I visit this site: > > http://ip6.me/ > > The "normal" test shows my ipv4 address, and the: > > http://ip6only.me/ > > shows the ipv6 address. > > However if I switch my DNS from opendns to the one provided

Re: Which takes priority, ipv4, or ipv6?

2023-03-27 Thread Jeremy Ardley
On 27/3/23 19:48, Richmond wrote: So how is the preference determined? It seems to be determined by the DNS, but why or how do I tell for example with host -v? When you as a DNS about a hostname it can return an A record and/or an record. The A record is IPv4 and the record is

Which takes priority, ipv4, or ipv6?

2023-03-27 Thread Richmond
I have configured an ipv6 tunnel. If I visit this site: http://ip6.me/ The "normal" test shows my ipv4 address, and the: http://ip6only.me/ shows the ipv6 address. However if I switch my DNS from opendns to the one provided by my ISP and then run the "normal" test it shows the ipv6. The note