jwhited-wgsd/README.md

18 lines
558 B
Markdown
Raw Normal View History

2020-05-20 20:08:46 -07:00
# wgsd
2020-05-21 09:38:25 -07:00
`wgsd` is a CoreDNS plugin that provides Wireguard peer information via DNS-SD semantics. See [this blog post](https://www.jordanwhited.com/posts/wireguard-endpoint-discovery-nat-traversal/) for the background and reasoning behind it.
2020-05-20 20:08:46 -07:00
In order to use this plugin with CoreDNS first you need to [enable it](https://coredns.io/2017/07/25/compile-time-enabling-or-disabling-plugins/). Once it's enabled it can be configured like so:
```
.:53 {
wgsd <zone> <wg device>
}
```
For example:
```
$ cat Corefile
.:53 {
wgsd jordanwhited.net. utun4
}
```