diff --git a/dnsdist.conf b/dnsdist.conf index 99fde45..55eeda9 100644 --- a/dnsdist.conf +++ b/dnsdist.conf @@ -17,14 +17,17 @@ addAction(AndRule{MaxQPSIPRule(5), TCPRule(false)}, TCAction()) newServer({address="127.0.0.1:5353", name="HSD"}) addLocal('0.0.0.0:53', {reusePort=true}) +addLocal('[::]:53', {reusePort=true}) addDOHLocal("127.0.0.1:8053", nil, nil, {"/", "/dns-query"}, { reusePort=true }) addTLSLocal('0.0.0.0', '/etc/letsencrypt/live/hnsdoh.com/fullchain.pem', '/etc/letsencrypt/live/hnsdoh.com/privkey.pem', { reusePort=true }) +addTLSLocal('[::]', '/etc/letsencrypt/live/hnsdoh.com/fullchain.pem', '/etc/letsencrypt/live/hnsdoh.com/privkey.pem', { reusePort=true }) addACL('0.0.0.0/0') +addACL('[::]/0') map = { newDOHResponseMapEntry("^/$", 307, "https://welcome.hnsdoh.com") } dohFE = getDOHFrontend(0) dohFE:setResponsesMap(map) setKey("csl2icaGACsP3+M9tx55c8+dBxVCnlnqAHEC92P55eo=") -controlSocket('127.0.0.1:5199') \ No newline at end of file +controlSocket('127.0.0.1:5199') diff --git a/public/index.html b/public/index.html index 0ebf683..c068a34 100644 --- a/public/index.html +++ b/public/index.html @@ -318,6 +318,7 @@ document.getElementById('refresh-ping').addEventListener('click', function (even