syntax/format of zone on slave $ORIGIN/paragraph - sorted?

Walter Smith whatisee1 at yahoo.com
Thu Feb 10 16:53:59 UTC 2011


Is it possible to have just single sorted paragraph(s) within all these repeating $ORIGINs?

Like this:

$ORIGIN bar.
a A 1.2.3.4
b A 1.2.3.5
c A 1.2.3.6

$ORIGIN foo.bar.
a A 1.2.3.44

b A 1.2.3.55

c A 1.2.3.66

$ORIGIN cd-to.bar.

a A 1.2.3.444


b A 1.2.3.555


c A 1.2.3.666


...'cause in my case I see this $ORIGIN keep repeating over-and-over again and I have to extract and blend all these paragraphs...like some way down the road I'll see again:


$ORIGIN bar.
x A 1.2.3.40
y A 1.2.3.50
z A 1.2.3.60



Thanks,
-WS



--- On Wed, 2/9/11, Torinthiel <torinthiel at data.pl> wrote:

From: Torinthiel <torinthiel at data.pl>
Subject: Re: syntax/format of zone on slave $ORIGIN/paragraph - sorted?
To: bind-users at lists.isc.org
Date: Wednesday, February 9, 2011, 10:50 AM

On 02/09/11 17:34, Walter Smith wrote:
> Hello,
> 
> I have bind/named running on Linux master and slaves. All is good, but
> now when I’m trying to clean up some old records – I realized that
> sorted zone on slaves are quite uneven. What I meant is, the $ORIGIN
> splits the zone into some unknown to me syntax/format. Is there anywhere
> I can find the description/documentation on it – How exactly slave parse
> the zone from master and puts all these arbitrary paragraphs with $ORIGIN.

$ORIGIN is simply appended to every name that does not have dot at the end.
So
$ORIGIN example.com
www a 1.2.3.4

and
www.example.com. a 1.2.3.4
are completely equivalent.

Now, why would you want to look into slave files, except for verifying
that the zone transfer succeeded?
Torinthiel
_______________________________________________
bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110210/8741410e/attachment.html>


More information about the bind-users mailing list