Newbie needs help - non-authoritative lookup, reverse zone

Barry Margolin barmar at alum.mit.edu
Mon Jun 14 18:04:15 UTC 2004


In article <caknap$14ud$1 at sf1.isc.org>,
 kalahari875 at netscape.net (Arthur Penn) wrote:

> Thanks for your reply. I found a very good article that helped me get
> things straightened out
> (http://www.linuxgazette.com/issue44/pollman/dns.html). This cleared
> up some of the significant confusion I had about setting up DNS with
> BIND 9.
> 
> Regarding keeping the Mandrake DHCP daemon from overwriting
> /etc/resolv.conf, the following seems to have done the trick:
> > To override that action edit /etc/sysconfig/network-scripts/ifcfg-eth0 
> > (1,2 etc)  and add the line
> >
> > PEERDNS=no
> 
> What is the significance of the line "$TTL 1d" that appears at the
> start of named.local? In the example article above, the zone files did
> not have this, and BIND doesn't seem to mind--it messages about
> assuming a value. Should I set this, and what does it mean?\

$TTL specifies the default TTL to use for records that don't have an 
explicit TTL.  Earlier versions of BIND uses the Minimum field from the 
SOA record for this; that gets used as a fallback for backward 
compatibility if you leave out $TTL.

You really should get the DNS & BIND book....

> 
> Also, where do I place the "allow update" text to allow DNS to update
> the zone files (or did I misunderstand what that does)?

You only need this if you're making use of dynamic update (e.g. a DHCP 
server adding/deleting entries as it assigns addresses).

If you need it, it goes in named.conf.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***


More information about the bind-users mailing list