From c44d8b51ffb5a413f8bbdbd9991bbc573853e397 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henryk=20Pl=C3=B6tz?= Date: Fri, 3 Oct 2014 20:04:14 +0200 Subject: Apply patch djbdns-1.05-test27.diff.bz2 Source was http://www.fefe.de/dns/djbdns-1.05-test27.diff.bz2, SHA1 f0380ec1866f49c0bcf6369a923ac0a4a5095da8 --- README.ipv6 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.ipv6 (limited to 'README.ipv6') diff --git a/README.ipv6 b/README.ipv6 new file mode 100644 index 0000000..9be5a10 --- /dev/null +++ b/README.ipv6 @@ -0,0 +1,23 @@ +The patch adds ipv6 transport support for djbdns. It would work for +tinydns and dnscache. It requires IPv4 mapped addresses support enabled +in the operating system (which is true for Linux and can be enabled for +the BSDs except OpenBSD). + +The log format changes to log the full IPv6 addresses in a non-standard, +"flat" form, for example 00000000000000000000ffffc7fe1f01 (this is +analogous to ::ffff:199.254.31.1). + +The localization format of dnscache-data was amended to support IPv6. +Instead of + + %in:192.168 + +you need to use the above flat form with a prepended s for IPv6. The +IPv4 form should still work unchanged. Note that the "data.cdb" file +format changes for this and is not compatible. If you run an unpatched +tinydns on it, it will not recognize any of the localization data. + +dnscache will only try to lookup AAAA records for finding nameservers if +the A record lookup failed. So IPv4 is default and stays like that, to +not slow down DNS lookups by looking up all name servers as IPv6 and +failing for all of them. -- cgit v1.2.3