ASA5505: 4.2.2.2 and 4.2.2.3 are great free dns server.

ASA5505: 4.2.2.2 and 4.2.2.3 are great free dns server.

by Cyrus Lok on Saturday, April 10, 2010 at 4:30am

Step 1:
Enable dns service on the outside interface
ciscoasa(config)# dns domain-lookup outside

Step 2:
Define dns servers:
ciscoasa(config)# dns name-server 4.2.2.2 4.2.2.3

Step 1 must be done before I can configure step 2, otherwise it will give an error:
ciscoasa(config)# dns name-server 4.2.2.2 4.2.2.3
ERROR: DNS must first be enabled.

Verify if it works, yeah it works.. lol
ciscoasa(config)# ping www.google.com
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 74.125.71.105, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/46/60 ms

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s