rob121 / vultrunbound

A dns helper to load vultr instances into unbound (or hosts file)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vultrunbound

DNS Helper For Vultr

Overview

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

Configuration

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

Usage

Hosts File

vultrunbound --output=hosts --target=/etc/hosts

Unbound

vultrunbound --output=unbound-control
  • Note arguments are optional and may be placed in the configuration file alternatively

About

A dns helper to load vultr instances into unbound (or hosts file)


Languages

Language:Go 92.9%Language:Shell 7.1%