Posted by nkbee on

Hi Voice users,

I have just recently updated DNS for the site I've been helping a group set up on Voice to use a custom domain, and I had some questions out of curiosity.

What I did for the cutover wa:

1. Set the new domain name in the Voice '/admin/site-domain/' page, which shows "Wrong IP Address - check domain settings" as expected

2. Switch the DNS back to use GoDaddy (the registrar) from a thirdparty DNS service

3. Set the A record at the root of the domain to the Voice static IP address, adding a 600 second TTL for it (10 minutes)

4. Wait...

5. Realise the instructions mention specifically adding a record for `www` instead of or as well as the root of the domain, add one for as well

6. Wait...

Currently, querying my own default DNS with dig or querying specific nameservers like @1.1.1.1 and @8.8.8.8 report the Voice IP address for both the domain root and `www`, but the checks in Voice still say "Wrong IP Address - check domain settings".

I imagine this will sort itself out with time, but I am wondering if:

* Voice is specifically checking for A records for "www" or if an A record at the domain root is sufficient suffice

* It's better to set the new domain name within the site admin settings *before* creating the new record or after - I wonder if setting it in advance caused it to cache the old result with an abnormally long TTL

It does not really matter much for us, there are very few visitors for the website so a bit of downtime doesn't do any harm... but I am a little curious about the details of this DNS configuration and whether is a specific order of operations that would make the changeover smoother.