pem.getRequiredNameServers (internal)

This method is supported by Operations starting from version 2.8.

If Domain is transferred from one Operations Account to another one, it uses DNS Servers according to Domain Subscription (it contains DNS Hosting) of the source Account. This method returns DNS Servers, which should serve the Domain according to Domain Subscription of target Account.

The method has the following input parameters:

Name

Type

Short Description

domain_name

string

Name of the Domain to return DNS Servers for.

The method returns an array of the following structures:

Name

Type

Short Description

  • ns

string

Hostname of DNS Server.

  • ip_address

string

IP Address of DNS Server.