mirror of
https://github.com/jwhited/wgsd.git
synced 2025-01-18 22:09:34 +08:00
add README
This commit is contained in:
parent
4880884e1b
commit
24a9e67e0d
18
README.md
Normal file
18
README.md
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# wgsd
|
||||||
|
`wgsd` is a CoreDNS plugin that provides Wireguard peer information via DNS-SD semantics. See [this blog post](https://www.jordanwhited.com/posts/wireguard-nat-traversal/) for the background and reasoning behind it.
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user