talos
talos copied to clipboard
talosctl IPv6 records resolving problem
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"
See https://en.wikipedia.org/wiki/Happy_Eyeballs.