[H-GEN] local dns only
Edwin Groothuis
edwin at mavetju.org
Thu Dec 5 07:57:26 EST 2002
[ Humbug *General* list - semi-serious discussions about Humbug and ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
On Thu, Dec 05, 2002 at 07:03:34PM +1000, Sandra Milne wrote:
> At 19:32 5/12/2002 +1100, you wrote:
>
> >[ Humbug *General* list - semi-serious discussions about Humbug and ]
> >[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
> >
> >On Thu, Dec 05, 2002 at 06:07:04PM +1000, Sandra Milne wrote:
> >> I'd like to use bind to run a local dns, non-caching, just for
> >>forwarding.
> >Non-caching? Just modify your /etc/resolv.conf and you're done!
> Sorry meant 'local' as in 'local area network'.
Still, non-caching isn't possible (afaik). What you can do, with
bind, is just add this to your options:
options {
[...]
recursion yes;
forward only;
forwarders {
a.b.c.d;
};
listen-on {
e.f.g.h; <- if the machine is the gateway
}
or....
allow-query {
mynets; <- if the machine is not the gateway
}
};
acl mynets {
localnets;
etc;
};
Edwin
--
Edwin Groothuis | Personal website: http://www.MavEtJu.org
edwin at mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php
bash$ :(){ :|:&};: | Interested in MUDs? http://www.FatalDimensions.org/
--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'. See http://www.humbug.org.au/
More information about the General
mailing list