Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

zoneserver(8) [debian man page]

ZONESERVER(8)							    zoneserver							     ZONESERVER(8)

NAME
zoneserver - handle zone transfers and other TCP functions for MaraDNS DESCRIPTION
zoneserver listens on port 53/tcp and handles DNS zone transfers and any DNS query done over TCP instead of UDP. zoneserver uses a configuration file, /etc/mararc by default, to determine its parameters. USAGE
zoneserver -f pointer_to_mararc_file OPTIONS
-f Specifies the location of the configuration file. MaraDNS uses the same configuration file for both the main dns server and the zoneserver. CONFIGURATION FILE FORMAT
The file format for the mararc file can be found in the mararc(5) manual page. In particular, the zoneserver uses the zone_transfer_acl, tcp_convert_acl, tcp_convert_server, bind_address, and recursive_acl mararc parameters. EXAMPLE MARARC FILE
In this example mararc file, which is used both by maradns and zoneserver, we allow 10.1.2.3, 10.1.14.7, and 192.168.116.{any} to transfer zones, and we allow anyone on the internet to perform TCP queries. The only zone served in this example is example.com: ipv4_bind_addresses = "10.1.1.1" # Our IP tcp_convert_server = "10.1.1.1" # IP of UDP DNS server tcp_convert_acl = "0.0.0.0/0" # Anyone may do DNS-over-TCP chroot_dir = "/etc/maradns" # Where zone files are csv2 = {} # Initialize list of zone files csv2["example.com."] = "db.example.com" # example.com zone file # The next line is a list of who can transfer zones from us zone_transfer_acl = "10.1.2.3, 10.1.14.7, 192,168.116.0/24" SEE ALSO
The man pages maradns(8) and mararc(5) http://www.maradns.org BUGS
zoneserver assumes that the authoritative NS records are immediately after the SOA record, and that there is at least one non-NS between that last authority NS record for the zone and the first delegation NS record. IXFR requests are incremental zone transfers, meaning that the DNS server should only display records changed since the last IXFR request. zoneserver, however, treats an IXFR as if it were an AXFR request, outputting all of the records for the zone in question. zoneserver closes the TCP connection after transferring the requested zone. If an unauthorized client attempts to connect to the zoneserver, zoneserver immediately disconnects the unauthorized client. LEGAL DISCLAIMER
THIS SOFTWARE IS PROVIDED BY THE AUTHORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. AUTHOR
MaraDNS is written by Sam Trenholme. Jaakko Niemi used 5 minutes to put the original version this manpage together. Sam has subsequently revised this manual page. October 2001 zoneserver ZONESERVER(8)

Check Out this Related Man Page

BIND2CSV2(1)							 MaraDNS reference						      BIND2CSV2(1)

NAME
bind2csv2 - convert zone files from BIND to MaraDNS compatible format DESCRPTION
MaraDNS 1.3 has BIND zone file support. This means it is possible to use BIND zone files in MaraDNS. This makes it easier for people to use MaraDNS in mixed DNS server environments. Instead of having direct BIND zone file support, MaraDNS has a script, called bind2csv2, that converts BIND zone files in to the "csv2" zone file format that MaraDNS 1.2 and 1.3 use. The zone files generated by bind2csv2 are not MaraDNS 1.2 compatible; MaraDNS 1.3 is needed to read zone files generated by bind2csv2. bind2csv2 is a Python script, written in version 2.2.3 of the Python interpreter. The script should be compatible with more recent versions of Python. The script assumes Python is the file /usr/bin/python on your system; if Python is located elsewhere on your system, please change the first line of bind2csv2. Naturally, you will need the Python interpreter installed on your system to use bind2csv2. This is a well-known open source language supported by most modern Linux and BSD distributions. USAGE
To use the script, enter a directory containing BIND zone files, and invoke the script thusly: bind2csv2 -c zone1 zone2 zone3 Substitute "zone1", "zone2", and "zone3" with a list of one or more BIND zone files you wish be converted in to MaraDNS 1.3 csv2 zone files. Once the script is run, you should have files with names like "zone1.csv2", "zone2.csv2", and "zone3.csv2". These files are csv2 zone files that MaraDNS will be able to parse. Copy these csv2 zone files to a place where MaraDNS can find the zone files. Should there already be a "zone1.csv2" file when bind2csv2 is run, the "zone1.csv2" file will be replaced. OPTIONS
None. Bind2csv2 can only be used as above. BUGS
bind2csv2 is not a perfect zone file converter. In particular, bind2csv2 does not act like BIND when NS records have different TTLs. Please make sure all NS records in your BIND zone files have the same TTL. In addition, bind2csv2 also does not support all resource record types that BIND supports. Only the following RRs are supported by bind2csv2: A AAAA AFSDB CNAME GPOS HINFO ISDN LOC MB MD MF MG MINFO MR MX NS NSAP PTR PX RP RT SOA SPF SRV TXT WKS X25 MARADNS
September 2007 BIND2CSV2(1)
Man Page