An open API service indexing awesome lists of open source software.

https://github.com/cosandr/coredns-vsphere-plugin

CoreDNS plugin returning the primary IP of VMs using the vSphere API
https://github.com/cosandr/coredns-vsphere-plugin

Last synced: 6 months ago
JSON representation

CoreDNS plugin returning the primary IP of VMs using the vSphere API

Awesome Lists containing this project

README

          

# CoreDNS vSphere plugin

This plugin queries the vSphere API and looks for VM a matching name/hostname.

All VMs are fetched at once and cached, the cache is updated whenever a request is not found.

## Usage

To activate the plugin you need to compile CoreDNS with the plugin added
to `plugin.cfg`

```
vsphere:github.com/cosandr/coredns-vsphere-plugin
```

Then add it to Corefile:

```
. {
vsphere {
url ""
user ""
pass ""
insecure ""
}
}
```