mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 07:15:44 +00:00
Don't do the DNS update for static hosts.
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char ocopyright[] =
|
static char ocopyright[] =
|
||||||
"$Id: dhcpd.c,v 1.103 2000/11/29 05:35:02 mellon Exp $ Copyright 1995-2000 Internet Software Consortium.";
|
"$Id: dhcpd.c,v 1.104 2000/12/05 07:30:37 mellon Exp $ Copyright 1995-2000 Internet Software Consortium.";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
@@ -70,7 +70,8 @@ int server_identifier_matched;
|
|||||||
#if defined (NSUPDATE)
|
#if defined (NSUPDATE)
|
||||||
char std_nsupdate [] = " \n\
|
char std_nsupdate [] = " \n\
|
||||||
on commit { \n\
|
on commit { \n\
|
||||||
if (((config-option server.ddns-updates = null) or \n\
|
if (not static and \n\
|
||||||
|
((config-option server.ddns-updates = null) or \n\
|
||||||
(config-option server.ddns-updates != 0))) { \n\
|
(config-option server.ddns-updates != 0))) { \n\
|
||||||
set new-ddns-fwd-name = \n\
|
set new-ddns-fwd-name = \n\
|
||||||
concat (pick (config-option server.ddns-hostname, \n\
|
concat (pick (config-option server.ddns-hostname, \n\
|
||||||
|
Reference in New Issue
Block a user