Skip to content

Commit

Permalink
"fix" #51
Browse files Browse the repository at this point in the history
Disable secpoll so that that error regarding "Security Status" is not printed.
  • Loading branch information
Seji64 authored Apr 9, 2024
1 parent b1fedf5 commit be4de8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configs/dnsdist/dnsdist.conf.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/bin/bash
echo ""
echo "-- Disable security status polling via DNS"
echo "setSecurityPollSuffix(\"\")"
echo ""
echo "-- LUA"
if [ "${DNSDIST_RATE_LIMIT_DISABLE}" == "false" ]; then
echo "dbrRateLimit = dynBlockRulesGroup()"
Expand Down Expand Up @@ -31,7 +34,7 @@ echo "setACLFromFile(\"/etc/dnsdist/allowedClients.acl\")"
echo ""

if [ "${DNSDIST_ENABLE_WEBSERVER}" == "true" ]; then
echo "-- Enable WebServer"
echo "-- Enable and configure Webserver"
echo "webserver(\"127.0.0.1:8083\")"
echo "setWebserverConfig({password=hashPassword(\"${DNSDIST_WEBSERVER_PASSWORD}\"), apiKey=hashPassword(\"${DNSDIST_WEBSERVER_API_KEY}\"), acl=\"${DNSDIST_WEBSERVER_NETWORKS_ACL}\"})"
echo ""
Expand Down

0 comments on commit be4de8f

Please sign in to comment.