The node I need to connect to has a variable IP. I've set up a Dynamic DNS service and use the following workaround to connect to it:

./tezos-admin-client connect address $(host myddnsaddress.net | awk '/has address/ { print $4 ; exit }'):9732

Is there a better way to have your node connect to an URL?

1 Answer 1


I don't know anything better than using tezos-admin-client connect, but you could get the address more directly with tezos-client-connect $(dig +short myddnsaddress.net):9732.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.