xref: /freebsd/share/man/man5/hesiod.conf.5 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
1248aee62SJacques Vidrine.\"	$NetBSD: hesiod.conf.5,v 1.2 1999/01/25 22:37:06 lukem Exp $
2248aee62SJacques Vidrine.\"
3248aee62SJacques Vidrine.\" from: #Id: hesiod.conf.5,v 1.1 1996/12/08 21:36:38 ghudson Exp #
4248aee62SJacques Vidrine.\"
5248aee62SJacques Vidrine.\" Copyright 1996 by the Massachusetts Institute of Technology.
6248aee62SJacques Vidrine.\"
7248aee62SJacques Vidrine.\" Permission to use, copy, modify, and distribute this
8248aee62SJacques Vidrine.\" software and its documentation for any purpose and without
9248aee62SJacques Vidrine.\" fee is hereby granted, provided that the above copyright
10248aee62SJacques Vidrine.\" notice appear in all copies and that both that copyright
11248aee62SJacques Vidrine.\" notice and this permission notice appear in supporting
12248aee62SJacques Vidrine.\" documentation, and that the name of M.I.T. not be used in
13248aee62SJacques Vidrine.\" advertising or publicity pertaining to distribution of the
14248aee62SJacques Vidrine.\" software without specific, written prior permission.
15248aee62SJacques Vidrine.\" M.I.T. makes no representations about the suitability of
16248aee62SJacques Vidrine.\" this software for any purpose.  It is provided "as is"
17248aee62SJacques Vidrine.\" without express or implied warranty.
18248aee62SJacques Vidrine.\"
198fbaa337SRuslan Ermilov.Dd November 30, 1996
208fbaa337SRuslan Ermilov.Dt HESIOD.CONF 5
218fbaa337SRuslan Ermilov.Os
228fbaa337SRuslan Ermilov.Sh NAME
238fbaa337SRuslan Ermilov.Nm hesiod.conf
248fbaa337SRuslan Ermilov.Nd "configuration file for the Hesiod library"
258fbaa337SRuslan Ermilov.Sh DESCRIPTION
268fbaa337SRuslan ErmilovThe file
278fbaa337SRuslan Ermilov.Nm
288fbaa337SRuslan Ermilovdetermines the behavior of the Hesiod library.
298fbaa337SRuslan ErmilovBlank lines and lines beginning with a
308fbaa337SRuslan Ermilov.Ql #
318fbaa337SRuslan Ermilovcharacter are ignored.
328fbaa337SRuslan ErmilovAll
33248aee62SJacques Vidrineother lines should be of the form
348fbaa337SRuslan Ermilov.Ar variable
35248aee62SJacques Vidrine=
368fbaa337SRuslan Ermilov.Ar value ,
378fbaa337SRuslan Ermilovwhere the
388fbaa337SRuslan Ermilov.Ar value
398fbaa337SRuslan Ermilovshould be a single word.
408fbaa337SRuslan ErmilovPossible
418fbaa337SRuslan Ermilov.Ar variables
428fbaa337SRuslan Ermilovand
438fbaa337SRuslan Ermilov.Ar values
448fbaa337SRuslan Ermilovare:
458fbaa337SRuslan Ermilov.Bl -tag -width classes
468fbaa337SRuslan Ermilov.It Ic lhs
478fbaa337SRuslan ErmilovSpecifies the domain prefix used for Hesiod queries.
488fbaa337SRuslan ErmilovIn almost all cases, you should specify
498fbaa337SRuslan Ermilov.Dq Li lhs=.ns .
508fbaa337SRuslan ErmilovThe default value if you do
51248aee62SJacques Vidrinenot specify an lhs value is no domain prefix, which is not compatible
52248aee62SJacques Vidrinewith most Hesiod domains.
538fbaa337SRuslan Ermilov.It Ic rhs
54248aee62SJacques VidrineSpecifies the default Hesiod domain; this value may be overridden by
55248aee62SJacques Vidrinethe
568fbaa337SRuslan Ermilov.Ev HES_DOMAIN
578fbaa337SRuslan Ermilovenvironment variable.
588fbaa337SRuslan ErmilovYou must specify an rhs line for the Hesiod
59248aee62SJacques Vidrinelibrary to work properly.
608fbaa337SRuslan Ermilov.It Ic classes
618fbaa337SRuslan ErmilovSpecifies which DNS classes Hesiod should do lookups in.
628fbaa337SRuslan ErmilovPossible values are
638fbaa337SRuslan Ermilov.Cm IN
648fbaa337SRuslan Ermilov(the preferred class) and
658fbaa337SRuslan Ermilov.Cm HS
668fbaa337SRuslan Ermilov(the deprecated class, still used by some sites).
678fbaa337SRuslan ErmilovYou may specify both classes separated by
68248aee62SJacques Vidrinea comma to try one class first and then the other if no entry is
698fbaa337SRuslan Ermilovavailable in the first class.
708fbaa337SRuslan ErmilovThe default value of the classes variable is
718fbaa337SRuslan Ermilov.Dq Li IN,HS .
728fbaa337SRuslan Ermilov.El
738fbaa337SRuslan Ermilov.Sh SEE ALSO
748fbaa337SRuslan Ermilov.Xr hesiod 3
758fbaa337SRuslan Ermilov.Sh BUGS
768fbaa337SRuslan ErmilovThe default value for
778fbaa337SRuslan Ermilov.Ic lhs
788fbaa337SRuslan Ermilovshould probably be more reasonable.
79