Can dns send back a default ip address upon error
kcd at daimlerchrysler.com
Wed Jan 8 19:20:36 UTC 2003
Mike Parker wrote:
>I currently have a cable connection and my linux box acting as router, dns,
>proxy and webserver. If the cable goes down, external dns resolution fails
>and my users browsers timeout with a dns error. I would idealy like to
>return a default ip address (of my local server) which would then have a
>status page advising of the problem.
BIND has no built-in way to do this, but you could script a
reconfiguration of BIND whenever the network fails and then again when
it is restored again; a "fake" root zone with a wildcard A record
pointing to your local server should suffice while in "disconnected" mode.
More information about the bind-users