Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Bind DNS server and want to return a specific ip if no record can be found for a request. How can i achive this?

share|improve this question

migrated from stackoverflow.com Aug 19 '11 at 7:53

This question came from our site for professional and enthusiast programmers.

    
Do you want to do this for subdomains of a single domain, or every domain you ever get asked about? If the latter, how do you resolve domains which your instance of Bind does not control? –  DaveRandom Aug 18 '11 at 22:52
    
I want to do this for every domain. The bind Server resolves "normal" domains with the root servers and has a internal list too. –  Johni Aug 19 '11 at 0:23
add comment

2 Answers

See if this answer helps you: http://serverfault.com/questions/132023/configuring-bind-to-serve-a-default-ip-for-dns-queries.

Hope it helps you.

Seems to me that this question belongs to http://serverfault.com/ site ;) Sorry.

share|improve this answer
add comment

This feature has apparently been added in BIND 9.9 - otherwise known as NXDOMAIN rewriting.

share|improve this answer
add comment

Your Answer

 
discard

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