clear ip dns zone

Use this command to clear the DNS zone for IP address to name lookups.

Syntax

clear ip dns zone [ipv4 | ipv6]

Parameters

ipv4 | ipv6 (Optional) Specifies the IPv4 or IPv6 DNS zone to clear.

Defaults

If neither ipv4 or ipv6 are specified, both zones are returned to the default zone values.

Mode

All command modes.

Usage

Using this command resets the DNS zone for either IPv4, IPv6, or both to the default DNS zones. IP DNS zones default to:

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

Use show ip dns to determine the current IPv4 and IPv6 DNS zones set for this device.

Examples

This example clears the IPv4 DNS zone for this system:

System(rw)->clear ip dns zone ipv4
System(rw)->

This example clears both the IPv4 and IPv6 DNS zone for this system:

System(rw)->clear ip dns zone
System(rw)->