Gentoo Archives: gentoo-user

From: Robert Welz <welz@×××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Bind (Named) SOA Records
Date: Wed, 23 Aug 2006 17:39:11
Message-Id: 44EC916B.60700@fixe-post.de
In Reply to: [gentoo-user] Bind (Named) SOA Records by Michael Crute
1 Michael Crute wrote:
2 > I am trying to write a scrip to maintain my Bind zone files and I was
3 > wondering if it is valid to cram the SOA all onto one line. I have
4 > scoured the internet and can't find anyone who does it that way. My
5 > question is... will it break stuff? Right now my SOA looks like:
6 >
7 > @ IN SOA ns1.domain.com. hostmaster.domain.com. (
8 > 2006082201 ; serial number
9 > 12h ; Refresh
10 > 1h ; Retry
11 > 2w ; Expire
12 > 1h ; Min TTL
13 > )
14 >
15 > what I am proposing is this:
16 >
17 > @ IN SOA ns1.domain.com. admin.domain.com. ( 2006082201 12h 1h 2w 1h )
18 >
19 > Are the two equivalent?
20 >
21 > -Mike
22 >
23
24 They should be.
25 "DNS and BIND", 4th issue, German iprint, from Paul Albitz & Cricket
26 Liu, O'Reilly 2004 says (I translate free): The brackets allow the
27 SOA-Record to go over several lines.
28
29 So I would assume they allow but this is an option only.
30
31 Greetings,
32 Robert
33
34 --
35 gentoo-user@g.o mailing list