TITLE
    MacDNS: Exporting Zone Files & Zone Transfers
Article ID:
Created:
Modified:
22028
5/30/97
4/25/00

TOPIC

    This article explains how to export the zone files from MacDNS to a UNIX server.


DISCUSSION

    Zone transfers are used to propagate changes between domain name servers. Typically zone transfers occur on periodic basis controlled by timers at the secondary server. If your UNIX workstation is configured as a secondary server for this domain, it will automatically initiate zone transfers periodically. The zone transfer model uses a "pull" methodology governed by the secondary server rather than a "push" initiated by the primary server (MacDNS). Page thirty of the MacDNS Administrator's Guide provides some description of these timers.

    On UNIX workstations, zone transfers can be initiated (that is "pulled") using the named-xfer command. To force an immediate transfer you can use a command like this:

    named-xfer -z company.com -f /tmp/db.company -s 0 primary.company.com

    This requests a transfer of zone files for the domain "company.com" from the domain name server named "primary.company.com". The -f option specifies that the resulting zone file will be saved in file named /tmp/db.company. The -s flag forces an immediate transfer since a serial number of zero will always be less than the primary server's zone file serial number and indicates that a zone transfer is needed to update the local copy.

    If what is desired is merely an ascii file containing the zone file, this already exists in standard format on the workstation running MacDNS and can be copied as needed. By default this file bears the same name as the domain it contains entries for (for example, company.com).


Document Information
Product Area: Apple Software; Communications-Networking
Category: Internet Connection
Sub Category: General Topics

Copyright © 2000 Apple Computer, Inc. All rights reserved.