bind2nsd |
This project builds scripts that translate DNS information in BIND format to NSD format, and then copy that translation to an NSD server. The goal is to make it simple to run redundant BIND and NSD servers and keep them in sync, using only the BIND configuration files.
In the tables that follow, we document what BIND construct gets translated to which NSD construct.
Please note that these are not currently complete. That is to say, not all BIND constructs are translated, and it is possible that we've missed a few completely. Corrections and additions are always welcome.
BIND configuration clauses and their corresponding translations:
One can include certain directives in the zone files. NSD handles
the standardized ones. The $GENERATE
directive, however,
is not yet standardized but still commonly used.
The bind2nsd
scripts will look for $GENERATE
in the zone files and expand it as appropriate. The version of
$GENERATE
currently handled is of this form:
$GENERATE <start>-<stop> [ <step> ] <left-hand-side> <type> <right-hand-side>
where:
<start>
<stop>
<step>
<left-hand-side>
<type>
string. The string '$
' will be replaced with the
current value of the iteration.
<type>
CNAME
, NS
,
A
, AAAA
, DNAME
,
or PTR
<right-hand-side>
<type>
string. The string '$
' will be replaced with the
current value of the iteration.
There is little rigorous checking done of the BIND information (some
must obviously be done, but it is not exhaustive). Remember: the
named-checkconf
command is your friend.
Last updated: 17 July 2007 |