Community discussions

MikroTik App
 
steven99
just joined
Topic Author
Posts: 6
Joined: Sat Dec 15, 2012 7:07 pm

How to force DNS requests using tcp protocol!

Mon Dec 17, 2012 6:18 am

Hello


I set /ip dns server = 8.8.8.8, The RB751 default using udp protocol and Google DNS session.

But udp/53 in China have been contaminated, the ip address returned is false.

We test tcp/53 request to Google DNS query, the results returned are correct.

But how to force the RB751 to use tcp protocol and Google DNS session it?

Thanks!
 
Dobby
Member
Member
Posts: 399
Joined: Wed Jan 11, 2012 12:07 am
Location: Hogwarts

Re: How to force DNS requests using tcp protocol!

Mon Dec 17, 2012 8:20 am

Deleted because not related.
Last edited by Dobby on Mon Mar 11, 2013 4:04 am, edited 1 time in total.
 
steven99
just joined
Topic Author
Posts: 6
Joined: Sat Dec 15, 2012 7:07 pm

Re: How to force DNS requests using tcp protocol!

Mon Dec 17, 2012 8:36 am

Hello steven99,

did you not got another one from your ISP?


Hello Dobby

My ISP has a DNS server, but that is contaminated dns server.

If use isp's dns, often get false results, they prohibit access to certain foreign sites.

Now I did not find the way how to force the RB751 tcp protocol and Google DNS session.

Steven
 
User avatar
TheWiFiGuy
Member
Member
Posts: 351
Joined: Thu Nov 24, 2011 7:26 pm
Location: UK

How to force DNS requests using tcp protocol!

Mon Dec 17, 2012 8:42 am

Is your isp not doing a nat redirect to force you to use theirs despite your settongs?
 
steven99
just joined
Topic Author
Posts: 6
Joined: Sat Dec 15, 2012 7:07 pm

Re: How to force DNS requests using tcp protocol!

Mon Dec 17, 2012 9:10 am

Is your isp not doing a nat redirect to force you to use theirs despite your settongs?
Hi TheWiFiGuy

Dns server can freely choose.

But network operators monitoring / interference port 53/udp, if you visit a site that they do not want, you get the ip address is false.

If to use port53/tcp and Google DNS seems everything is normal.

Steven
 
Dobby
Member
Member
Posts: 399
Joined: Wed Jan 11, 2012 12:07 am
Location: Hogwarts

Re: How to force DNS requests using tcp protocol!

Mon Dec 17, 2012 9:17 am

Deleted because not related.
Last edited by Dobby on Mon Mar 11, 2013 4:05 am, edited 1 time in total.
 
uksv29
just joined
Posts: 17
Joined: Fri Dec 23, 2011 10:53 pm
Location: Doha, Qatar
Contact:

Re: How to force DNS requests using tcp protocol!

Wed Dec 19, 2012 8:16 am

I don't think you can force requests to be TCP in a Mikrotik router.

I can think of a couple of ways to sort your issue,

1. Run your own DNS resolver on a Linux box - you could even try metarouter. You may be able to force Bind9 to use TCP requests.

or

2. Find a friendly server not too distant from China (latency) and open a VPN tunnel to it then use the tunnel to access the Google DNS 8.8.8.8 etc. Add /32 routes to your Mikrotik pointing to the PPTP/SSTP/IPSEC tunnel for 8.8.8.8 and other server IP addresses.

regards

Andy
 
steven99
just joined
Topic Author
Posts: 6
Joined: Sat Dec 15, 2012 7:07 pm

Re: How to force DNS requests using tcp protocol!

Wed Dec 19, 2012 11:05 am

I don't think you can force requests to be TCP in a Mikrotik router.

I can think of a couple of ways to sort your issue,

1. Run your own DNS resolver on a Linux box - you could even try metarouter. You may be able to force Bind9 to use TCP requests.

or

2. Find a friendly server not too distant from China (latency) and open a VPN tunnel to it then use the tunnel to access the Google DNS 8.8.8.8 etc. Add /32 routes to your Mikrotik pointing to the PPTP/SSTP/IPSEC tunnel for 8.8.8.8 and other server IP addresses.

regards

Andy
------------------------------------

Hi Andy / uksy29

Thank you for the suggestion!

Now I have to use the first program to use dnsforwarder (Chinese programmers write software), mandatory use tcp protocol to resolve.

The second program I originally used, but the low efficiency of this method after vpn, slower.

Originally, I was hoping to solve this problem directly RB751, but now it seems impossible.

Steven

19.DEC

Who is online

Users browsing this forum: No registered users and 62 guests