totd
- is a C DNS proxy that supports IPv6 <==> IPv4 record translation.
About totd
Trick Or Treat Daemon
totd; totd is a small DNS proxy nameserver that supports IPv6 only hosts/networks that communicate with the IPv4 world using some translation mechanism. Examples of such translation mechanisms currently in use are:- IPv6/IPv4 Network Address and Packet Translation (NAT-PT) implemented e.g; by Cisco.
- Application level translators as the faithd implemented by the KAME project (http://www.kame.net). See faithd(8) on *BSD/Kame.
-
DNS-proxy for IPv4/IPv6 translation
These translators translate map IPv4 to IPv6 connections and back in some way. In order for an application to connect through such a translator to the world beyond it needs to use fake or fabricated addresses that are routed to this translator. These fake addresses don't exist in the DNS, and most likely you would not want them to appear there either. Totd fixes this problem for now (until more elegant solutions emerge?) by translating DNS queries/responses for the faked addresses. totd constructs these fake addresses based on a configured IPv6 translator prefix and records it *does* find in DNS. Totd is merely a stateless DNS-proxy, not a nameserver itself. Totd needs to be able to forward requests to a real nameserver. In addition, totd has experimental support for reverse lookup of 6to4 addresses and for translation scoped address queries. See also, the README file and man page that ships with totd. Installation
-
FreeBSD:
Using the ports system:
cd /usr/ports/dns/totd make install clean
Using the pkg system:pkg install dns/totd