generate domains list also on pac.remove

This commit is contained in:
Peter Hormanns 2019-10-04 18:07:47 +02:00
parent 5866337e21
commit 8ecd2381a0

View File

@ -105,6 +105,10 @@ public class PacProcessorFactory implements EntityProcessorFactory {
createHttpdVirtualProc(hive), createHttpdVirtualProc(hive),
createHiveDNSRemoveProcessor(domainName), createHiveDNSRemoveProcessor(domainName),
createAccountingRulesProc()), "remove packet"); 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; return waiting;
} else { } else {
return new NullProcessor(); return new NullProcessor();