Nemo DJBDNS Package - Upgrade Information

Upgrade information of the second generation of DJBDNS package.

dnscache (IPv4) root/servers Directory

With version 3 of the package, the root/servers directory format has changed.

Upgrade Roots File

The root file has to be converted to the new format. This new format must be compiled into CDB format using the dnscache-data command.

cat @ | dnscache-iplist2data "." > data

dnscache-data

Upgrade Other Files

As above, the domain files have to be converted to the new format. This new format must be compiled into CDB format using the dnscache-data command. For example:

cat example.com | dnscache-iplist2data "example.com" >> data

dnscache-data

dnscache6 (IPv6) root/servers Directory

With version 3 of the package, the root/servers directory format has changed.

Upgrade Roots File

The root file has to be converted to the new format. This new format has to be compiled into CDB format using the dnscache6-data command.

cat @ | dnscache6-iplist2data "." > data

dnscache6-data

Upgrade Other Files

As above, the domain files have to be converted to the new format. This new format has to be compiled into CDB format using the dnscache6-data command. For example:

cat example.com | dnscache6-iplist2data "example.com" >> data

dnscache6-data

tinydns-data File Format Conversions

With version 4 of the package, the tinydns-data file format has changed.

Upgrade Version 1 Data Format File

The root/data file has to be converted to the new format. This new format has to be compiled into CDB format using the tinydns-data command.

A suggested method of conversion follows:

mv data data.v1

cat data.v1 | tinydns-v1data2data > data

tinydns-data

Upgrade Version 3 Data Format File

The root/data file has to be converted to the new format. This new format has to be compiled into CDB format using the tinydns-data command.

A suggested method of conversion follows:

mv data data.v3

cat data.v3 | tinydns-v3data2data > data

tinydns-data