summaryrefslogtreecommitdiff
path: root/hesiod/README.hesiod
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-06-15 04:14:52 +0000
committerUlrich Drepper <drepper@redhat.com>2005-06-15 04:14:52 +0000
commitb399a0c2e2014daf166a36462db9d5bd5617454c (patch)
tree477eeca004180eef0339e609885a83b0a6bd3652 /hesiod/README.hesiod
parentec23b9bece4780a2031eedf23019cbb229e855fb (diff)
* hesiod/hesiod_p.h (struct hesiod_p): Add classes array.
* hesiod/hesiod.c (hesiod_init): Initialize classes. Fail if no valid classes were given or if both are equal. (hesiod_resolve): Use ctx->classes instead of hardcoded C_IN and C_HS order. (parse_config_file): Handle classes keyword. * hesiod/README.hesiod: Mention addition of the classes keyword.
Diffstat (limited to 'hesiod/README.hesiod')
-rw-r--r--hesiod/README.hesiod8
1 files changed, 8 insertions, 0 deletions
diff --git a/hesiod/README.hesiod b/hesiod/README.hesiod
index 18cd5d45dd..259ce8d447 100644
--- a/hesiod/README.hesiod
+++ b/hesiod/README.hesiod
@@ -71,6 +71,14 @@ will want to create your own. It should look something like:
rhs=.your.domain
lhs=.ns
+ classes=in,hs
+
+The optional classes settings specifies which DNS classes Hesiod
+should do lookups in. Possible values are IN (the preferred class)
+and HS (the deprecated class, still used by some sites).
+You may specify both classes separated by a comma to try one class
+first and then the other if no entry is available in the first
+class. The default value of the classes variable is `IN,HS'.
The value of rhs can be overridden by the environment variable
`HES_DOMAIN'.