2001-09-08 05:29:04 +04:00
|
|
|
.\" $NetBSD: hesiod.conf.5,v 1.4 2001/09/08 01:29:05 wiz Exp $
|
1999-01-25 06:48:35 +03:00
|
|
|
.\"
|
|
|
|
.\" from: #Id: hesiod.conf.5,v 1.1 1996/12/08 21:36:38 ghudson Exp #
|
|
|
|
.\"
|
|
|
|
.\" Copyright 1996 by the Massachusetts Institute of Technology.
|
|
|
|
.\"
|
|
|
|
.\" Permission to use, copy, modify, and distribute this
|
|
|
|
.\" software and its documentation for any purpose and without
|
|
|
|
.\" fee is hereby granted, provided that the above copyright
|
|
|
|
.\" notice appear in all copies and that both that copyright
|
|
|
|
.\" notice and this permission notice appear in supporting
|
|
|
|
.\" documentation, and that the name of M.I.T. not be used in
|
|
|
|
.\" advertising or publicity pertaining to distribution of the
|
|
|
|
.\" software without specific, written prior permission.
|
|
|
|
.\" M.I.T. makes no representations about the suitability of
|
|
|
|
.\" this software for any purpose. It is provided "as is"
|
|
|
|
.\" without express or implied warranty.
|
|
|
|
.\"
|
2001-05-08 21:06:20 +04:00
|
|
|
.Dd November 30, 1996
|
|
|
|
.Dt HESIOD.CONF 5
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm hesiod.conf
|
|
|
|
.Nd configuration file for the Hesiod library
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The file
|
|
|
|
.Nm
|
|
|
|
determines the behavior of the Hesiod library.
|
|
|
|
Blank lines and lines beginning with a
|
|
|
|
.Sq #
|
|
|
|
character are ignored. All other lines should be of the form
|
|
|
|
.Em variable
|
1999-01-25 06:48:35 +03:00
|
|
|
=
|
2001-05-08 21:06:20 +04:00
|
|
|
.Ar value ,
|
1999-01-25 06:48:35 +03:00
|
|
|
where the value should be a single word. Possible variables and
|
|
|
|
values are:
|
2001-05-08 21:06:20 +04:00
|
|
|
.Bl -tag -width classes
|
|
|
|
.It Em lhs
|
1999-01-25 06:48:35 +03:00
|
|
|
Specifies the domain prefix used for Hesiod queries. In almost all
|
2001-09-08 05:29:04 +04:00
|
|
|
cases, you should specify
|
2001-05-08 21:06:20 +04:00
|
|
|
.Dq Em lhs Ns = Ns Ar .ns .
|
|
|
|
The default value if you do
|
1999-01-25 06:48:35 +03:00
|
|
|
not specify an lhs value is no domain prefix, which is not compatible
|
|
|
|
with most Hesiod domains.
|
2001-05-08 21:06:20 +04:00
|
|
|
.It Em rhs
|
1999-01-25 06:48:35 +03:00
|
|
|
Specifies the default Hesiod domain; this value may be overridden by
|
|
|
|
the
|
2001-05-08 21:06:20 +04:00
|
|
|
.Ev HES_DOMAIN
|
|
|
|
environment variable. You must specify an
|
|
|
|
.Em rhs
|
|
|
|
line for the Hesiod
|
1999-01-25 06:48:35 +03:00
|
|
|
library to work properly.
|
2001-05-08 21:06:20 +04:00
|
|
|
.It Em classes
|
1999-01-25 06:48:35 +03:00
|
|
|
Specifies which DNS classes Hesiod should do lookups in. Possible
|
2001-05-08 21:06:20 +04:00
|
|
|
values are
|
|
|
|
.Ar IN
|
|
|
|
(the preferred class) and
|
|
|
|
.Ar HS
|
|
|
|
(the deprecated class,
|
1999-01-25 06:48:35 +03:00
|
|
|
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
|
2001-05-08 21:06:20 +04:00
|
|
|
variable is
|
|
|
|
.Dq Ar IN,HS .
|
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr hesiod 3
|
|
|
|
.Sh BUGS
|
|
|
|
There default value for
|
|
|
|
.Dq lhs
|
|
|
|
should probably be more reasonable.
|