Hi, The Ecdysis project [1] has produced a patch set for the unbound DNS resolver to perform DNS64 [2] translations. I've modified the Makefile for the 4.8RELEASE unbound port to create a flavor which incorporates these patches, and verified correct behaviour. Given the current imminent exhaustion of IPv4 address space I think such translation tools will be very useful soon, so perhaps it could make into the 4.9 release ?
[1] http://ecdysis.viagenie.ca/index.html [2] http://tools.ietf.org/id/draft-ietf-behave-dns64-11.txt /Pete ================================================================================================= /usr/ports/net/unbound> diff -u Makefile Makefile.dns64 --- Makefile Mon Jan 24 11:14:44 2011 +++ Makefile.dns64 Mon Jan 24 11:12:58 2011 @@ -1,11 +1,28 @@ # $OpenBSD: Makefile,v 1.21 2010/06/19 21:26:07 jakob Exp $ COMMENT= validating DNS resolver +COMMENT-dns64= validating DNS resolver with Ecdysis DNS64 patches DISTNAME= unbound-1.4.5 CATEGORIES= net MASTER_SITES= http://www.unbound.net/downloads/ + +FLAVORS= dns64 +FLAVOR?= + +.if ${FLAVOR:L:Mdns64} +# +# D/L site should be http://ecdysis.viagenie.ca/download.html +# but that requires registration. However since the patch set +# is BSD licensed, we can redistribute it (with inline +# license intact). +# +MASTER_SITES0= http://systemnet.no/dns64/ +PATCHFILES= ecdysis-unbound-1.4.7.20101117.patch:0 +PATCH_DIST_STRIP=-p1 +.endif + HOMEPAGE= http://www.unbound.net/ MAINTAINER= Jakob Schlyter <ja...@openbsd.org> ================================================================================================= /usr/ports/net/unbound> diff -u distinfo distinfo.dns64 --- distinfo Mon Jan 24 11:17:47 2011 +++ distinfo.dns64 Sun Jan 23 22:55:41 2011 @@ -1,5 +1,10 @@ +MD5 (ecdysis-unbound-1.4.7.20101117.patch) = ZlGR6UPmHJF5FPGPLv5TJw== MD5 (unbound-1.4.5.tar.gz) = 8fbJe5CxXKUDqAuIjDEdbA== +RMD160 (ecdysis-unbound-1.4.7.20101117.patch) = Ft9nyf6IMIT0tqVIl6XMVh20jeU= RMD160 (unbound-1.4.5.tar.gz) = kI2ArPDf5FkpIpiOXKc726uNJqk= +SHA1 (ecdysis-unbound-1.4.7.20101117.patch) = dXQDgUfeo/MrhCxUvWSB4i4Os+M= SHA1 (unbound-1.4.5.tar.gz) = wfInuVRIzf0ABtbQCz1DVFANdWQ= +SHA256 (ecdysis-unbound-1.4.7.20101117.patch) = bc/fw3rU9EsyrY5j8Nu4Jblfbk2R+wT41n/gHbf5j4g= SHA256 (unbound-1.4.5.tar.gz) = kFaFg2cVrHFQmJCa5SaFBDIvDyJslX0Y7TKJXHbYIkw= +SIZE (ecdysis-unbound-1.4.7.20101117.patch) = 265132 SIZE (unbound-1.4.5.tar.gz) = 4317925 =================================================================================================