Browse Source
Create dns_add_dnsmasq
Add _acme-challenge for dnsmasq - a lightweight DHCP and caching DNS server
pull/804/head
Andreas Bohne-Lang
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
0 deletions
-
dns_scripts/dns_add_dnsmasq
|
|
|
@ -0,0 +1,7 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
# Make sure you enable in the /etc/dnsmasq.conf this line conf-dir=/etc/dnsmasq.d/,*.conf |
|
|
|
|
|
|
|
echo "txt-record=_acme-challenge.\${1},\$2" > /etc/dnsmasq.d/acme-challenge.conf |
|
|
|
|
|
|
|
systemctl restart dnsmasq |