From f6b13f423ac424e925c560da36e168c91df562cf Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sun, 3 Apr 2022 01:33:05 +0200 Subject: [PATCH] implemented README --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index e69de29..df5f7e1 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,25 @@ +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`: +``` + 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 +} +``` + +