dnsmasq caa record support

This commit is contained in:
cynic 2024-08-18 23:19:46 +00:00
parent c7a6a69b5b
commit f37642c4a3

View File

@ -165,7 +165,6 @@ else
fi fi
# launch main dnsmasq process # launch main dnsmasq process
letsencrypt_CAA="000569737375656c657473656e63727970742e6f7267"
touch $tmp_conf_file \ touch $tmp_conf_file \
&& dnsmasq \ && dnsmasq \
--conf-file=$tmp_conf_file \ --conf-file=$tmp_conf_file \
@ -173,7 +172,7 @@ touch $tmp_conf_file \
-p $alternative_dns_port \ -p $alternative_dns_port \
--address="/$domain/$my_ygg_ip" \ --address="/$domain/$my_ygg_ip" \
--address="/$domain/$bridge46_ipv4" \ --address="/$domain/$bridge46_ipv4" \
--dns-rr=$domain,257,$letsencrypt_CAA \ --caa-record=$domain,0,issue,letsencrypt.org \
--server="/_acme-challenge.$domain/127.0.0.1#$acme_challenge_port" \ --server="/_acme-challenge.$domain/127.0.0.1#$acme_challenge_port" \
1>&- 2>&- & 1>&- 2>&- &
main_dnsmasq_pid=$! main_dnsmasq_pid=$!