We delete the DB, and then we restart the node after an update to 1.34.1.
We think our node works fine, and the error message are from the blockchain, specially from other nodes. Anybody an idea that’s wrong?
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2a05:d01c:321:2101:0:1:0:3]:3001
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2600:1f1c:d4f:6d02:0:1:0:3]:3001
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2600:1f1c:d4f:6d00:0:1:0:2]:3001
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2a05:d014:e00:a201:0:1:0:3]:3001
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2a05:d014:e00:a202:0:1:0:2]:3001
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2a05:d01c:321:2100:0:1:0:1]:3001
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2a05:d01c:321:2101:0:1:0:1]:3001
2022-04-09 11:14:47 UTC
WDomain: "relays-new.cardano-testnet.iohkdev.io" Unsupported remote target address [2406:da18:99d:9200:0:1:0:2]:3001
Hm, I’m not sure about the node internals but it seems that if the host address is ipv4 it’ll disable ipv6 behind the scene. This needs to be verified in code.
The question is where it got the ipv6 resolved from as your topology has just the FQDN relays-new.cardano-testnet.iohkdev.io.
Try dig relays-new.cardano-testnet.iohkdev.io and see if A records resolve to ipv4 or ipv6 addresses.
Maybe someone else would know more about Ipv6, DNS, cardano-node
You’re right, this is exactly what happens currently. I added a comment in the documentation a year ago about this.
Note : If you want to connect to IPv4 and IPv6 relays, you must either not specify host addresses when starting cardano-node or make sure to specify both an IPv4 and IPv6 host address.
I once made a PR to change this behavior so it would allow outbound IPv6 without specifying a host address, but it was not accepted:
So currently unfortunately this is expected behavior.
IPv6 addresses were recently added to the testnet DNS names. I’m guessing the code does not handle not resolving/connecting to AAAA if only IPv4 is configured.