From: Nick Porter Date: Wed, 14 May 2025 18:08:59 +0000 (+0100) Subject: Correct adding 2 DNS servers to DHCP reply X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c76e40deb3d9133bdb9866fc3496aa0f8161212;p=thirdparty%2Ffreeradius-server.git Correct adding 2 DNS servers to DHCP reply --- diff --git a/raddb/policy.d/dhcp b/raddb/policy.d/dhcp index b122f6897a8..2d9ee263f73 100644 --- a/raddb/policy.d/dhcp +++ b/raddb/policy.d/dhcp @@ -3,8 +3,8 @@ dhcp_common { # The contents here are invented. Change them! # Lease time is referencing the lease time set in the # named module instance configuration - reply.Domain-Name-Server = 127.0.0.1 - reply.Domain-Name-Server = 127.0.0.2 + reply.Domain-Name-Server := 127.0.0.1 + reply += { Domain-Name-Server = 127.0.0.2 } reply.Subnet-Mask = 255.255.255.0 reply.Router-Address = 192.0.2.1 reply.IP-Address-Lease-Time = 7200