Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to get DNS IP's via DHCP on ASA5505

I just found why my lookups take so long. My ISP has changed their DNS servers to a dynamic config so my servers are no longer valid and I don't know how to configure my asa5505 to do dhcp to automatically get the dns ip's.

Any help much appreciated.

6 REPLIES
New Member

Re: How to get DNS IP's via DHCP on ASA5505

You can configure DHCP on your ASA to use the DNS, WINS, and Domain name it obtains from the outside interface using DHCP or PPPOE by using the dhcpd auto_config command.

For example, your outside interface is setup for PPPOE. Use the following for your ASA to hand out dhcp addresses in the 192.168.1.0-192.168.1.100 and the DNS, WINS, and domain name that it receives from the ISP.

dhcpd address 192.168.1.0-192.168.1.100 inside

dhcpd auto_config outside

dhcpd enable inside

Hope this helps.

Brandon

New Member

Re: How to get DNS IP's via DHCP on ASA5505

That's what I thought too, and I've got those lines in my config. But everytime I surf the web, my dns lookups take up to a minute because it's not getting the DNS's it needs.

So I've had to put in a DNS address like 4.2.2.2 in my /etc/resolv.conf file till I can get DDNS to work correctly.

Gold

Re: How to get DNS IP's via DHCP on ASA5505

have you tried a windows box to see if you get the same results?

New Member

Re: How to get DNS IP's via DHCP on ASA5505

I don't have a windows box, but I have a mac, and if I put it on a netgear firewall (which I replaced w/ my asa) and put the netgear behind the asa I don't have the lookup delays.

Gold

Re: How to get DNS IP's via DHCP on ASA5505

is the problem that the ASA won't hand out the DNS servers it pulls from your ISP? or is the problem that the servers it does get aren't returning responses in a timely fashion?

New Member

Re: How to get DNS IP's via DHCP on ASA5505

The problem is that it's not able to get dns servers at all. However, any firewall i put behind the ASA is able to get DNS servers so that when I browse from the 2nd firewall, it works fine. But if I browse from the ASA, it takes a while to resolve url's.

876
Views
0
Helpful
6
Replies