From 8ecd2381a05beccb4389d2fa03502b3fd420b33d Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Fri, 04 Oct 2019 18:07:47 +0200
Subject: [PATCH] generate domains list also on pac.remove

---
 hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
index 251a450..34ee58b 100644
--- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
+++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -105,6 +105,10 @@
 		        createHttpdVirtualProc(hive),
 		        createHiveDNSRemoveProcessor(domainName),
 		        createAccountingRulesProc()), "remove packet");
+			final Config config = Config.getInstance();
+			for (String queueName : config.getProperty("queues.dns").split(",")) {
+				waiting.appendProcessor(queueName, createDNSServerConfigProcessor(em), queueName + ".hostsharing.net");
+			}
 			return waiting;
 		} else {
 			return new NullProcessor();

--
Gitblit v1.9.0-SNAPSHOT