On Sat, 2016-03-05 at 13:07 +0100, Matthias Mandlmeier wrote: > Nsupdate will work with my server. I can try to create a patch for > this but then I need to know where the variables are set in the > sources that I can trigger the hostname and send it to Bind. Most likely you need to modify config.c (and ocserv-args.def) to add new config file variables. The update should be triggered at main -worker.c when the CMD_SESSION_INFO message is received by main which contains the hostname. regards, Nikos