Go to file
Djeeberjr 5a7c784680 moved log to ResponseWrapper 2022-04-03 22:37:22 +02:00
.gitignore initial commit 2022-03-31 21:46:56 +02:00
README.md improved README 2022-04-03 16:14:48 +02:00
ResponseWrapper.go moved log to ResponseWrapper 2022-04-03 22:37:22 +02:00
override.go fixed typo in package 2022-03-31 22:00:17 +02:00
setup.go moved log to ResponseWrapper 2022-04-03 22:37:22 +02:00

README.md

A plugin to override A and AAAA records with a custom value. I made this to override the public IP address of my server with its VPN IP address.

There is probably a better way to do this, but I couldn't find it.

Usage

Add this to your plugin.cfg beetween minimal and template :

override:git.kapelle.org/niklas/coredns-override

In your Corefile:

. {
    override {
        12.34.56.78 10.0.0.1
        98.76.54.32 10.0.0.2
    }

    forward . 1.1.1.1
}