cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

284
Views
0
Helpful
2
Replies
Highlighted
Beginner

ASA 5505 DHCP/DNS question

I have an ASA 5505 running 8.2.  On my outside interface I am getting the IP address from my provider via ip address dhcp setroute.  On my inside network I am providing DHCP to my clients via dhcpd.  My question is simply is there a way I can pass my providers DNS servers to my clients dynamically? 

What I mean by this is when I connect to my ISP,  I get an outside IP address, gateway, and a few DNS servers from them.  I would like to pass those said DNS servers automatically.  I know I can do dhcpd dns <DNS1> <DNS2> <DNS3>  for my internal DHCP server,  but what I am wondering though is there a way I can just pass the DNS that my outside interface is getting from the ISP directly on to my internal DHCP server?

Obviously this is not a big deal,  as I said I can bind them if I want,  but I was thinking if it could do it automatically then if my ISP ever changes preferred DNS servers or IPs on the DNS servers my clients would get them right away without me having to manually change the DNS server list on the config.

Anyways just curious.

Chris

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Mentor

Hi,

To my understanding you would simply configure this

dhcpd auto_config outside

This should pass the information that the "outside" interface got from the ISP through DHCP

Your WAN interface might be called something else naturally but the most typical is "outside"

Hope this helps

- Jouni

View solution in original post

2 REPLIES 2
Highlighted
Mentor

Hi,

To my understanding you would simply configure this

dhcpd auto_config outside

This should pass the information that the "outside" interface got from the ISP through DHCP

Your WAN interface might be called something else naturally but the most typical is "outside"

Hope this helps

- Jouni

View solution in original post

Highlighted

This worked Jouni,  thank you very much. 

I added

dhcpd auto_config outside interface inside

Thank you for the quick response sure appreciate it!

Content for Community-Ad