From c5e43188ca064bdff4e58e9678e15d42b145a85c Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 13 Dec 2020 14:59:10 +0100 Subject: [PATCH] bundles/radvd: support not announcing a nameserver --- bundles/radvd/files/radvd.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/radvd/files/radvd.conf b/bundles/radvd/files/radvd.conf index e240d58..8a59f7b 100644 --- a/bundles/radvd/files/radvd.conf +++ b/bundles/radvd/files/radvd.conf @@ -8,9 +8,11 @@ interface ${interface} AdvAutonomous on; AdvRouterAddr on; }; +% if 'rdnss' in config: RDNSS ${' '.join(sorted(config['rdnss']))} { AdvRDNSSLifetime 900; }; +% endif }; % endfor