Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco ASA 5505 DNS Forwarding

Status
Not open for further replies.

7echno7im

Technical User
Sep 4, 2007
18
Hi. I am setting up a Cisco ASA5505 that has a static IP address. I am wondering how I can enable DNS forwarding on the ASA. I want the internet DNS queries forwarded from the ASA to the public DNS IP I am using. Is this possible? I want my clients behind the ASA to use the IP address of the ASA for their DNS, but have the DNS requests forwarded from the ASA to the ISP's DNS.

I know that when it was shipped, it was already pre-configured for a DHCP on the outside interface and it worked fine, but once I switched to static, my clients internally could not resolve DNS unless I assigned their DNS servers manually using the ISP's DNS internally... make sense?

thanks.

 
Add this to your config

dhcpd address [addresses] inside
dhcpd dns [dns_ip#1] [[dns_ip#2]

This will set it when they get the lease.


Brent
Systems Engineer / Consultant
CCNP, CCSP
 
What if there is not a DNS server internally to put in the first line.

dhcpd address [addresses] inside


lets say the asa is 10.1.1.1 and the public DNS are 2.2.2.2 and 2.2.2.3

I would then give the command:

dhcpd address 10.1.1.1 inside
dhcpd dns 2.2.2.2 2.2.2.3

?

My goal is not to hand out external DNS IPs internally, but for the ASA to forward these requests to the public DNS and have the internal clients pointed to the ASA.

 
Asa won't act as a DNS server. You have to hand out the external DNS servers.



Brent
Systems Engineer / Consultant
CCNP, CCSP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top