~ubuntu-branches/ubuntu/raring/maradns/raring

« back to all changes in this revision

Viewing changes to doc/en/source/bind2csv2.ej

  • Committer: Bazaar Package Importer
  • Author(s): Kai Hendry
  • Date: 2010-01-24 12:17:40 UTC
  • mfrom: (1.1.13 upstream) (10.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100124121740-a4e1fjobwaouz443
Tags: 1.4.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
</HEAD>
5
5
<BODY>
6
6
 
7
 
<h1>Using BIND zone files in MaraDNS 1.3</h1>
 
7
<h1>Using BIND zone files in MaraDNS</h1>
8
8
 
9
 
MaraDNS 1.3 now has BIND zone file support.  This means it is possible 
 
9
MaraDNS has some BIND zone file support.  This means it is possible 
10
10
to use BIND zone files in MaraDNS.  This makes it easier for people to
11
11
use MaraDNS in mixed DNS server environments. <p>
12
12
 
13
13
Instead of having direct BIND zone file support, MaraDNS has a script,
14
14
called <tt>bind2csv2.py</tt>, that converts BIND zone files in to 
15
 
the "csv2" zone file format that MaraDNS 1.2 and 1.3 use.  The zone
16
 
files generated by <tt>bind2csv2.py</tt> are <i>not</i> MaraDNS 1.2 
17
 
compatible; MaraDNS 1.3 is needed to read zone files generated by
18
 
<tt>bind2csv2.py</tt>. <p>
 
15
the "csv2" zone file format that MaraDNS uses.   <p>
19
16
 
20
17
<tt>bind2csv2.py</tt> is a Python script, written in version 2.2.3
21
18
of the Python interpreter.  The script <i>should</i> be compatible
25
22
of <tt>bind2csv2.py</tt>.  Naturally, you will need the Python
26
23
interpreter installed on your system to use <tt>bind2csv2.py</tt>.  
27
24
This is a well-known open source language supported by most modern
28
 
Linux and BSD distributions.
 
25
Linux and BSD distributions. <p>
29
26
 
30
27
To use the script, enter a directory containing BIND
31
28
zone files, and invoke the script thusly:<p>
34
31
bind2csv2.py -c zone1 zone2 zone3
35
32
</pre>
36
33
 
37
 
Substiture "zone1", "zone2", and "zone3" with a list of one or more 
38
 
BIND zone files you wish be converted in to MaraDNS 1.3 csv2 zone
 
34
Substitute "zone1", "zone2", and "zone3" with a list of one or more 
 
35
BIND zone files you wish be converted in to MaraDNS csv2 zone
39
36
files.  <p>
40
37
 
41
38
Once the script is run, you should have files with names like
48
45
 
49
46
<h2>BUGS</h2>
50
47
 
51
 
<tt>bind2csv2.py</tt> is not a perfect zone file convertor.  In
 
48
<tt>bind2csv2.py</tt> is not a perfect zone file converter.  In
52
49
particular, <tt>bind2csv2.py</tt> does not act like BIND when NS records
53
50
have different TTLs.  Please make sure all NS records in your BIND zone
54
51
files have the same TTL.  <p>