From bedcc6c591a41f00b184bf93ef9f94d53dce6acb Mon Sep 17 00:00:00 2001 From: kev Date: Tue, 30 Jun 2015 08:52:07 +0800 Subject: [PATCH] update --- pdnsd/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pdnsd/README.md b/pdnsd/README.md index 5649adc..8eb3b91 100644 --- a/pdnsd/README.md +++ b/pdnsd/README.md @@ -1,6 +1,8 @@ pdnsd ===== +[![](https://badge.imagelayers.io/vimagick/pdnsd:latest.svg)](https://imagelayers.io/?images=vimagick/pdnsd:latest) + `pdnsd` is a proxy DNS server with permanent caching (the cache contents are written to hard disk on exit) that is designed to cope with unreachable or down DNS servers (for example in dial-in networking). @@ -21,3 +23,17 @@ pdnsd: ``` > Uncomment `volumes` to use customized config file. + +## server + +``` +$ cd ~/fig/pdnsd/ +$ docker-compose up -d +$ docker exec pdnsd_pdnsd_1 pdnsd-ctl status +``` + +## client + +``` +$ dig @1.2.3.4 www.youtube.com +```