DNS Configuration Commands

dns-domain

Syntax

dns-domain dns-name

no dns-domain

Context

bof

Description

This command configures the domain name used when performing DNS address resolution.

This is a required parameter if DNS address resolution is required. Only a single domain name can be configured. If multiple domain statements are configured, the last one encountered is used.

The no form of the command removes the domain name from the configuration.

Default

no dns-domain — no DNS domain name is configured

Parameters

dns-name

the DNS domain name

primary-dns

Syntax

primary-dns ip-address

no primary-dns

Context

bof

Description

This command configures the primary DNS server used for DNS name resolution.

DNS name resolution can be used when executing ping, traceroute, and service-ping, and also when defining file URLs. DNS name resolution is not supported when DNS names are embedded in configuration files.

The no form of the command removes the primary DNS server from the configuration.

Default

no primary-dns — no primary DNS server is configured

Parameters

ip-address

the IP address of the primary DNS server

secondary-dns

Syntax

secondary-dns ip-address

no secondary-dns

Context

bof

Description

This command configures the secondary DNS server for DNS name resolution.

The secondary DNS server is used only if the primary DNS server does not respond.

DNS name resolution can be used when executing ping, traceroute, and service-ping, and also when defining file URLs. DNS name resolution is not supported when DNS names are embedded in configuration files.

The no form of the command removes the secondary DNS server from the configuration.

Default

no secondary-dns — no secondary DNS server is configured

Parameters

ip-address

the IP address of the secondary DNS server

tertiary-dns

Syntax

tertiary-dns ip-address

no tertiary-dns

Context

bof

Description

This command configures the tertiary DNS server for DNS name resolution.

The tertiary DNS server is used only if the primary DNS server and the secondary DNS server do not respond.

DNS name resolution can be used when executing ping, traceroute, and service-ping, and also when defining file URLs. DNS name resolution is not supported when DNS names are embedded in configuration files.

The no form of the command removes the tertiary DNS server from the configuration.

Default

no tertiary-dns — no tertiary DNS server is configured

Parameters

ip-address

the IP address of the tertiary DNS server