Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Redirect Packets DNS

I wish the router redirect all packets TCP in port 53 (DNS) to an specific IP address. How can I do it???

1 REPLY

Re: Redirect Packets DNS

Are all requests coming on port 53, for one ip address or multiple ip addresses ? If they are coming through a NAT configured interface, you can redirect the packet using static nat

ip nat inside source static udp 100.100.100.100 53 10.10.10.10 53

int e0

ip nat inside

int s0

ip nat outside

All requests coming into your network on serial 0, on port 53, ip addres 100.100.100.100 would be redirected to 10.10.10.10, port 53.

10.10.10.10 would be the DNS server IP address residing on ethernet0 interface.

You can add multiple static nat commands, if needed.

280
Views
0
Helpful
1
Replies
CreatePlease to create content