Le Sun, Nov 17, 2024 at 01:28:57PM +0100, Pierre Dupond a écrit : > Hi All, > I have just installed a OpenBSD 7.6 OS with a dual stack IPv6 and Ipv4. > When trying to access any destination, the IPv4 address is used instead of > IPv6 one > even if the destination is reachable by IPv6 (for instance www.ibm.com). > > More generally, how is it possible to configure the address selection scheme > in OpenBSD? This point is useful to choose between many IP address in a multi > homed > host. > > Thanks for your help, > > Best regards >
Add `family inet6 inet4` to your /etc/resolv.conf to prefer IPv6 addresses.