The nameserverset object provides methods to manage (create, update, list etc.) your nameserver sets.
Creates a new nameserver set.
Table 2.204. Parameters
Parameter | Description | Type | Required | Default |
---|---|---|---|---|
type | Type of the nameserver set | nsSetType | true | |
name | Name of the nameserver set | token0255 | false | |
ns | List of nameservers | nsList | true | |
hostmaster | Email address of the hostmaster | false | ||
visible | Should the nameserver set be visible | boolean | false | true |
prio | Priority of the nameserver set | int | false | 0 |
web | Web nameserver entry | ip_url | false | |
Mail nameserver entry | text0255 | false | ||
masterIp | Master IP address | ip | false | |
testing | Execute command in testing mode | boolean | false | false |
Get details of the nameserver set.
Table 2.208. Parameters
Parameter | Description | Type | Optional |
---|---|---|---|
id | ID of the nameserver set | token255 | |
roId | ID of the nameserver set | int | |
name | Name of the nameserver set | token0255 | Yes |
readOnly | Is the set read only | boolean | |
type | Type of the nameserver set | nsSetType | |
ns | List of nameservers | nsList | |
hostmaster | Email address of the hostmaster | ||
visible | Is the set visible | boolean | |
prio | Priority of the nameserver set | int | Yes |
web | Web nameserver entry | ip_url | Yes |
Mail nameserver entry | text0255 | Yes | |
masterIp | Master IP address | ip | Yes |
List all nameserver sets.
Table 2.210. Parameters
Parameter | Description | Type | Optional |
---|---|---|---|
count | Total number of nameserver sets | int | |
nsset | |||
... id | ID of the nameserver set | int | |
... roId | ID of the nameserver set | int | |
... name | Name of the nameserver set | token0255 | Yes |
... ns | List of nameservers | nsList | |
... readOnly | Is the set read only | boolean | Yes |
... type | Type of nameserver set | nsSetType | Yes |
... hostmaster | Email address of the hostmaster | Yes | |
... visible | Is the set visible | boolean | Yes |
... prio | Priority of the nameserver set | int | Yes |
... web | Web nameserver entry | ip_url | Yes |
Mail nameserver entry | text0255 | Yes | |
... masterIp | Master IP address | ip | Yes |
Udates an existing nameserver set.
Table 2.211. Parameters
Parameter | Description | Type | Required | Default |
---|---|---|---|---|
id | ID of the nameserver set | int | true | |
type | Type of the nameserver set | nsSetType | false | |
name | Name of the nameserver set | token0255 | false | |
ns | List of nameservers | nsList | false | |
hostmaster | Email address of the hostmaster | false | ||
visible | Should the nameserver set be visible | boolean | false | |
prio | Priority of the nameserver set | int | false | |
web | Web nameserver entry | ip_url | false | |
Mail nameserver entry | text0255 | false | ||
masterIp | Master IP address | ip | false | |
testing | Execute command in testing mode | boolean | false | false |