From 5f7cf398d75800f04d6ca5dc069e52b788f20d88 Mon Sep 17 00:00:00 2001 From: Ventz Petkov Date: Mon, 12 Feb 2018 23:43:22 -0500 Subject: [PATCH] Cleaned up examples in README for better Dockerhub display --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a2858b8..7c47645 100644 --- a/README.md +++ b/README.md @@ -40,10 +40,10 @@ A "/DATA/var/bind" directory for all of the master or slave zones. If it's for s # How to run a BIND ("named") Docker Container? -``` # Default Example # This is just to test it out - by default only allows queries from # itself (127.0.0.1) -- pretty useless for real world usage +``` docker run --name=dns-test -it -d \ --dns=8.8.8.8 --dns=8.8.4.4 \ @@ -51,10 +51,10 @@ docker run --name=dns-test ventz/bind ``` -``` # Customer Override Example for Authoritative Master # Edit: named.conf.local with your forward zone at least # and create the file in /var/named/$yourdomain.tld +``` docker run --name=dns-master -it -d \ --dns=8.8.8.8 --dns=8.8.4.4 \ @@ -64,9 +64,9 @@ docker run --name=dns-master ventz/bind ``` -``` # Custom Override Example for Recursive Resolver/Cacher: # Edit: named.conf.options -> change the "allow-recursion" and "allow-query" with your subnets +``` docker run --name=dns-resolver -it -d \ --dns=8.8.8.8 --dns=8.8.4.4 \