@@ 1,8 1,10 @@
A PowerDNS pipe backend which synthesizes IPv4-embedded AAAA records based on the hostname being queried.
A PowerDNS pipe backend which synthesizes IPv4-embedded AAAA records based on the hostname being queried. There is a live instance of this code serving `dns64.name` (e.g. look up `192.0.2.1.dns64.name` to get `64:ff9b::c000:201`)
For example, a query of the form:
## Example usage
A query of the form:
dig 192.0.2.1.dns64.example.com ANY
@@ 12,8 14,12 @@ Will produce the answer:
This can be useful for hosts on v6-only networks where it is necessary to connect to a v4 literal for testing, or at the behest of a customer.
Configure in `pdns.conf` like so:
pipe-command=/srv/dns/arbitrary-dns64-generator dns64.example.com ns1.example.com firstname.lastname@example.org
Where `dns64.example.com` is the zone to serve, `ns1.example.com` and `email@example.com` are used to construct the SOA.