Jul's page (Hungarian) : Jul's packages : djbdns-conf

Preferred patches against djbdns

While djbdns is a very good package, but IMHO is far from perfect. Of course, you can live with it, but some missing features makes you as if you shot yourself in the foot: you cannot use a feature if you use another. That's why I made one patch or two for this exceptional software.


errno patch

Importance: high

The C language was standardized in 1989, but until now some libc's had backwards compatibility with older errno implementation. Glibc 2.3.1 removed that compatibility. The patch is written by Máté Weirdl (not available in the moment). Local copy.


Multiple tinydns-data files patch

Importance: low

This patch allows tinydns-data to allow command-line parameters as configuration files. The latest unified patch is djbdns-1.05-multi_tinydns_data.patch (md5 checksum: 3b59e08b6e9d2c5538762ee60c286867.)

Features:

  • you can maintain multiple zones (group of dns entries) independently (for example slave zones from multiple hosts),
  • every zone file has it's own default SOA SERIAL entry, because every file has independent mtime (modification time) entry in the file system.

Semantic error handling in tinydns-data

Importance: moderate

This patch allows tinydns-data to handle configuration errors. The patch is written by Jonathan de Boyne Pollard.

Features:

  • Abort if location code (in '%' lines) is longer than two characters. Forgetting ':' is a common error, which leads to longer location code.
  • Abort if '.', '&', and '@' records don't contain a valid IP address or an existing host name. Forgetting to specify empty field for IP address if using an existing host name is a common error.
  • Abort if '+' or '=' records miss the IP address field.

tinydns and axfrdns truncates alias chains

Importance: high

This patch fixes CNAME resolving bug, sending A records which CNAME is pointing to. The patch is written by Jonathan de Boyne Pollard.


Bogus CNAME handling in dnscache

Importance: high

This patch fixes some CNAME-related dnscache features. The patch is written by Jonathan de Boyne Pollard.

Features:

  • Caches CNAME RRs
  • Ignores previously cached empty CNAME records
  • Notices lame servers. See alias chain truncate patch. Any tinydns and axfrdns CNAME delegations are marked as lame without that patch.
  • Smarter recursive queries decreasing redundancy
  • No lame entries from lame servers are cached

Outdated root name servers

Importance: medium

This patch changes an outdated name server IP address (j.root-servers.net) to it's new address in dnsroots.global.