s6-dns
Software
skarnet.org

The s6-dnsname-filter program

s6-dnsname-filter reads IP addresses on its standard input and prints the corresponding domain names on its standard output.

Interface

     s6-dnsname-filter [ -4 ] [ -6 ] [ -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:

Notes

s6-dnsname-filter does not perform DNS resolutions itself. Instead, it 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.