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

  • Where I am nowadays

    I haven't updated this in a million years... in case you're wondering why, it's because I've mostly moved on to other places. You can find my…

  • DSL

    I've been a loyal Megapath customer for years. (Something like 8 or 10, crazy, in that range...) They've had great service (and a great service -…

  • MySQL failover

    So we're running some MySQL at work, which is a little unusual for us, but is probably long overdue. (Specifically, it's for some Wordpress…

  • 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