Update a DNS record automatically with dynamic DNS
Does the IP address at home or at the office change now and then? With dynamic DNS an A record follows the new address by itself, when your router or a computer calls a link.
Before you start
- The name needs an A record, for example for
home.yourdomain.com. Create it with any IPv4 address. Add a DNS record - The link changes the record without logging in. Don’t share it, and don’t put it in code that others can see.
How to set up dynamic DNS
- 1
Log in to the client area and click Manage next to the domain.
The domain’s page opens.
- 2
Open the DNS tab.
- 3
Click Copy link next to the name, in the Dynamic DNS card.
There is one link per A record.
- 4
Add the link to your router’s dynamic DNS setting, or have a computer on the network call it regularly.
Codecurl -4 -s "https://…"
Routers often call the field Custom URL. On a computer, use the command.
Replace
https://…with the whole link and keep the quotes, or the link breaks.
How to know it worked
Done
The call answers "success":true, and the Dynamic DNS card shows the new address next to the name.
Waiting time
The record gets a 5-minute TTL, so the new address is live within a few minutes.
If something doesn’t work
The Dynamic DNS card isn’t there
Why: The domain doesn’t use Inleed’s nameservers.
What to do: Switch to Inleed’s nameservers, or use dynamic DNS at your DNS provider.
Change the nameservers for your domainThe name is missing from the card
Why: Only A records are shown, and not names that go through the CDN.
What to do: Add an A record for the name. A name with CDN can’t be updated this way. What are Global DNS, CDN and web protection?
The record got the wrong address
Why: The call came from another network, or went over IPv6.
What to do: Call the link from a device on the network whose address should be used, with curl -4.
The call answers with error 401
Why: The link was cut off, or the record has been renamed or deleted.
What to do: Copy the link again from the card.
Good to know
- If the address hasn’t changed, the call does nothing, so it’s fine to call it often. Every 5 minutes is enough.
- The link can’t be replaced. If it has fallen into the wrong hands, contact support.
Related guides
Need more help?
Email [email protected] or call 08-519 70 666. Say which domain it concerns.