From fb174ad66da11fe6265dce9dc2e1bdd5f26123a5 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Wed, 6 Dec 2023 11:17:09 -0800 Subject: [PATCH] Add rev dns lookup for supernode tunnels (#970) --- files/etc/cron.hourly/check-supernodes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/etc/cron.hourly/check-supernodes b/files/etc/cron.hourly/check-supernodes index 3ee3c561..59ed5e9d 100755 --- a/files/etc/cron.hourly/check-supernodes +++ b/files/etc/cron.hourly/check-supernodes @@ -56,7 +56,7 @@ local dns = "" for _, hna in ipairs(olsr.getOLSRHNA()) do if hna.genmask == 8 and hna.destination == "10.0.0.0" then - dns = "#" .. hna.gateway .. "\nserver=/local.mesh/" .. hna.gateway .. "\nrev-server=10.0.0.0/8," .. hna.gateway .. "\nrev-server=172.31.0.0/16," .. hna.gateway .. "\n" + dns = "#" .. hna.gateway .. "\nserver=/local.mesh/" .. hna.gateway .. "\nrev-server=10.0.0.0/8," .. hna.gateway .. "\nrev-server=172.31.0.0/16," .. hna.gateway .. "\nrev-server=172.30.0.0/16," .. hna.gateway .. "\n" break end end