HESIOD.CONF(5)
π HESIOD.CONF(5) π
okay bestie, gather round, because this is a File Formats Manual page and it's literally about the config file for the Hesiod library. yes, the file is called hesiod.conf. yes, it's giving "tiny file, big responsibilities." let's go π
β¨ NAME β¨
hesiod.conf β the configuration file for the Hesiod library π¦
πΈ DESCRIPTION πΈ
so the file hesiod.conf is the thing that decides how the Hesiod library behaves. that's it, that's the whole vibe. it's the main character of this page π
here's the rules, no cap:
- blank lines? ignored. bye π
- lines starting with a
#character? also ignored. they're just little diary entries π - every other line has to look like
variable = value, and lowkey the value has to be a single word. one word. don't get cute with it.
and these are the variables and values you can use:
lhsβ this one sets the domain prefix that Hesiod uses for its queries. in almost all cases you should be writinglhs=.ns. and if you don't specify anlhsvalue at all, the default is no domain prefix, which β heads up β is not compatible with most Hesiod domains π so like, specify it, bestie.rhsβ this sets the default Hesiod domain. plot twist: this value can be overridden by theHES_DOMAINenvironment variable π. and listen, you must specify anrhsline for the Hesiod library to work properly. non-negotiable, fr fr.classesβ this one tells Hesiod which DNS classes it should do lookups in. your options are:INβ the preferred class β¨HSβ the deprecated class π still used by some sites though, so we respect it- you can also specify both classes separated by a comma β that means it tries one class first, and if there's no entry available in that first class, it goes and tries the other one. very "if at first you don't succeed" of it π«Ά
- and the default value of the
classesvariable isIN,HS
π SEE ALSO π
π BUGS π
ngl, there's a typo-looking sentence here and we're keeping it real: There default value for lhs should probably be more reasonable. like... yeah. it should. we said what we said π
π the cute sign-off π
this lil page is from the HESIOD.CONF(5) manual, dated 30 November 1996 β yes, a 90s icon, and it still ate π
periodt. go configure something, bestie π¦β¨
π¦ where this page comes from
- centos-stream 9: compat-hesiod 3.2.1-16.el9 Β· MIT
- centos-stream 9: compat-hesiod 3.2.1-16.el9 Β· MIT
- debian bookworm: libhesiod0 3.2.1-4 Β· BSD-2-Clause
- debian trixie: libhesiod0 3.2.1-5 Β· BSD-2-Clause
- ubuntu jammy: libhesiod0 3.2.1-3.1build1 Β· BSD-2-Clause
- ubuntu noble: libhesiod0 3.2.1-4build1 Β· BSD-2-Clause
- ubuntu questing: libhesiod0 3.2.1-5
- ubuntu resolute: libhesiod0 3.2.1-5build1 Β· BSD-2-Clause
- ubuntu stonking: libhesiod0 3.2.1-5build1 Β· BSD-2-Clause
- Copyright 1996 by the Massachusetts Institute of Technology
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms