Community discussions

MikroTik App
 
kellogs
Member Candidate
Member Candidate
Topic Author
Posts: 114
Joined: Sun Jan 04, 2009 10:55 am

ds-nat 2 DNS server IP

Wed Jun 11, 2014 3:56 am

Dear Members,

I have 2 DNS Servers.

I would like to force all DNS request port 53 UDP/TCP to these 2 DNS Servers IP.

I could use the regular DS-NAT but it is only capable to forward to 1 IP address.

May I know what is the best way to do this?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: ds-nat 2 DNS server IP

Wed Jun 11, 2014 2:48 pm

what DNS have your client?

force packet with dst = 8.8.8.8 or first OpenDNS, to one,

all the other dst = 8.8.4.4 or second OpenDNS to the other,

and chose one of the two for all other unknow DNS server.
 
kellogs
Member Candidate
Member Candidate
Topic Author
Posts: 114
Joined: Sun Jan 04, 2009 10:55 am

Re: ds-nat 2 DNS server IP

Thu Jun 12, 2014 2:40 am

Dear Rex,

Client as using different type of DNS servers thus we are not able to use the mentioned rule
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: ds-nat 2 DNS server IP

Thu Jun 12, 2014 10:16 am

Dear Rex,

Client as using different type of DNS servers thus we are not able to use the mentioned rule
Sorry, but at this point, you can not do that.
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: ds-nat 2 DNS server IP

Thu Jun 12, 2014 10:26 am

I remember that I saw on this forum description how to redirect dns requests from inner network going outside to own or specific dns server. Search a bit. You can also drop all these requests and suggest to your clients to set your dns servers only. If client makes tunnel, you are out of the game anyway.
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: ds-nat 2 DNS server IP

Thu Jun 12, 2014 10:53 am

The user ask how to redirect two DNS, not one... :roll:

>>>...
>>>have 2 DNS Servers.
>>>I would like to force all DNS request ... to these 2 DNS Servers...
>>>...
 
jarda
Forum Guru
Forum Guru
Posts: 7756
Joined: Mon Oct 22, 2012 4:46 pm

Re: ds-nat 2 DNS server IP

Thu Jun 12, 2014 12:29 pm

If he drops forwarding port 53 going to wan, he forces his clients to set his DNS servers. Clients can set both... so what is the difference?
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12008
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: ds-nat 2 DNS server IP

Thu Jun 12, 2014 12:39 pm

If he drops forwarding port 53 going to wan, he forces his clients to set his DNS servers. Clients can set both... so what is the difference?
Sorry I'm not english and is hard for me explain.

I try with this (as I have understand):

WITHOUT FORCE USERS TO CHANGE DNS1 and DNS2

The user want than his two DNS server must be used BOTH by all users (without split user for dns used, ip, etc.)

Like DNS1 specified on user device (no matter what address is) go to his DNS1
and DNS2 specified on user device (no matter what address is) go to his DNS2



For me is absurd and impossible to do, do you think also that?

Who is online

Users browsing this forum: qatar2022 and 203 guests