Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

share|improve this answer

Your Answer

 
discard

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