PTR Record
Use the nios_ptr_record
module to create, update, or remove a PTR record object from a NIOS Grid.
The following table describes the parameters you can define in the nios_ptr_record
module:
Parameter | Required/Optional | Description |
---|---|---|
| Optional | Specifies the fully qualified host name of the record to add, update, or remove from NIOS. |
| Optional | Specifies the DNS view to associate the PTR record with. |
| Optional | Specifies the IPv4 address of the record. |
| Optional | Specifies the IPv6 address of the record. |
| Required | Specifies the domain name of the DNS PTR record in the FQDN format. |
| Optional | Specifies the Time To Live (TTL) value for the record. |
| Optional | Specifies extensible attributes for the PTR record object. |
| Optional | Specifies the state of the PTR record instance on the NIOS server.
|
| Optional | Describes the PTR record object. |
| Required | Defines the details of the connection:
For information on additional fields you can define, see the list of subparameters in the NIOS Modules for Ansible Collections topic. |
| Required | The |
Examples
name: Create a PTR Record
infoblox.nios_modules.nios_ptr_record:
ipv4: 192.168.10.1
ptrdname: host.ansible.com
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local