cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
436
Views
0
Helpful
1
Replies

Redirect Packets DNS

perazzo
Level 1
Level 1

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

1 Reply 1

thisisshanky
Level 11
Level 11

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.

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

Review Cisco Networking for a $25 gift card