opendns

Configures the pre-fetched OpenDNS device_id. Once configured, all DNS queries originating from wireless clients associating with the WLAN are appended with an additional 31 bytes of data (representing the device ID) at the end of the DNS packet. The device ID is a sixteen (16) character hex string representing a 64 bit unsigned integer and is fetched from the OpenDNS site.

This command is part of a series of configurations that are required to integrate WiNG access points, wireless controllers, and service platforms with OpenDNS. When all the parameters have been configured, DNS queries from wireless clients, associating with the WLAN, are redirected to OpenDNS (208.67.220.220 OR 208.67.222.222). These OpenDNS resolvers act as proxy DNS servers that provide additional functionalities, such as Web filtering, reporting, and performance enhancement. For more information on the entire configuration, see opendns (user and privi exec modes).

Supported in the following platforms:

  • Access Points — AP7502, AP7522, AP7532, AP7562, AP7602, AP7612, AP7622, AP7632, AP7662, AP8163, AP8432, AP8533
  • Wireless Controller — RFS4010
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000

Syntax

opendns device-id <DEVICE-ID>

Parameters

opendns device-id <DEVICE-ID>
opendns device-id <DEVICE-ID> Configures the device ID to embed in DNS queries sent to OpenDNS
  • <DEVICE-ID> – Specify the device ID.

Examples

The following command fetches the device_id from the OpenDNS site.

ap7532-E6D512#opendns ApiToken 9110B39543DEB2ECA1F473AE03E8899C00019073
device_id = 0014AADF8EDC6C59
ap7532-E6D512#

Use this device_id in the WLAN configuration context.

ap7532-E6D512(config)#wlan opendns
ap7532-E6D512(config-wlan-opendns)#opendns device-id 0014AADF8EDC6C59
ap7532-E6D512(config-wlan-opendns)#commit
ap7532-E6D512(config-wlan-opendns)#show context
wlan opendns
 ssid opendns
 vlan 1
 bridging-mode local
 encryption-type none
 authentication-type none
 opendns device-id 0014AADF8EDC6C59
ap7532-E6D512(config-wlan-opendns)#

Related Commands

no (wlan-config-mode) Removes the device ID configured to be embedded in the DNS queries originating from the WiNG devices