| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 00:11:55 GMT
X-Served-By: cache-dfw-kdal2120125-DFW, cache-bom-vanm7210082-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768608715.933329,VS0,VE459
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
pocket-dns: Multi-backend (zookeeper and sqlite) DNS Server using persistent-library
pocket-dns: Multi-backend (zookeeper and sqlite) DNS Server using persistent-library
Modules
- Network
- DNS
- Network.DNS.Pocket
- Network.DNS.Pocket.Server
- Network.DNS.Pocket.Sqlite
- Network.DNS.Pocket.Type
- Network.DNS.Pocket.Zookeeper
- Network.DNS.Pocket
- DNS
Downloads
- pocket-dns-0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 0.1.0, 0.1.1 |
|---|---|
| Change log | ChangeLog.md |
| Dependencies | aeson, base (>=4 && <5), bytestring, data-default, dns, http-conduit, iproute, monad-control, network, optparse-applicative, persistent (>=2.1 && <3), persistent-sqlite (>=2.1 && <3), persistent-template (>=2.1 && <3), persistent-zookeeper (>=0.2 && <0.3), shelly, text, transformers, unordered-containers, yaml [details] |
| License | BSD-3-Clause |
| Author | Junji Hashimoto |
| Maintainer | junji.hashimoto@gmail.com |
| Uploaded | by junjihashimoto at 2015-02-27T11:45:18Z |
| Category | Network |
| Bug tracker | https://github.com/junjihashimoto/pocket-dns/issues |
| Source repo | head: git clone https://github.com/junjihashimoto/pocket-dns.git |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | pocket-dns |
| Downloads | 1516 total (6 in the last 30 days) |
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs not available [build log] Last success reported on 2015-05-20 [all 8 reports] |
Readme for pocket-dns-0.1.1
[back to package description]PocketDNS: Multi-backend (zookeeper and sqlite) DNS Server using persistent-library
PocketDNS is multi-backend (zookeeper and sqlite) DNS Server using persistent-library.
Getting started
Install this from Hackage.
cabal update && cabal install pocket-dns
Usage
Set conf.yml which is backend settings. When backend is zookeeper, conf.yml's format is below.
backend: zookeeper
coord: localhost:2181/
timeout: 300000
num-stripes: 1
idletime: 300000
max-resource: 30
When backend is sqlite, conf.yml's format is below.
backend: sqlite
database: pocket-dns.sqlite3
poolsize: 10
Then launch dns-server and set domain and ip-address.
pocket-dns daemon &
pocket-dns set <domain>. <ip-address>
When domain is not found, pocket-dns checks '/etc/resolv.conf'.
Commands
Set
Set ip-address of domain
pocket-dns set <domain-name>. <ip-address>
get
Show ip-address of domain
pocket-dns get <domain-name>.
list
Show all domain and ip-address
pocket-dns list
delete
Delete domain
pocket-dns delete <domain-name>.
daemon
Launch dns-server
pocket-dns daemon
