* feat: disable e-mail validation if MAIL_NOVALIDATE is set
* fix: expose _MAIL_BIN variable
* fix: call _mail_body and _mail_cmnd directly to make sure that all used variables are exposed
* fix: update notify/mail.sh
Co-Authored-By: Matej Mihevc <zuexo@users.noreply.github.com>
* fix: remove useless echo, quote eval
MaraDNS is a lightweight self-hosting DNS server. This patch adds
support for adding records to zone files stored on the server in the
format expected by MaraDNS. Path to the file should be exported in
MARA_ZONE_FILE environment variable. To reload the configuration
automatically, the user must provide path to the pid file of duende (the
daemonization tool that ships with MaraDNS) in MARA_DUENDE_PID_PATH
(--pid argument to duende).
The service has 4 IP-addresses, and I was the fortunate guy to run into an issue with an ISP breaking 1.1.1.1 (but not 1.0.0.1). This also fixes IPv6-only networks.
```
$ host one.one.one.one
one.one.one.one has address 1.0.0.1
one.one.one.one has address 1.1.1.1
one.one.one.one has IPv6 address 2606:4700:4700::1111
one.one.one.one has IPv6 address 2606:4700:4700::1001
```
Use-case is being able to proxy these requests over an internal host.
Allowing access to 1.1.1.1 from the DC-LAN wouldn't work for us.
Example config for Apache
```
ProxyPass /dns-query https://cloudflare-dns.com/dns-query
ProxyPass /api/v1/purge https://one.one.one.one/api/v1/purge
```
Building a service that sits in our DMZ where internal hosts request creation/deletion of _acme-challenge TXT RRs using an API. This same host can be used to proxy the Cloudflare purge and query requests.