In article <mailman.1224.1271891255.21153.bind-us...@lists.isc.org>, Mark Hedges <hed...@scriptdolphin.com> wrote:
> 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. You need to run a caching nameserver on the sendmail machines, and point them to 127.0.0.1 in /etc/resolv.conf. The stub resolver doesn't follow delegations, it sends recursive queries and expects the server to do all the work. > > 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 -- Barry Margolin, bar...@alum.mit.edu Arlington, MA *** PLEASE don't copy me on replies, I'll read them in the group *** _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users