1.\" $NetBSD: hesiod.conf.5,v 1.2 1999/01/25 22:37:06 lukem Exp $ 2.\" $FreeBSD$ 3.\" 4.\" from: #Id: hesiod.conf.5,v 1.1 1996/12/08 21:36:38 ghudson Exp # 5.\" 6.\" Copyright 1996 by the Massachusetts Institute of Technology. 7.\" 8.\" Permission to use, copy, modify, and distribute this 9.\" software and its documentation for any purpose and without 10.\" fee is hereby granted, provided that the above copyright 11.\" notice appear in all copies and that both that copyright 12.\" notice and this permission notice appear in supporting 13.\" documentation, and that the name of M.I.T. not be used in 14.\" advertising or publicity pertaining to distribution of the 15.\" software without specific, written prior permission. 16.\" M.I.T. makes no representations about the suitability of 17.\" this software for any purpose. It is provided "as is" 18.\" without express or implied warranty. 19.\" 20.Dd November 30, 1996 21.Dt HESIOD.CONF 5 22.Os 23.Sh NAME 24.Nm hesiod.conf 25.Nd "configuration file for the Hesiod library" 26.Sh DESCRIPTION 27The file 28.Nm 29determines the behavior of the Hesiod library. 30Blank lines and lines beginning with a 31.Ql # 32character are ignored. 33All 34other lines should be of the form 35.Ar variable 36= 37.Ar value , 38where the 39.Ar value 40should be a single word. 41Possible 42.Ar variables 43and 44.Ar values 45are: 46.Bl -tag -width classes 47.It Ic lhs 48Specifies the domain prefix used for Hesiod queries. 49In almost all cases, you should specify 50.Dq Li lhs=.ns . 51The default value if you do 52not specify an lhs value is no domain prefix, which is not compatible 53with most Hesiod domains. 54.It Ic rhs 55Specifies the default Hesiod domain; this value may be overridden by 56the 57.Ev HES_DOMAIN 58environment variable. 59You must specify an rhs line for the Hesiod 60library to work properly. 61.It Ic classes 62Specifies which DNS classes Hesiod should do lookups in. 63Possible values are 64.Cm IN 65(the preferred class) and 66.Cm HS 67(the deprecated class, still used by some sites). 68You may specify both classes separated by 69a comma to try one class first and then the other if no entry is 70available in the first class. 71The default value of the classes variable is 72.Dq Li IN,HS . 73.El 74.Sh SEE ALSO 75.Xr hesiod 3 76.Sh BUGS 77The default value for 78.Ic lhs 79should probably be more reasonable. 80