You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Third level domains like third.level.example.com should still be added to the example.com zone.
Netcup handles this by using "third.level" as the host for a record.
This script needs to strip the last two or three domain levels, depending on the TLD.
In this case I propose using a separate (optional) parameter for the requests. That way you could manually assign the parent domain and host parts of the address.
So instead of using "&domain=third.level.example.com" we could use "&host=third.level&domain=example.com". Might need to use another parameter name for domain, but this should work
Currently, a third level domain like
third.level.example.com
gets stripped tolevel.example.com
by getHostname().Correct would be of course
example.com
, otherwise the API responds with 5029, "Can not get DNS records for zone. Domain not found."The text was updated successfully, but these errors were encountered: