[Kea-users] dynamic hostname

Marcin Siodelski marcin at isc.org
Thu Nov 6 15:56:58 UTC 2014


Hi,

Currently Kea has well defined format of the generated hostname:
[generated-prefix]-[ip-address-text].[qualifying-suffix]

as described here
http://git.kea.isc.org/~tester/kea/guide/kea-guide.html#dhcp4-ddns-config.

There is no generic mechanism to generate a host name out of anything.
One possibility to influence the hostname being used by the server (so,
store it in the lease database, return in an FQDN option and send to
DNS) would be to use a callout. Perhaps the one that is called when the
query from the client is received and modify the FQDN value in the FQDN
option in the callout. That is pkt4_receive callout, IIRC.

Marcin

On 11/06/14 13:12, alexis wrote:
> Hello, on ISC i have this
> 
> ddns-hostname = concat("MTA-", binary-to-ascii (16,8,"-",substring
> (hardware, 1,6)));
> option host-name = concat("MTA-", binary-to-ascii (16,8,"-",substring
> (hardware, 1,6)));
> 
> can this be achieved on kea? i need to dinamically generate the hostname
> for the device (a cablelabs MTA)
> 
> Thanks in advance.
> 
> 
> _______________________________________________
> Kea-users mailing list
> Kea-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/kea-users
> 



More information about the Kea-users mailing list