ntang (ntang) wrote,

  • Mood:
  • Music:


Damnit. I LIKE the BIND zone files, they're so easy to set up. djbdns loses major points for its wanky zone file format.

Here's an example, ripped from the tinydns-data page:

Here is a typical data file:





Here is the same information in traditional zone-file format (with the two zones merged):

heaven.af.mil. 2560 IN SOA a.ns.heaven.af.mil. hostmaster.heaven.af.mil. ...
     heaven.af.mil. 259200 IN NS a.ns.heaven.af.mil.
     heaven.af.mil. 259200 IN NS b.ns.heaven.af.mil.
     heaven.af.mil. 86400 IN MX mx.heaven.af.mil.

     3.2.1.in-addr.arpa. 2560 IN SOA a.ns.3.2.1.in-addr.arpa. hostmaster.3.2.1.in-addr.arpa. ...
     3.2.1.in-addr.arpa. 259200 IN NS a.ns.3.2.1.in-addr.arpa.
     3.2.1.in-addr.arpa. 259200 IN NS b.ns.3.2.1.in-addr.arpa.
     3.2.1.in-addr.arpa. 86400 IN MX mx.3.2.1.in-addr.arpa. 86400 IN PTR lion.heaven.af.mil.
     lion.heaven.af.mil. 86400 IN A
     mx.heaven.af.mil. 86400 IN A
     mx.3.2.1.in-addr.arpa. 86400 IN A 86400 IN PTR tiger.heaven.af.mil.
     tiger.heaven.af.mil. 86400 IN A
     a.ns.heaven.af.mil. 259200 IN A
     a.ns.3.2.1.in-addr.arpa. 259200 IN A 86400 IN PTR bear.heaven.af.mil.
     bear.heaven.af.mil. 86400 IN A
     b.ns.heaven.af.mil. 259200 IN A
     b.ns.3.2.1.in-addr.arpa. 259200 IN A 86400 IN PTR cheetah.heaven.af.mil.
     cheetah.heaven.af.mil. 86400 IN A 86400 IN PTR panther.heaven.af.mil.
     panther.heaven.af.mil. 86400 IN A
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment