talos icon indicating copy to clipboard operation
talos copied to clipboard

talosctl IPv6 records resolving problem

Open maxpain opened this issue 1 year ago • 1 comments

I have A and AAAA records for my server. At this moment, my server is reachable only using an IPv6 address.

talosctl should try IPv6 address first, then IPv4, if IPv6 is unreachable. But instead of this, talosctl load balances queries across A and AAAA records, which is wrong behaviour:

maxpain@Maxs-MacBook-Pro talos % talosctl --nodes myserver.example.com --endpoints myserver.example.com disks --insecure
error getting disks: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 5.188.238.235:50000: i/o timeout"

maxpain@Maxs-MacBook-Pro talos % talosctl --nodes myserver.example.com --endpoints myserver.example.com disks --insecure
DEV        MODEL   SERIAL   TYPE   UUID   WWID   MODALIAS                    NAME   SIZE     BUS_PATH                            SUBSYSTEM          READ_ONLY   SYSTEM_DISK
/dev/vda   -       -        HDD    -      -      virtio:d00000002v00001AF4   -      215 GB   /pci0000:00/0000:00:04.0/virtio1/   /sys/class/block    
           
maxpain@Maxs-MacBook-Pro talos % talosctl --nodes myserver.example.com --endpoints myserver.example.com disks --insecure
error getting disks: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 5.188.238.235:50000: i/o timeout"

maxpain avatar Mar 06 '24 12:03 maxpain

See https://en.wikipedia.org/wiki/Happy_Eyeballs.

sanmai-NL avatar Mar 27 '24 10:03 sanmai-NL