"if exists host-name" for IPv6 DDNS?

Joachim Tingvold joachim at tingvold.com
Thu Sep 22 22:09:19 UTC 2011


Hi,

Is there any equivialent to the following syntax, that works with IPv6 DDNS?

   if exists host-name {
      ddns-hostname = lcase(option host-name);
   } else {
      ddns-hostname = binary-to-ascii(10, 8, "-", leased-address);
   }

If the hostname the client provided already exists, it should use the IPv6-address to make the hostname.

"2001:20a0:4000:300::123" would become "2001-20a0-4000-300-69".

-- 
Joachim


More information about the bind-users mailing list