Can I assign a different dns to specific url list?

Hi,
I am using a Routeros V5.7 on a RB751U-2HnD, I setup a pppoe-out1 for my internet connection. also have a l2tp vpn connection. I plan to use the vpn connection for outside country access due to the China great firewall. I add all China IP address to the static routing table use pppoe-out gateway. also add 0.0.0.0/0 to l2tp gateway. and it works very well except the DNS problem.

the ISP DNS is polluted by GFW to block access to twitter and face book etc. so I have to use opendns and update via vpn connection. but opendns always give me a remote ip address for many famous chinese sites. can I assign my ISP DNS to a list of urls


Could anyone help me on this? sorry for my poor English.

Best Regards,

Wilson

You could set up static DNS for those few URL’s.

thanks for your suggestion, but it is hard to do via static DNS .

those site like QQ.com have thousands of servers and many different ip address for different service. they also have many second-level domains.

Mikrotik cannot do that.- It is jsut simple DNS cache.

I guess you would have to use some softisticated DNS server localy, like BIND or similar. I am not familiar with it but I know few people who managet to set it which parent DNS to querz for specific url addresses.

I suppose it is possible to set it to ask for .cn domains some chinese public DNS, and for rest of the world to go to some public DNS abroad.

However, I would second this as feature request, as it would be very helpful for various purposes.


edit: I checked, option is called DNS forwardiong. Here is something about it’s use: http://www.zytrax.com/books/dns/ch4/#forwarding

thanks. It looks like I can not achieve this function.