I am trying to establish a Stakepool with Kubernetes.
Now i faced an issue with the peer nodes.
If i have configure “addr” attribute in the topology.json file with a dns Address i get a warning like this:
[testnet-:cardano.node.DnsSubscription:Warning:54] [2021-05-26 15:22:42.12 UTC] Domain: "relay02.orkastaker.com" Failed to start all required subscriptions
[testnet-:cardano.node.DnsSubscription:Warning:60] [2021-05-26 15:22:42.15 UTC] Domain: "tn.adastack.net" Failed to start all required subscriptions
[testnet-:cardano.node.DnsSubscription:Warning:57] [2021-05-26 15:22:42.15 UTC] Domain: "topo-test-bp.topopool.com" Failed to start all required subscriptions
[testnet-:cardano.node.DnsSubscription:Warning:63] [2021-05-26 15:22:42.15 UTC] Domain: "testnet-seeland-stakepool-producing" Failed to start all required subscriptions
I also tried it with the official iohk node relays-new.cardano-testnet.iohkdev.io
with the same result.
Strangely it works if i give the ip address in the topology.json file.
First i was thinking about an issue with Kubernetes but if i use telnet from within an ubuntu pod it is able to connect to the address sucessfully:
root@ubuntu:/# telnet relays-new.cardano-testnet.iohkdev.io 3001
Trying 18.132.238.21...
Connected to relays-new.cardano-testnet.iohkdev.io.
I build the Cardano Node inside a Docker Container with Version 1.27.0. is there something special i need to consider when using a dns address?
The topology.json file for the relay node looks like this:
{
"Producers": [
{
"addr": "relay02.orkastaker.com",
"port": 6000,
"valency": 1
},
{
"addr": "topo-test-bp.topopool.com",
"port": 3001,
"valency": 1
},
{
"addr": "tn.adastack.net",
"port": 3001,
"valency": 1
},
{
"addr": "18.132.238.21",
"port": 3001,
"valency": 1
},
{
"addr": "testnet-seeland-stakepool-producing",
"port": 3000,
"valency": 1
}
]
}
While testnet-seeland-stakepool-producing
is the kubernetes service name for the block producing node.