Closed Zeg0 closed 8 months ago
@Zeg0 With AutoDNS you register domains under TLDs offered by InterNetX. Such names are domain.de or domain.eu. I assume that you want to create subdomains within your registered domains . Do you use the InterNetX name service? If so, you can manages your zones via the API. Via /zone/ route. The API documentation will help you here. If you have any further questions i recommend you to share your questions with the support team of InterNetX.
Close this issue.
Internetx support gave me this example to PATCH an existing domain i own, to create or remove additional CNAME (or other) entries in the zonefile of my domain to essentially manage my subdomains:
PATCH /zone/example-domain.com/a.ns14.net
(with the login token as previously)
BODY
#########
{
"resourceRecordsRem": [
{
"name": "custom_entry_name_to_be_deleted",
"type": "CNAME",
"value": "external.example-domain.com."
}
],
"resourceRecordsAdd": [
{
"name": "custom_entry_name_to_be_added",
"type": "CNAME",
"ttl": 86400,
"value": "www.example-domain.com."
}
]
}
#########
Hope this might help someone
Hi,
I try to create and register some new domains via the domainrobot API endpoint
/domain
.Firstly i already own a domain
abc.de
which is registered in my internetx autodns.My api-client should register some new subdomains like
deeplink.subdomain.abc.de
andsubdomain.abc.de
.I send the post body like this:
that fails with
ERROR: {"stid":"20240223-app3-180557","messages":[{"text":"Fehler beim Lesen des Auftrages.","objects":[{"type":"payload","value":""}],"code":"EF00000","status":"ERROR"}],"status":{"type":"ERROR"}}
when i try to create the
subdomain.abc.de
without the "deeplink" part in front the error message changes to:ERROR: {"stid":"20240223-app3-180564","messages":[{"text":"Ungueltige TLD.","objects":[{"type":"name","value":"abc.de"}],"code":"EF01001","status":"ERROR"}],"status":{"code":"E0101","text":"Domain konnte nicht registriert werden.","type":"ERROR"},"object":{"type":"Domain","value":"subdomain.abc.de"}}
How can i accomplish to register my subdomains?
Thanks for any help with this