Novel task for DNS.

Cricket Liu cricket at nxdomain.com
Tue Jul 31 17:04:15 UTC 2001


> I work for ntl, a major UK ISP.  One of our future products will include
> user accounts that can `expire', requiring the user to re-register (to
> some degree) to reactivate the account.  We can (apparently) set up RADIUS
> on the modem racks such that anyone whose account has expired gets put
> into a specially constructed sandbox, from which they either re-register
> or logout.  To ensure the user hits the re-registration system we want to
> set up a DNS server within the sandbox that resolves /any/ domain name to
> the IP address of the re-registration server.
>
> I think that this should be possible using BIND configuration files, but
> the timescales I have been given preclude (sadly) carrying out all the
> research myself.
>
> Has anyone else set up something similar using BIND? Or can someone
> categorically say `that can't be done'.

You can set up a root name server with a wildcard entry
that maps every domain name to the same IP address:

In named.conf:

zone "." {
    type master;
    file "db.root";
};

In db.root:

.    IN    SOA    ...
    IN    NS    ...
*    IN    A    <your re-registration server's IP address>

cricket



More information about the bind-users mailing list