khalahan/NamecoinToBind — pull request #2 by watfordjc (2012-05-04 22:38:16+00:00)
Title: NS delegation fix

IPv6 addresses retain colons during preg_replace.
- Previous behaviour: colons removed, filter_var not recognise string as IPv6 address, treated as hostname, period added, delegation to IPv6 addresses not possible.
- New behaviour: colons kept, filter_var recognises string as IPv6, NS records & AAAA glue records working as expected.

Prepend "ns." rather than append ".ns"
- Previous behaviour: nameserver for delegated example.bit became example.ns.bit (out of bailiwick (of domain), forward-confirmed reverse DNS on nameserver(s) impossible).
- New behaviour: nameserver for delegated example.bit becomes ns.example.bit (in bailiwick (of domain), FCrDNS on nameservers possible).