From ac9c906a33269c09d1cc82992d0a0d8e916e8da7 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Thu, 11 Jan 2001 23:16:31 +0000 Subject: [PATCH] Don't allow the client to specify the domain name for updates. --- server/dhcpd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/dhcpd.c b/server/dhcpd.c index c9ce6116..6d386a7b 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -43,7 +43,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhcpd.c,v 1.107 2001/01/04 00:23:39 mellon Exp $ Copyright 1995-2000 Internet Software Consortium."; +"$Id: dhcpd.c,v 1.108 2001/01/11 23:16:31 mellon Exp $ Copyright 1995-2000 Internet Software Consortium."; #endif static char copyright[] = @@ -71,8 +71,7 @@ int server_identifier_matched; char std_nsupdate [] = " \n\ option server.ddns-hostname = \n\ pick (option fqdn.hostname, option host-name); \n\ -option server.ddns-domainname = \n\ - pick (option fqdn.domainname, config-option domain-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.\";";