mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 22:05:23 +00:00
Modify determination of ttl to use for DDNS update [ISC-Bugs #21126]
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
DHCP Server Daemon. */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004-2009 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
|
||||
* Copyright (c) 1996-2003 by Internet Software Consortium
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software for any
|
||||
@@ -72,7 +72,6 @@ char std_nsupdate [] = " \n\
|
||||
option server.ddns-hostname = \n\
|
||||
pick (option fqdn.hostname, option host-name); \n\
|
||||
option server.ddns-domainname = config-option domain-name; \n\
|
||||
option server.ddns-ttl = encode-int(lease-time / 2, 32); \n\
|
||||
option server.ddns-rev-domainname = \"in-addr.arpa.\";";
|
||||
|
||||
/* This is the old-style name service updater that is executed
|
||||
|
Reference in New Issue
Block a user