set ip dns zone

Use this command to configure a non-default DNS zone for IPv4 or IPv6 address to name lookups.

Syntax

set ip dns zone {ipv4 | ipv6} zone-name

Parameters

ipv4 Specifies an IPv4 or IPv6 DNS zone for IP address to name lookups.
ipv6 Specifies an IPv6 DNS zone.
zone-name Specifies the IPv4 or IPv6 DNS zone for IP address to name lookups.

Defaults

None.

Mode

All command modes.

Usage

IPv4 and IPv6 DNS zones for IP address to domain name lookups default to:

  • ipv4 – in-addr.arpa
  • ipv6 – ip6.arpa

Use this command to set a non-default DNS zone. Use show ip dns to determine the current DNS zone set for this device.

Example

This example sets the IPv4 DNS zone to in-addr.arpa:

System(rw)->set ip dns zone ipv4 in-addr.arpa
System(rw)->