Support

Forum

A place for Dynadot and community experts alike to ask questions, share ideas, and more.
<Error>problem with connection to main server</Error>
The following get request is returning an error: https://api.dynadot.com/api3.xml?key=mykey&domain=mydomain.com&command=add_ns&host=ns1.mydomain.com <?xml version="1.0"?> <AddNsResponse> <AddNsHeader> <SuccessCode>-1</SuccessCode> <Status>error</Status> <Error>problem with connection to main server</Error> </AddNsHeader> </AddNsResponse> I was able to successfully use the register_ns command, now I'm trying to set that name server to be the name server of a particular domain. Thanks C
teamdynadot replied dupersuperluper
Hi there, you should use the set_ns command to assign the name servers you've registered to your domain, that command can be found here: https://www.dynadot.com/domain/api3.html#set_ns The command itself is: https://api.dynadot.com/api3.xml?key=mykey&command=set_ns&domain=domain1.com,domain2.com&ns0=ns1.hostns.com&ns1=ns2.hostns.com Hope this helps.
Reply Quote
0 Replies