Gentoo Archives: gentoo-user

From: Michael Crute <mcrute@×××××.com>
To: Gentoo Lists <gentoo-user@l.g.o>
Subject: [gentoo-user] Re: Bind (Named) SOA Records
Date: Sun, 27 Aug 2006 22:27:47
Message-Id: 558b73fb0608271523g3c0e026ha80dfc0812d2cc6c@mail.gmail.com
In Reply to: [gentoo-user] Bind (Named) SOA Records by Michael Crute
1 On 8/23/06, Michael Crute <mcrute@×××××.com> 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 <snip>
8 >
9 > what I am proposing is this:
10 >
11 > @ IN SOA ns1.domain.com. admin.domain.com. ( 2006082201 12h 1h 2w 1h )
12 >
13 > Are the two equivalent?
14
15 OK, after a little testing I determined that it is valid to have it
16 all on a single line and when it is on a single line the parens are
17 optional. This works quite nicely and makes my script easier to write.
18
19 Also, Bryan... just for your info the semicolons are simply comments
20 and really aren't at all needed for the DNS server to function
21 properly.
22
23 Thanks for the help everybody.
24
25 -Mike
26
27 --
28 ________________________________
29 Michael E. Crute
30 http://mike.crute.org
31
32 I may not have gone where I intended to go, but I think I have ended
33 up where I intended to be. --Douglas Adams
34 --
35 gentoo-user@g.o mailing list