We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b758339 + e1be762 commit f1dcca5Copy full SHA for f1dcca5
dns_scripts/dns_add_dnsmasq
@@ -0,0 +1,7 @@
1
+#!/usr/bin/env bash
2
+
3
+# Make sure you enable in the /etc/dnsmasq.conf this line conf-dir=/etc/dnsmasq.d/,*.conf
4
5
+echo "txt-record=_acme-challenge.\${1},\$2" > /etc/dnsmasq.d/acme-challenge.conf
6
7
+systemctl restart dnsmasq
dns_scripts/dns_del_dnsmasq
+echo "" > /etc/dnsmasq.d/acme-challenge.conf
0 commit comments