Community discussions

MikroTik App
 
IntraLink
Member Candidate
Member Candidate
Topic Author
Posts: 113
Joined: Fri May 28, 2004 5:44 pm
Location: Utah Valley
Contact:

Redirect main DNS quick help needed

Wed Apr 18, 2007 5:42 pm

What does the rule look like if I need to redirect all of my customer DNS entries at 208.63.0.2 to 216.43.23.5 using my MT border router?
 
IntraLink
Member Candidate
Member Candidate
Topic Author
Posts: 113
Joined: Fri May 28, 2004 5:44 pm
Location: Utah Valley
Contact:

Thu Apr 19, 2007 12:21 am

Nevermind, I figured it out.
 
sogaro
just joined
Posts: 4
Joined: Sat May 20, 2006 10:40 am
Location: Nigeria

Redirect main DNS quick help needed

Thu Apr 26, 2007 7:28 am

Nevermind, I figured it out.
pls how did you do it? Prety urgent, thx.
 
IntraLink
Member Candidate
Member Candidate
Topic Author
Posts: 113
Joined: Fri May 28, 2004 5:44 pm
Location: Utah Valley
Contact:

Thu Apr 26, 2007 7:35 am

I used Winbox and set up a dst-nat on port 53 tcp and udp (mostly udp traffic) to the new IP and port 53.

Seems to work fine.
 
sogaro
just joined
Posts: 4
Joined: Sat May 20, 2006 10:40 am
Location: Nigeria

Re: Redirect main DNS quick help needed

Wed Jun 06, 2007 4:32 am

kindly write out the parameters, thanks.
 
IntraLink
Member Candidate
Member Candidate
Topic Author
Posts: 113
Joined: Fri May 28, 2004 5:44 pm
Location: Utah Valley
Contact:

Re: Redirect main DNS quick help needed

Wed Jun 06, 2007 5:07 am

;;; DNS Redirect for External DNS Old to External DNS New Servers
     chain=dstnat dst-address=209.63.0.2 protocol=tcp dst-port=53 
     action=dst-nat to-addresses=216.194.124.21 to-ports=53

chain=dstnat dst-address=209.63.0.2 protocol=udp dst-port=53 
     action=dst-nat to-addresses=216.194.124.21 to-ports=53
Where 209.62.0.2 is the old DNS that your clients might have in their routers/computers and 216.194.124.21 is the DNS you want them to be using (without them having to manually change it). Note that this NATs the TCP and UDP ports 53 for just one address.

Who is online

Users browsing this forum: yhfung and 19 guests