Add the required nameserver resource record for a global load balancer account.


If your globally load balanced domain is hosted on the SoftLayer nameservers this method will add the required NS resource record to your DNS zone file and remove any A records that match the host portion of a global load balancer account hostname. A NS resource record is required to be able to use your SoftLayer global load balancer account. Please make sure the zone file for the hostname listed on your SoftLayer global load balancer account is setup prior to using this method. If your globally load balanced domain is hosted on any other nameservers this method will not be able to add the required NS record.


Name Type Description

Required Headers

  • authenticate
  • SoftLayer_Network_LoadBalancer_Global_AccountInitParameters

Return Values

  • boolean

Associated Methods

Error Handling

  • SoftLayer_Exception_Public

Throw the exception “No DNS records could be found for this account.” when a DNS zone record could not be found within SoftLayers DNS system. It could mean you do not have your DNS hosted at SoftLayer, or no zone record exists yet.

  • SoftLayer_Exception_Public

Throw the exception “An NS resource record for this account already exists.” when the NS resource record to be added already exists.