A pipe backend for PowerDNS implementing ipv6-literal.net
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
ipv6-literal-test.sh
ipv6-literal.py

README.md

ipv6-literal-pdns

A pipe backend for PowerDNS implementing ipv6-literal.net

From Wikipedia

IPv6 addresses are transcribed as a hostname or subdomain name within this name space, in the following fashion:

2001:db8:85a3:8d3:1319:8a2e:370:7348

is written as

2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.net

This notation is automatically resolved by Microsoft software without any queries to DNS name servers. If the IPv6 address contains a zone index, it is appended to the address portion after an 's' character:

fe80--1s4.ipv6-literal.net

The zone index notation is not planned for implementation.

Quickstart:

  • Add the following to a file in pdns.d, eg /etc/powerdns/pdns.d/pdns.pipe.conf:

      launch+=pipe
      pipe-command=/path/to/ipv6-literal.py
    
  • Reload pdns