permit

A whitelist is a list of host names and IP addresses permitted access to the network or captive portal. This command adds a host or destination IP address to the DNS whitelist.

Supported in the following platforms:

Syntax

permit <IPv4/IPv6/HOSTNAME> {suffix}

Parameters

permit <IPv4/IPv6/HOSTNAME> {suffix}
<IPv4/IPv6/HOSTNAME> Adds a device to the DNS whitelist
  • <IPv4/IPv6/HOSTNAME> – Provide a hostname or numerical IPv4 or IPv6 address for each destination IP address or host included in the whitelist.
Note: A maximum of 256 entries can be made.

suffix

Optional. Matches any hostname including the specified name as suffix

Examples

nx9500-6C8809(config-dns-whitelist-test)#permit example_company.com suffix
nx9500-6C8809(config-dns-whitelist-test)#show context
dns-whitelist test
permit example_company.com suffix
nx9500-6C8809(config-dns-whitelist-test)#

Related Commands

no

Removes a DNS whitelist entry