aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2016-09-30 09:23:27 +0200
committerGravatar Christian Hesse <mail@eworm.de>2016-09-30 09:23:27 +0200
commit9d4eaca63c31ca03a1ed1a9ed38639743d44f657 (patch)
treec21d3bfa000284d30c6c5d66d453003f46d6932f /config
parent14ad87900ea7a286a2b1319f8a19df6b3736d42e (diff)
downloaddyndhcpd-9d4eaca63c31ca03a1ed1a9ed38639743d44f657.tar.gz
dyndhcpd-9d4eaca63c31ca03a1ed1a9ed38639743d44f657.tar.zst
allow to use hostname in config
Diffstat (limited to 'config')
-rw-r--r--config/dhcpd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/dhcpd.conf b/config/dhcpd.conf
index 65764a8..c69f4e7 100644
--- a/config/dhcpd.conf
+++ b/config/dhcpd.conf
@@ -9,7 +9,7 @@ ignore client-updates;
default-lease-time 21600;
max-lease-time 43200;
-option domain-name "__DOMAINNAME__";
+option domain-name "__HOSTNAME__.__DOMAINNAME__";
class "PXEClient" {
match if substring(option vendor-class-identifier, 0, 9) = "PXEClient";