dnsresource¶
delete¶
Delete a DNS resource with the given id.
maas $PROFILE dnsresource delete [--help] [-d] [-k] id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
read¶
Read a DNS resource by id.
maas $PROFILE dnsresource read [--help] [-d] [-k] id
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
update¶
Update a DNS resource with the given id.
maas $PROFILE dnsresource update [--help] [-d] [-k] id [data ...]
Positional arguments¶
Argument |
Effect |
|---|---|
id |
The ID of the resource (e.g., |
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
Keywords¶
Keyword “fqdn”¶
Optional String. Hostname (with domain) for the dnsresource. Either fqdn or name and domain must be specified. fqdn is ignored if either name or domain is given.
Keyword “name”¶
Optional String. Hostname (without domain).
Keyword “domain”¶
Optional String. Domain (name or id).
Keyword “address_ttl”¶
Optional String. Default TTL for entries in this zone.
Keyword “ip_addresses”¶
Optional String. Address (ip or id) to assign to the dnsresource. This creates an A or AAAA record, for each of the supplied ip_addresses, IPv4 or IPv6, respectively.
Note: This command accepts JSON.
dnsresources create¶
Create a DNS resource.
maas $PROFILE dnsresources create [--help] [-d] [-k] [data ...]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
Keywords¶
Keyword “fqdn”¶
Optional String. Hostname (with domain) for the dnsresource. Either fqdn or name and domain must be specified. fqdn is ignored if either name or domain is given.
Keyword “name”¶
Optional String. Hostname (without domain).
Keyword “domain”¶
Optional String. Domain (name or id).
Keyword “address_ttl”¶
Optional String. Default TTL for entries in this zone.
Keyword “ip_addresses”¶
Optional String. Address (ip or id) to assign to the dnsresource. This creates an A or AAAA record, for each of the supplied ip_addresses, IPv4 or IPv6, respectively.
Note: This command accepts JSON.
dnsresources read¶
List all resources for the specified criteria.
maas $PROFILE dnsresources read [--help] [-d] [-k] [data ...]
Command-line options¶
Option |
Effect |
|---|---|
–help, -h |
Show this help message and exit. |
-d, –debug |
Display more information about API responses. |
-k, –insecure |
Disable SSL certificate check. |
Keywords¶
Keyword “fqdn”¶
Optional String. Restricts the listing to entries for the fqdn.
Keyword “domain”¶
Optional String. Restricts the listing to entries for the domain.
Keyword “name”¶
Optional String. Restricts the listing to entries of the given name.
Keyword “rrtype”¶
Optional String. Restricts the listing to entries which have records of the given rrtype.
Keyword “all”¶
Optional Boolean. Include implicit DNS records created for nodes registered in MAAS if true.
Note: This command accepts JSON.