~fincham/arbitrary-dns64-generator

341606d6da63f7cc36e855799e3bbdcc2bef1458 — Michael Fincham 5 years ago 5fda7e1 master
Update README.md
1 files changed, 8 insertions(+), 2 deletions(-)

M README.md
M README.md => README.md +8 -2
@@ 1,8 1,10 @@
# arbitrary-dns64-generator

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.

## Configuration

Configure in `pdns.conf` like so:

    launch=pipe
    pipe-command=/srv/dns/arbitrary-dns64-generator dns64.example.com ns1.example.com dns@example.com
    pipe-regex=^(.*\.dns64\.example\.com|dns64\.example\.com)$

Where `dns64.example.com` is the zone to serve, `ns1.example.com` and `dns@example.com` are used to construct the SOA.