What is the role of --pool-relay-ipv4 in the stake pool certificate

As the name suggests this would be the IP4 address for the relay. Is it really so that the stake pool certificate must be associated with a specific IP?

Could this for example also be a DNS entry like: relay01.astorpool.org

Does this have to be aligned with the IP or DNS entry that the topology updater publishes?

It can be DNS entry, as it is easier to manage additions or swapping of machines behind the DNS, without having to send a new certificate with fixed relays IP.

1 Like

do you mean for this command?

cardano-cli shelley stake-pool registration-certificate --cold-verification-key-file cold.vkey --vrf-verification-key-file vrf.vkey --pool-pledge YourPledgeInLovelaces --pool-cost YourFixedCostInLovelaces --pool-margin YourPoolMarginInPercentage --pool-reward-account-verification-key-file stake.vkey --pool-owner-stake-verification-key-file stake.vkey --mainnet --pool-relay-ipv4 TheIPaddressOfYourRelayNode --pool-relay-port 3000 --metadata-url TheURLYouShortened --metadata-hash TheHashOfYourPoolMetadataFile --out-file pool-registration.cert

yes that can be an IP or DNS name


1 Like

check also this ticket :slight_smile:

he used the following:
–single-host-pool-relay example.domain.com
–pool-relay-port xxxx \

Lovely, thanks.

… one more …

There is also --multiple-host-pool-relay

Is that to be used when I have …

Comma separated, perhaps?

if you need 2 relays, dont forget to have 2 entries :
–single-host-pool-relay example01.domain.com
–pool-relay-port xxxx
–single-host-pool-relay [example02.domain.com
–pool-relay-port xxxx \