In message <e97fb02731ba3a43b1c6729ce198794e05328a6cf...@he113607.emea1.cds.t-i
nternal.com>, stefan.las...@t-systems.com writes:
> Hi,
> 
> the "named-compilezone" tool can output zone files in two different styles (u
> sing the -s option): 
>     "full" (suitable for processing by a separate script)
>     "relative" (more human-readable)
> 
> By default, the bind daemon uses the "relative" style (or something similar) 
> when writing dynamic zone files to disk.
> Guess what... all those "$ORIGIN" lines make it more difficult to parse the f
> ile by a separate script... ;)

Truly, you don't wan't to be reading master files.  If you need the content
of the zone transfer it from the server.  Doing that you will always get
the latest content and don't have to worry about merging the journal etc.

> Is there a way to change this into "full" style? I haven't found anything in 
> the doc's...
> 
> I know I can use "named-compilezone -j -s full /path/to/zonefile" to re-style
>  the bind zones into a temp file, before parsing it. I'm just wondering if th
> is is really necessary...
> (I'm using RHEL bind 9.8.2)
> 
> Regards,
> Stefan
> 
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
>  from this list
> 
> bind-users mailing list
> bind-users@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: ma...@isc.org
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to