updateDNSServers

This method change 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 all went well.

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 customers account.
  • domain
    string
    Domain names to be updated.
  • nameservers
    string[]
    Array of name servers to switch to. At least two must be specified.
Was this article helpful?

Related Articles