Caching only Bind, default answer

Kevin Darcy kcd at daimlerchrysler.com
Wed Nov 26 21:44:02 UTC 2003


Enrico Demarin wrote:

>Hi all,
>
>I have a problem : i'm using bind as a caching only nameserver, and i
>would like to know if there is a way to have it "fall back" to a
>default answer if the forwarded query fails.
>
>for example if a client tries to resolve foobar.com and the forwarder
>returns SERVFILE, my bind should return an internal address
>192.168.99.99 instead.
>
>Is there a configuration that would make this possible ?
>
No, there is no capability in BIND to give an "alternate" address based 
on the returned RCODE of a forwarded query.

                                                                         
            - Kevin




More information about the bind-users mailing list