10-10-2013 01:02 PM - edited 03-11-2019 07:50 PM
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
Solved! Go to Solution.
10-10-2013 01:07 PM
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
10-10-2013 01:07 PM
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
10-10-2013 01:17 PM
This worked Jouni, thank you very much.
I added
dhcpd auto_config outside interface inside
Thank you for the quick response sure appreciate it!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide