Generate email content from ninja2 templates
This commit is contained in:
12
files/expiry_notification.j2
Normal file
12
files/expiry_notification.j2
Normal file
@@ -0,0 +1,12 @@
|
||||
Your dynamic DNS entry has expired due to inactivity.
|
||||
|
||||
Hostname: {{fqdn}}
|
||||
{% if ipv4_expired %}
|
||||
IPv4 address: {{last_ipv4}} (last update: {{last_ipv4_update}})
|
||||
{% endif %}
|
||||
{% if ipv6_expired %}
|
||||
IPv6 address: {{last_ipv6}} (last update: {{last_ipv6_update}})
|
||||
{% endif %}
|
||||
Expiry TTL: {{expiry_ttl}} seconds
|
||||
|
||||
The DNS records have been removed. Update your client to restore them.
|
||||
Reference in New Issue
Block a user