DNS Helper For Vultr
Vultr provides an api interface to gather data, using the api we pull data from vultr and then writeout dns settings for virtual machines for either a local hosts file or for unbound dns using the unbound-control feature
A config file name config.json must be placed in any of current dir, root/.vultrunbound or /etc/vultrunbound/ At minimum the file should have the vultr_key, other settings may be set from cmd arguments or put in the configuration, see the config.json.example
vultrunbound --output=hosts --target=/etc/hosts
vultrunbound --output=unbound-control
- Note arguments are optional and may be placed in the configuration file alternatively