diff --git a/README.md b/README.md index 1ed931d..aaa6b6e 100644 --- a/README.md +++ b/README.md @@ -29,17 +29,19 @@ Create: * new blog: `hugo new -k blog blog/coredns-.md` * new blog that will also be documentation: `hugo new -k doc blog/coredns-.md` -## Colors +## Style + +For the colors we have: * Dark: #280071 (40, 0, 113) * Middle: #5F259F (95, 37, 159) * Light: #8246AF (130, 70, 175) -## Fonts - The open source font Lato is very close to Brandon Grotesque (which is used in the logo). Try to use this for any imagery you add. +See the `style` directory for Libre Office Draw templates you can use. + ## Popup See the top-level (i.e. not in the themes directory) `layout/partials/popup.html` for adjusting the diff --git a/content/manual/configuration.md b/content/manual/configuration.md index abc7560..948d180 100644 --- a/content/manual/configuration.md +++ b/content/manual/configuration.md @@ -155,7 +155,38 @@ Block is enclosed in an opening and closing brace. } ~~~ -## External Plugin +If we all combine all this and have the following Corefile, that setup 4 zones, serving on two +different ports. + +~~~ corefile +coredns.io:5300 { + file db.coredns.io +} + +example.io:53 { + log + errors + file db.example.io +} + +example.net:53 { + file db.example.net +} + +.:53 { + kubernetes + proxy . 8.8.8.8 + log + errors + cache +} +~~~ + +When parsed by CoreDNS will result in following setup: + +![CoreDNS: Zones, plugins and query routing](/images/CoreDNS-Corefile.png) + +## External Plugins External plugins are plugins that are not compiled into the default CoreDNS. You can easily enable them, but you'll need to compile CoreDNS your self. diff --git a/static/images/CoreDNS-Corefile.png b/static/images/CoreDNS-Corefile.png new file mode 100644 index 0000000..fa419fa Binary files /dev/null and b/static/images/CoreDNS-Corefile.png differ diff --git a/style/CoreDNS-Corefile.odg b/style/CoreDNS-Corefile.odg new file mode 100644 index 0000000..29351f6 Binary files /dev/null and b/style/CoreDNS-Corefile.odg differ diff --git a/style/CoreDNS-Corefile.png b/style/CoreDNS-Corefile.png new file mode 100644 index 0000000..fa419fa Binary files /dev/null and b/style/CoreDNS-Corefile.png differ diff --git a/style/CoreDNS-lodraw-style.odg b/style/CoreDNS-lodraw-style.odg new file mode 100644 index 0000000..f44ae97 Binary files /dev/null and b/style/CoreDNS-lodraw-style.odg differ diff --git a/style/README.md b/style/README.md new file mode 100644 index 0000000..08f0c03 --- /dev/null +++ b/style/README.md @@ -0,0 +1,5 @@ +# Style + +This directory contains CoreDNS-lodraw-style.odg which is an Libre Office Draw file containing +a few items, like arrows in blocks in the right color scheme and with the right font. You can use +these to make images like CoreDNS-Corefile.odg.