DNS View
Use the nios_dns_view
module to create, update, or remove instances of DNS view objects from a NIOS Grid.
The following table describes the parameters you can define in the nios_dns_view
module:
Parameter | Required/Optional | Description |
---|---|---|
| Required | Specifies the fully qualified host name to add or remove from NIOS. |
| Required | Specifies the name of the network view to which the DNS view must be assigned. |
| Optional | Specifies extensible attributes for the DNS view object. |
| Optional | Specifies the state of the DNS view instance in NIOS. Set one of the following values:
|
| Optional | Describes the DNS view object. |
| Required | A dictionary object that contains connection details.
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: configure a new dns view instance
infoblox.nios_modules.nios_dns_view:
name: ansible-dns
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local
name: update the dns view instance
infoblox.nios_modules.nios_dns_view:
name: {new_name: ansible-dns-new, old_name: ansible-dns}
state: present
provider:
host: <nios_hostname_or_hostip>
username: <nios_username>
password: <nios_password>
connection: local