Compare commits

...

2 Commits

Author SHA1 Message Date
fb818b86a2 removed debug line 2022-04-03 16:15:08 +02:00
8dc088ffde improved README 2022-04-03 16:14:48 +02:00
2 changed files with 2 additions and 5 deletions

View File

@@ -4,8 +4,7 @@ I made this to override the public IP address of my server with its VPN IP addre
There is probably a better way to do this, but I couldn't find it.
# Usage
Add this to your `plugin.cfg`:
Add this to your `plugin.cfg` beetween `minimal` and `template` :
```
override:git.kapelle.org/niklas/coredns-override
```

View File

@@ -22,8 +22,6 @@ func setup(c *caddy.Controller) error {
return plugin.Error("override", err)
}
log.Debug(rules)
dnsserver.GetConfig(c).AddPlugin(func(next plugin.Handler) plugin.Handler {
return Override{Next: next, Rules: rules}
})