Register a domain name server.


Use this command to register one of your own servers as a domain name server.


All resellers have access to this command.

Implementation on

Log on to with Login ID resellid, password resellpw.

On the register a name server page, the submit button calls the RegisterNameServer command.


The query must meet the following requirements:

  • The login ID and password must be valid.
  • The server you register must use a domain name that is in your account.
  • eNom must be licensed with the Registry in which you want to register a name server; you can only register name servers for TLDs that we support.
  • The registrar lock for the domain must be set to off while you register a name server. You can switch the registrar lock back on (and we recommend that you do so) once the name server is registered.
  • Name servers for .us names must be located in the United States.
  • and names must have at least two name servers.

Input parameters

Build the query string using this syntax:


Parameter Status Description Max Size
UID Required Account login ID 20
PW Required Account password 20
Add Required Authority to add a name server. Set Add=true to authorize. 5
NSName Required Name server to register. Use format 60
IP Required IP of the name server. 15
ResponseType Optional Format of response. Permitted values are Text (default), HTML, or XML. 4


Returned parameters and values

Parameter Description
Command Name of command executed
ErrCount The number of errors if any occurred. If greater than 0 check the Err(1 to ErrCount) values.
ErrX Error messages explaining the failure. These can be presented as is back to the client.
Done True indicates this entire response has reached you successfully.



  • The default response format is plain text. To receive the response in HTML or XML format, send ResponseType=HTML or ResponseType=XML in your request.
  • Check the return parameter ErrCount. If greater than 0 the transaction failed. The parameter Err(ErrCount) can be presented to the client. Otherwise process the returned parameters as defined above.