Newbie questions
Kevin Darcy
kcd at daimlerchrysler.com
Tue Jul 6 23:14:08 UTC 2004
williams wrote:
>Hi,
>
>Sorry for this newbie question. I really appreciate any help from you.
>I have setup a LAN behind DLink DSL router.
>I want to have web, mail, ftp, and dns server setup on a Linux box.
>dns is for resolving names of local machines (behind the dsl router).
>All the other local machines will be pointed to the local dns server
>to resolve names of local machines and public internet.
>
>My question is what kind setting of bind should I use? Cacheing?
>
Some things about BIND configuration are "global" to the nameserver
instance, and other things are specific to a particular zone definition.
If you want to maintain your own local DNS for internal names, then you
need to define a master zone for that. If you want everything *else* to
resolve from the Internet, then you need to enable the caching function
globally, which involves making sure that a) recursion is turned on
(it's enabled by default, but if you are somewhat paranoid you could
limit it to just your address range via allow-recursion), and b) a
"hints" file is defined (named will use a compiled-in list of Internet
root nameservers if you don't define "hints" yourself). If you're using
private addressing (which would be the default for a D-Link), you should
also set up the appropriate reverse zone (e.g. 168.192.in-addr.arpa) as
master on your nameserver.
- Kevin
More information about the bind-users
mailing list