source: trunk/athena/lib/hesiod/README @ 22429

Revision 22429, 1.9 KB checked in by ghudson, 18 years ago (diff)
Adjust slightly for accuracy now that hesinfo has been moved out.
RevLine 
[22427]1This is release 3.1.0 of the Hesiod name service library.  Hesiod can
[9420]2provide general name service for a variety of applications and is
3based on the Berkeley Internet Name Daemon (BIND).
[1416]4
[9321]5To prepare this directory for building, run the command "./configure".
6configure takes a number of options; use "./configure --help" to find
[9334]7out what they are.  Hesiod requires a vaguely ANSI compiler to build;
8gcc will do.
[1416]9
[22429]10Run "make" or "make all" to build the Hesiod library.
[9321]11
[22429]12Run "make install" to install the Hesiod library.
[9332]13
[9420]14You will want to create a configuration file named hesiod.conf in the
15sysconfdir (/usr/local/etc/hesiod.conf by default) on your client
16machines, reading something like:
[9332]17
[9420]18        rhs=.your.domain
19        lhs=.ns
[9332]20
[9420]21The value of rhs can be overridden at run time by the environment
22variable HES_DOMAIN.  The value ".ns" for lhs is an unfortunate
23historical convention; ".hs" or "hesiod" would have been better.
24Nevertheless, you probably want to use ".ns" for compatibility with
25existing Hesiod domains.
[9332]26
[9420]27To create Hesiod information on your central name servers, you need to
28make them authoritative for the domain ns.your.domain with a line in
29named.boot reading something like:
[9332]30
31        primary         ns.your.domain          named.hesiod
32
33And then in named.hesiod, you need data looking something like:
34
[9420]35        ; SOA and NS records.
36        @       IN      SOA     server1.your.domain admin-address.your.domain (
[9332]37                        40000         ; serial - database version number
38                        1800          ; refresh - sec servers
39                        300           ; retry - for refresh
[9420]40                        3600000       ; expire - unrefreshed data
[9332]41                        7200 )        ; min
[9420]42                        NS      server1.your.domain
43                        NS      server2.your.domain
[9332]44
[9420]45        ; Actual Hesiod data.
46        haynes.grplist  TXT     "haynes:2638"
47        haynes.group    TXT     "haynes:*:2638:"
48        2638.gid        CNAME   haynes.group
49        zephyr.sloc     TXT     "zephyrserver1.my.domain"
50        zephyr.sloc     TXT     "zephyrserver2.my.domain"
[9334]51
52There is a mailing list at MIT for Hesiod users, hesiod@mit.edu.  To
53get yourself on or off the list, send mail to hesiod-request@mit.edu.
Note: See TracBrowser for help on using the repository browser.