AutoDNS (InterNetX)
AutoDNS API credentials setup: create a dedicated AutoDNS user with the zone and domain ACLs needed to preview DNS, update records, and run registrar cutovers.
On this page
AutoDNS API credentials permissions
- Credential type
- API user credentials
- Preview access
- ZoneList, ZoneInfo, and DomainList/DomainInfo (0105)
- Apply access
- ZoneUpdate, optional ZoneCreate, DomainUpdate (0102), domain DNSSEC update (0102007), and JobInfo (300114)
- API endpoint
- DNSMigrator uses the provider's fixed API endpoint.
Additional access
DNSControl id
{
"TYPE": "AUTODNS"
}Create credentials
Create a dedicated AutoDNS user with the zone and domain ACLs needed to preview DNS, update records, and run registrar cutovers.
Access you'll grant
ZoneList, ZoneInfo, and DomainList/DomainInfo (0105)
ZoneUpdate, optional ZoneCreate, DomainUpdate (0102), domain DNSSEC update (0102007), and JobInfo (300114)
Before you start
- An AutoDNS account whose administrator can create users and assign ACLs.
- The original base32 shared secret if two-factor authentication is enabled for the API user.
Setup steps
0 of 6 done
Open user management
Sign in to AutoDNS and open User management. Create a separate API user instead of sharing an administrator login.
Create a restricted API user
Choose a recognizable username and a unique password. Limit the user to the zones and registered domains DNSMigrator should manage.
Assign the API tasks
For previews, allow the zone and domain list/info tasks. For apply and cutover, add the update tasks below; add ZoneCreate only if DNSMigrator should create missing zones.
PreviewZoneList, ZoneInfo, DomainList/DomainInfo (0105)ApplyZoneUpdate, DomainUpdate (0102), DNSSEC update (0102007), JobInfo (300114)Record the context
Use context
1for an AutoDNS demo account. Live accounts use context4or their PersonalAutoDNS context number. Paste that number into Context.Common live context4Save the 2FA shared secret
If this API user has two-factor authentication, paste the base32 secret shown when 2FA was enrolled into 2FA shared secret. Do not enter the rotating six-digit code. Leave the field empty when the user has no 2FA.
Enter the connection values
Paste the API username into API user, its password into Password, and the numeric context into Context. Turn on Include sub-user zones only when this is a parent user that should see child accounts.
Troubleshooting
AutoDNS rejects the username, password, context, or 2FA token
Check all four values together. A live PersonalAutoDNS account may need its own context number rather than 4, and the 2FA field needs the enrollment secret rather than a current code.
Access is forbidden after authentication succeeds
The user is missing an ACL for the API task being called. Add the matching list/info task for preview or update/job task for apply.
Sub-user zones or domains are absent
Use a parent user with permission to see child accounts, then turn on Include sub-user zones.
Check access succeeds but a cutover fails
Check access only lists objects. Confirm DomainUpdate, DNSSEC update, and JobInfo are assigned before retrying the write.
Official documentation
Guide checked against the official documentation on .
Credential fields
| Field | Requirement | Where to find it |
|---|---|---|
| API userusername | Required | The dedicated AutoDNS API user's login name, exactly as created in User management. |
| Passwordpassword | Required | The password belonging to that API user. |
| Contextcontext | Required | The numeric API context: 1 for the demo system, or 4/the PersonalAutoDNS context number for the live system. |
| 2FA shared secrettotpSecret | Optional | Optional base32 shared secret displayed when 2FA was enrolled. This is not the current six-digit TOTP code. |
| Include sub-user zonesincludeSubUsers | Optional | Optional. Turn on only for a parent or administrator user when zones and domains owned by sub-users must be included. |
Capabilities
- Create zones
- Yes
- List zones
- Yes
- DNSSEC
- Managed through the API
- Minimum TTL
- 60 seconds
- Apex CNAME
- No
- Read only
- No
Record types
- A
- AAAA
- CNAME
- MX
- TXT
- NS
- SRV
- CAA
- PTR
- ALIAS
Caveats
- AutoDNS replaces the whole zone on each update, so we read, merge and write the full record list.
- Legacy zones with a "main" IP (and automatic www record) are converted into normal A records on the first write.
- TXT values lose interior double quotes, unpaired backslashes and leading or trailing spaces.
Troubleshooting
- AutoDNS rejects the username, password, context, or 2FA token
- Check all four values together. A live PersonalAutoDNS account may need its own context number rather than 4, and the 2FA field needs the enrollment secret rather than a current code.
- Access is forbidden after authentication succeeds
- The user is missing an ACL for the API task being called. Add the matching list/info task for preview or update/job task for apply.
- Sub-user zones or domains are absent
- Use a parent user with permission to see child accounts, then turn on Include sub-user zones.
- Check access succeeds but a cutover fails
- Check access only lists objects. Confirm DomainUpdate, DNSSEC update, and JobInfo are assigned before retrying the write.