updateDNSServers

This method changes the name servers for the specified domain name.

Syntax

status = updateDNSServers(username, password, [customer_number,] domain, nameservers)

Return value

status. This method returns a status code of OK if the call succeeded.

Parameters

  • username
    string
    Username for LoopiaAPI.
  • password
    string
    Password for LoopiaAPI.
  • customer_number
    string
    Customer ID of the account where the domain name is located. Used only by resellers working with a customer’s account.
  • domain
    string
    Domain name to be updated.
  • nameservers
    string[]
    Array of name servers to switch to. At least two must be specified.
Was this article helpful?

Related Articles