azlux / nft-dns

Make nftables resolve fqdn on-the-fly
https://packages.azlux.fr/
MIT License
8 stars 0 forks source link

Service does not restart with nftables #2

Open keebs opened 9 months ago

keebs commented 9 months ago

Suggestion/Question.... Shouldn't there be a dependency to restart after a nftables service restart? TY

keebs commented 9 months ago

Or a service reload that doesn't purge old records (Because they were already purged on nftables reload/restart. It just re-updates the DNS records.

azlux commented 9 months ago

I suppose I need to add into the service:

https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Requires=

I want to avoid keeping old values into the firewall if the service stop.