Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #256410

Re: Which takes priority, ipv4, or ipv6?

From Jeremy Ardley <jeremy@ardley.org>
Newsgroups linux.debian.user
Subject Re: Which takes priority, ipv4, or ipv6?
Date 2023-03-27 14:00 +0200
Message-ID <GdTG1-frks-9@gated-at.bofh.it> (permalink)
References <GdTG1-frks-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 
AAAA record.

The A record is IPv4 and the AAAA record is IPv6

When you get both it is then up to your application to choose IPv4 or 
IPv6 for the connection.

If either fails the application will then try the other before finally 
failing.

You need a DNS that can return A and AAAA records, and an application 
that can use either.

I have noticed in my debian LAN that utilities such as ssh prefer IPv6 
and if that is not possible will use IPv4

-- 
Jeremy
(Lists)

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Which takes priority, ipv4, or ipv6? Richmond <dnomhcir@gmx.com> - 2023-03-27 14:00 +0200
  Re: Which takes priority, ipv4, or ipv6? Jeremy Ardley <jeremy@ardley.org> - 2023-03-27 14:00 +0200
    Re: Which takes priority, ipv4, or ipv6? Richmond <dnomhcir@gmx.com> - 2023-03-27 14:20 +0200
      Re: Which takes priority, ipv4, or ipv6? Jeremy Ardley <jeremy@ardley.org> - 2023-03-27 14:20 +0200
  Re: Which takes priority, ipv4, or ipv6? Vincent Lefevre <vincent@vinc17.net> - 2023-03-27 14:10 +0200
    Re: Which takes priority, ipv4, or ipv6? Richmond <dnomhcir@gmx.com> - 2023-03-27 15:30 +0200
  Re: Which takes priority, ipv4, or ipv6? Michael Stone <mstone@debian.org> - 2023-03-27 21:00 +0200
  Re: Which takes priority, ipv4, or ipv6? davenull@tuxfamily.org - 2023-03-28 13:00 +0200
  Re: Which takes priority, ipv4, or ipv6? Andy Smith <andy@strugglers.net> - 2023-03-28 17:40 +0200
    Re: Which takes priority, ipv4, or ipv6? Tim Woodall <debianuser@woodall.me.uk> - 2023-04-02 07:20 +0200

csiph-web