Adding host names to the dns cache table, Dynamic cache entries, Static cache entries – Brocade BigIron RX Series Configuration Guide User Manual

Page 256: Clearing the dns cache table, Displaying the dns cache table

Advertising
background image

178

BigIron RX Series Configuration Guide

53-1002484-04

Configuring IP parameters

7

Adding host names to the DNS cache table

Dynamic cache entries

The entries in a DNS cache table are used to resolve host names to IP addresses. When a client
initiates a DNS query, the Brocade device checks the DNS cache table to see if the host name can
be resolved to any of the entries. If a match is found, the query is resolved. If a match is not found,
the DNS resolver sends the query to the DNS servers. If the name is resolved, the complete,
qualified host name and its IP address is added to the DNS cache table and the hosts’ IP address
is returned to the client.

Static cache entries

You can manually add entries to the DNS cache table if you know a host’s complete, qualified name
and its IP address. To add host names and their IP addresses to the DNS cache table, enter
commands such as the following.

BigIron RX(config)# ip dns-cache-entry www.brocade.com 63.236.63.244

Syntax: [no] ip dns-cache-entry <host-name> <ip-address>

<host-name> Complete, qualified name . For example, enter www.company.com or
host.company.com.

<ip-address> Enter the IP address of the host. This must be the correct IP address for the host.

Use the no form of the command to manually remove an entry from the DNS cache table; however,
you must enter the entire entry to delete the entry.

BigIron RX(config)# no ip dns-cache-entry www.brocade.com 63.236.63.244

Clearing the DNS cache table

To clear the entire DNS cache table, enter the following command.

BigIron RX# clear ip dns-cache-table

To clear a specific entry in DNS cache table, enter the following command.

BigIron RX# clear ip dns-cache-table www.brocade.com

OR

BigIron RX# clear ip dns-cache-table 63.236.63.244

Syntax: clear ip dns-cache-table <ip-address | host-name>

<host-name> Complete, qualified name . For example, enter www.company.com or
host.company.com.

<ip-address> Enter the IP address of the host. This must be the correct IP address for the host.

Displaying the DNS cache table

To display what hosts are currently in the DNS cache table, enter the following command.

BigIron RX(config)# show ip-dns cache-table

Advertising