These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Add DNS record via CLI on the new forum.
Hi!
To add a DNS record to a specific domain via CLI I can use this command: modify-dns --domain example.com --add-record "foo.example.com A 123.123.123.123"
But how can I add a DNS record to all domains so that "example.com" is replaced with the correct domain name?
modify-dns --all-domains --add-record "foo A 123.123.123.123" ?
Andy
Hi,
Try the following:
That should work, I don't have a server I can test it on though so let me know if you have any issues. You only need to replace the IP address (123.123.123.123) with what you want.
-Dustin