7919 questions

9344 answers

15054 comments

12869 members

0 votes
86 views 5 comments
by
Does anyone know if it's possible to do DNS views on a RUTX11, that is, have some domain names resolve using a certain DNS server and other domain names resolve using a different DNS server?

1 Answer

0 votes
by

Yes, this is possible. From the UI go to Network->DNS and in the DNS forwardings field add the domains you want to forward in the form /domain1/x.y.z.t/ use + to add more.

Best answer
by
Awesome, thanks for that!

Also, one more question, where do I set the default DNS server the device uses?
by
The default DNS should be given by the provider either mobile or WAN via DHCP, if you want to set it manually then go to Interfaces->(the interface you want to modify)->Advanced settings, untick "Use DNS advertised by peer" and fill "Use custom DNS servers" as appropriate. Are you sure you want to do that ?

Regards,
by
Ok so I did that and the router itself seems to be forwarding to those new dns servers (checked with nslookup), but the clients arent (when using nslookup on the clients they resolve using the router as the dns server like they should) but for some reason the router isnt actually using the new dns servers for the client. I can tell because the new dns servers are web titan dns filters. Any suggestions?
by
Nevermind! I figured it out, turns out I had a custom resolve file uploaded to it!
by
Anyway be sure to have both Rebind protection and Local Service Only set to off in Network->DNS.

Regards,