X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/adns/blobdiff_plain/bef232aebeabbef525faa7d7f5b08cf7a1427f95..8e5a4960dc66700c71644d188ff9aa4ec250782d:/README.html
diff --git a/README.html b/README.html
index 7d44601..d3af798 100644
--- a/README.html
+++ b/README.html
@@ -1,13 +1,10 @@
adns - advanced, alternative, asynchronous resolver
@@ -21,9 +18,10 @@ library and utilities.
-adns is a resolver library for C (and C++) programs. In contrast with
-the existing interfaces, gethostbyname et al and libresolv, it has the
-following features:
+adns is a resolver library for C (and C++) programs, and a collection
+of useful DNS resolver utilities. In contrast with the existing
+interfaces, gethostbyname et al and libresolv, it has the following
+features:
@@ -53,9 +51,9 @@ the various causes of failure properly.
environment variables.
- Flexibility. For example, the application can tell adns to:
-ignore environment variables (for setuid programs), disable sanity
-checks eg to return arbitrary data, override or ignore resolv.conf in
-favour of supplied configuration, etc.
+ignore environment variables (for setuid programs), disable hostname
+syntax sanity checks to return arbitrary data, override or ignore
+resolv.conf in favour of supplied configuration, etc.
- Believed to be correct ! For example, will correctly back off to
TCP in case of long replies or queries, or to other nameservers if
@@ -63,6 +61,8 @@ several are available. It has sensible handling of bad responses etc.
+DNS utility programs
+
adns also comes with a number of utility programs for use from the
command line and in scripts:
@@ -77,50 +77,33 @@ unduly delaying the output. For example, you can usefully pipe the
output of netstat -n, tcpdump -ln, and the like, into it.
adnshost
is a general-purpose DNS lookup utility
-which can be used easily in shell scripts to do simple lookups. In a
-more advanced mode it can be used as a general-purpose DNS helper
-program for scripting languages which can invoke and communicate with
-subprocesses.
+which can be used easily in from the command line and from shell
+scripts to do simple lookups. In a more advanced mode it can be used
+as a general-purpose DNS helper program for scripting languages which
+can invoke and communicate with subprocesses. See the
+usage
+message for a summary of its capabilities.
-Forthcoming:
-
-A native Perl interface is in the works, thanks to Tony Finch.
-
-
-
-I hope that future versions may also have the following features:
-
-
-
-- The library should be useable by threads in a multithreaded
-program in a natural way. It should multiplex many threads' queries
-through a single query socket.
-
-
- IPv6 support.
-
-
- Some kind of awareness of DNSSEC.
-
-
- Possibly some very limited caching behaviour.
-
-
+Technical note
-(Technical note: adns requires a real nameserver like
+adns requires a real nameserver like
BIND
or
Dents running on
the same system or a nearby one, which must be willing to provide
`recursive service'. I.e., adns is a `stub resolver'. All properly
configured UN*X and GNU systems will already have such nameserver(s);
-they are usually listed in /etc/resolv.conf.)
+they are usually listed in /etc/resolv.conf.
Documentation
I'm afraid there is no manual yet. However, competent C programmers
should be able to use the library based on the
commented
-adns.h header file.
+adns.h header file, and the usage messages for the programs should
+be sufficient.
Feedback