Overview
Error Handling

Methods

API Documentation (API Version bleed)

Network/DNS/Domain/Nameserver/

DESCRIPTION

This section of the API allows for working with the name server information for a given domain.

assign

URL:

https://api.liquidweb.com/bleed/Network/DNS/Domain/Nameserver/assign

Description:

Change which name servers are assigned to a domain.

Parameters:

ParameterTypeNotes
ns1A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc)* Required
ns2A fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc)* Required
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldType
successA boolean value (0 or 1).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

delete

URL:

https://api.liquidweb.com/bleed/Network/DNS/Domain/Nameserver/delete

Description:

Remove a nameserver from a domain.

Parameters:

ParameterTypeNotes
nsA hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc)* Required
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldType
successA boolean value (0 or 1).

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

listAssigned

URL:

https://api.liquidweb.com/bleed/Network/DNS/Domain/Nameserver/listAssigned

Description:

List assigned name servers for a domain.

Parameters:

ParameterTypeNotes
domainA fully-qualified domain name (i.e. liquidweb.com, www.liquidweb.com, etc)* Required if:
  • uniq_id is not given
uniq_idA six-character identifier, containing only capital letters and digits.* Required if:
  • domain is not given

Returns:

FieldType
resultsAn array of arbitrary values.

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

listRegistered

URL:

https://api.liquidweb.com/bleed/Network/DNS/Domain/Nameserver/listRegistered

Description:

List registered name servers for a domain.

Parameters:

ParameterTypeNotes
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldType
resultsAn array of arbitrary values.

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

register

URL:

https://api.liquidweb.com/bleed/Network/DNS/Domain/Nameserver/register

Description:

Parameters:

ParameterTypeNotes
ipAn IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1)* Required
nsnameA hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc)* Required
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldType
idA valid id number (a positive integer).
ipAn IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1)
name_serverA hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc)
uniq_idA six-character identifier, containing only capital letters and digits.

Possible Errors:

Refer to the Error Handling documentation for the list of exception types

updateRegisteredIP

URL:

https://api.liquidweb.com/bleed/Network/DNS/Domain/Nameserver/updateRegisteredIP

Description:

This method can be used to update the name server for a domain,

Parameters:

ParameterTypeNotes
newipAn IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1)* Required
nsA hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc)* Required
uniq_idA six-character identifier, containing only capital letters and digits.* Required

Returns:

FieldType
idA valid id number (a positive integer).
ipAn IPv4 IP address, in quad-dotted decimal notation (i.e. 127.0.0.1)
name_serverA hostname or fully-qualified domain name (i.e. localhost, liquidweb.com, www.liquidweb.com, etc)
uniq_idA six-character identifier, containing only capital letters and digits.

Possible Errors:

Refer to the Error Handling documentation for the list of exception types