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
parent
commit
104b2df98a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      dns_scripts/dns_add_dnsmasq

+ 7
- 0
dns_scripts/dns_add_dnsmasq View File

@ -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

Loading…
Cancel
Save