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?

link|improve this question
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
feedback

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

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

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.

link|improve this answer
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown