Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to be able to resolve one domain via a specific DNS server, while everything should be resolved by other DNS server(s). For example, resolve bbc.co.uk via 1.1.1.1 DNS server, but everything else by 8.8.8.8 . Is it possible?

share|improve this question
    
No... DNS is hierarchical, and co.uk is asked who is responsible for bbc, the answer is valid for everybody. –  vonbrand Feb 18 '13 at 21:19
1  
Why do you want to do this? What is the application? It sounds a little hokey to me. –  mdpc Feb 18 '13 at 21:59

1 Answer 1

You'll need to configure a DNS server that contains a forward lookup zone for example.com (I wouldn't mess with bbc.co.uk, sounds a little nefarious,) a forwarder to 8.8.8.8, and appropriate A and/or CNAME records.

Otherwise you might have an easier time changing the hosts file.

share|improve this answer
1  
NOTE: This only works if the user controls his machine and has root level access. –  mdpc Feb 18 '13 at 20:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.