Best implementation of many zonfiles containing the same info (to avoid duplicate IP-nr)
barmar at alum.mit.edu
Wed Sep 13 01:31:16 UTC 2006
In article <ee6r0p$7bd$1 at sf1.isc.org>, news at teknologia.com wrote:
> Is it possible to change the domain name in the SOA-record to a @ ??
Yes? In fact, that's how most people write their SOA records, I think:
@ IN SOA masterns.domain.com. hostmaster.domain.com. ( ...
I strongly recommend this. Even when you're not trying to share a zone
file between zones, it makes it easy to cut and paste the SOA record.
> $TTL 14400
> @ IN SOA domainname.com. registry.latitud.net. (
> 2006041201 ; Serial
> 14400 ; Refresh
> 900 ; Retry
> 604800 ; Expire
> 3600 ) ; Negative Cache TTL
> @ IN NS ns.isp.net.
> // Martin
> Barry Margolin skrev:
> > In article <edrs9j$an0$1 at sf1.isc.org>, news at teknologia.com wrote:
> > > When handling a lot of domain names you want to avoid the same IP-nr in
> > > many zonefiles, but how is best way of doing it?
> > If all the zones are identical, you can simply use the same filename in
> > all the "zone" statements. In the zone file, use @ to refer to the zone
> > name, and make all other names unqualified.
> > --
> > Barry Margolin, barmar at alum.mit.edu
> > Arlington, MA
> > *** PLEASE post questions in newsgroups, not directly to me ***
> > *** PLEASE don't copy me on replies, I'll read them in the group ***
Barry Margolin, barmar at alum.mit.edu
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
More information about the bind-users