path: root/README.md
diff options
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-08 15:19:46 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-08 15:19:46 +0200
commitade2cf88e933f4f90451e0a6171f0aa4a523f989 (patch)
tree1a75791ea635a1d12ec4c16870d2f9e29c0ef2dd /README.md
parentAdd dnsmasq-ipset note. (diff)
Separate ipsets for v4 and v6HEADmaster
Diffstat (limited to 'README.md')
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 29b10bd..75f3fae 100644
--- a/README.md
+++ b/README.md
@@ -31,10 +31,11 @@ bandwidth and/or geo-availability.
### Usage
- # ipset-dns name-of-ipset listening-port upstream-dns-server
+ # ipset-dns name-of-v4-ipset name-of-v6-ipset listening-port upstream-dns-server
`ipset-dns` binds only to localhost. It will daemonize unless the `NO_DAEMONIZE`
-environment variable is set.
+environment variable is set. If either `name-of-v4-ipset` or `name-of-v6-ipset` are
+empty strings, then the ipset for the respective address family will not be utilized.
### Building
@@ -127,7 +128,7 @@ given by `dnsmasq`. Lastly, `SIGHUP` is sent to `dnsmasq` to flush its cache.
### License
-* Copyright (C) 2013 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+* Copyright (C) 2013, 2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
DNS parsing code loosely based on uClibc's [resolv.c](http://git.uclibc.org/uClibc/tree/libc/inet/resolv.c):