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.

How can I redirect some hosts with my bind server, Like a hots file ( /etc/hosts ). If I declare a master zone of a external domain, I can't resolve request for subdomain...

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

I don't think you can do this with BIND. Consider using Unbound for your resolver. It has this capability via local-zone: <zone> transparent.

Important: If the domain you are trying to override/redirect is protected with DNSSEC, the RR signatures will be absent if you do this. Some clients may refuse to resolve the name, and others may still resolve it but they will know that the data have been tampered with.

share|improve this answer
    
I tried it and it works! –  Fridus Oct 5 '12 at 13:24
add comment

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.