1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
This commit is contained in:
kev 2015-06-30 08:52:07 +08:00
parent 0c83e65c07
commit bedcc6c591

View File

@ -1,6 +1,8 @@
pdnsd 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 `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 written to hard disk on exit) that is designed to cope with unreachable or down
DNS servers (for example in dial-in networking). DNS servers (for example in dial-in networking).
@ -21,3 +23,17 @@ pdnsd:
``` ```
> Uncomment `volumes` to use customized config file. > 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
```