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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirect DNS traffic from the inside to the outside

Status
Not open for further replies.

pbxnkey

Programmer
Aug 15, 2006
191
0
0
US
Currently the PC's are statically assigned IP and DNS. I want to test a feature but when PC's use DNS I need to redirect DNS requests so that they forward to another DNS server.
If an inside PC had 8.8.8.8 statically assigned for DNS, I want that PC's DNS queries to be redirected to use a different DNS IP.

There are MANY PC's so I really do not want to go around and restatic every PC.
Is this possible on an ASA?

Thanks
 
You could either,

1/ Get your internal DNS server the PC's are configured to use to refer requests to this new DNS server

2/ Reconfigure your PCs to send DNS requests to the new server.

You've discovered why people use DHCP: when things change, you change the settings in one central place.
 
I work for an ISP and the network is the customer's. The customer setup the PC's statically and from what I understand there are quite a few.

What I wound up doing on the ASA was static a NAT:

static (outside,inside) udp 1.1.1.1 53 8.8.8.8 53 netmask 255.255.255.255

1.1.1.1= would be the dns server currently assigned to a PC.

I tested this with a url redirect and it worked like a charm.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top