ddns-hostname and IPv6

Carlos Vicente cvicente at network-services.uoregon.edu
Fri Aug 13 23:58:12 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carlos Vicente wrote:
> Suppose I wanted to ignore the client-supplied hostname and have dhcpd
> update DNS with an IPv6-derived name.
> 
> More specifically, what would be the IPv6-equivalent way of doing the
> following?
> 
> ddns-hostname = concat ("dyn-", binary-to-ascii (10, 8, "-",
> leased-address));
> 
> 
> Thanks in advance,
> 
> cv

No reply, so I'm guessing the feature is not there (yet).

I was able to hack it to the point where I get somewhat close:

ddns-hostname = concat("dyn-",binary-to-ascii(16,16,"-",substring(option
dhcp6.ia-na, 16, 16)));

But it seems to me that the equivalent of the 'leased-address'
expression for IPv6 leased addresses would be ideal, though.

Thoughts?

cv

_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMZdwUDADXcoYj2ZwRAuslAJ9QffyDhCgxR8TQnUuDQTOVV0eFmwCeKXWa
5J191CoyvBIrYmPk7bImPps=
=2SqE
-----END PGP SIGNATURE-----



More information about the dhcp-users mailing list