DNS
DNS configuration manages domain name lookup and the default domain name for hostname resolution on NX-OS devices.
Diagram
Section titled “Diagram”Classes
Section titled “Classes”configuration (nxos.devices)
Section titled “configuration (nxos.devices)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| dns | Class | [dns] | No |
dns (nxos.devices.configuration)
Section titled “dns (nxos.devices.configuration)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| domain_lookup | Boolean | true, false | No | |
| domain_name | String | No |
Examples
Section titled “Examples”Example 1: DNS domain lookup with default domain
nxos: devices: - name: LEAF1 configuration: dns: domain_lookup: true domain_name: example.com