add commandline utility to generate initial zonefile for bind
something like:
ffdyndns genzones --ns ns1.ffhl.de. --ns ns2.ffhl.de. --rname paul.ffhl.de --out /var/cache/bind/
This would zonefiles for all configured domains: (for a domain name = dyn.example.com.
)
$ORIGIN .
$TTL 30 ; 30 seconds
dyn.example.com IN SOA ns.example.com. paul.ffhl.de. (
2016062807 ; serial
3600 ; refresh (1 hour)
600 ; retry (10 minutes)
2600 ; expire (43 minutes 20 seconds)
30 ; minimum (30 seconds)
)
NS ns1.ffhl.de.
NS ns2.ffhl.de.
Edited by Paul