Netdot
Netdot copied to clipboard
Add zone-list option to exporter.pl (patch)
A request for simple feature. Add an option for exporter.pl so that it will list all available BIND zones. For example, if one wants only export .ninja and .x.xyz domains:
bin/exporter.pl -t BIND -z $(bin/exporter.pl --list-zones | grep -P '(\.ninja|\.x.xyz)$' | cut -d\; -f2 | paste -d, -s -)
or generate bind config file from list, without using netdot API/direct database access.
Same scenario could be applied to DHCP scopes. Therefore command line interface would be consistent with web interface, in a way it provides data to user.
Hi,
Sorry for the terribly late reply. Would you mind issuing a pull request?
Thanks