From 416ef5e2bf59bb2e45066a1d5d91ac677c0f48e5 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 10 Dec 2014 03:05:47 +0000 Subject: Initial commit --- doc/s6-dnsip4-filter.html | 111 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) create mode 100644 doc/s6-dnsip4-filter.html (limited to 'doc/s6-dnsip4-filter.html') diff --git a/doc/s6-dnsip4-filter.html b/doc/s6-dnsip4-filter.html new file mode 100644 index 0000000..5433438 --- /dev/null +++ b/doc/s6-dnsip4-filter.html @@ -0,0 +1,111 @@ + + + + + s6-dns: the s6-dnsip4-filter program + + + + + + +

+s6-dns
+Software
+skarnet.org +

+ +

The s6-dnsip4-filter program

+ +

+ s6-dnsip4-filter reads domain names on its standard input and +prints the corresponding IPv4 addresses on its standard output. +

+ +

Interface

+ +
+     s6-dnsip4-filter [ -l maxlines ] [ -c maxconn ] [ -t timeout ] [ -f normalfmt ] [ -e errorfmt ]
+
+ + + +

Options

+ + + +

Formatting rules

+ +

+ normalfmt and errorfmt are format strings, i.e. they tell the +program how a line must be printed. The following sequences are recognized: +

+ + + +

Example

+ +
+     s6-dnsns google.com | s6-dnsip4-filter -f "%d"
+
+ +

+ prints all the nameserver addresses for the google.com +domain. This is useful, for instance, to give the result as an +argument to s6-dnsq. +

+ +

Notes

+ +

+ s6-dnsip4-filter does not perform DNS resolutions itself. Instead, if forks +a skadnsd child and sends it queries, getting +the results asynchronously. The s6-dns filter programs have actually been +written as example uses of the skadns library. +

+ + + -- cgit v1.3.1