Upgrading to MyDNS 0.9.12 or later: PTR table obsolete!

Versions of MyDNS prior to 0.9.12 used a "ptr" table to store PTR records. If you are running one of these versions, you must convert this data to standard in-addr.arpa zones to use MyDNS version 0.9.12 or later.

The mydnsptrconvert program

MyDNS versions 0.9.12 and later include a program called mydnsptrconvert. The source code is in src/util, and the program is installed in the same location as the rest of the utilities.

To convert your current "ptr" table data to standard in-addr.arpa zones, just run mydnsptrconvert. It will create any missing zones for you, and will report on its results:

   $ mydnsptrconvert
   mydnsptrconvert: processed 7 zones (0 found, 7 created)
   mydnsptrconvert: processed 844 resource records (0 found, 844 created)

When mydnsptrconvert needs to create new SOA records, it will set the nameserver to "hostname." and the mbox to "hostmaster.hostname.". To override this behavior, you may provide arguments to mydnsptrconvert to specify an explicit nameserver or mailbox. For example:

   $ mydnsptrconvert ns1.example.com hostmaster.example.com

After running mydnsptrconvert

After you've converted your "ptr" table to standard in-addr.arpa zones, you need to remove the obsolete "ptr" table in order to run MyDNS.
   sql> DROP TABLE ptr;