delegating subname.localdomain to 127.0.0.2 on the client machine?

Mark Hedges hedges at scriptdolphin.com
Wed Apr 21 23:07:24 UTC 2010


Hi...

Is it possible to configure .localdomain to delegate a
subdomain to 127.0.0.2, so that the client then tries to do
a lookup from that localhost address on itself?

The scenario is a farm of sendmail + RBL servers that have
independent management and databases, but a single bind
server.  Sendmail etc. would do a lookup of
78.56.34.12.rbl.localdomain and it would look at localhost
on 127.0.0.2, where the local RBL service listens.

Is that possible?

For lookups that work when queried directly from the client
local RBL on 127.0.0.2,

this causes the response "no answer:"

 view local_domains {
     match-clients       { localhost; internal; };
     match-destinations  { localhost; internal; };
     recursion no;
     include "/etc/named.rfc1912.zones";
 };

and "recursion yes" causes the response "NXDOMAIN."

Those were better outcomes, it seemed, than "response timed
out" when rfc1912.zones was lumped into views of the
internal network and vpn domains, which have recursion for
looking up external names.

Mark



More information about the bind-users mailing list