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.
Line 
1This is release 3.1.0 of the Hesiod name service library.  Hesiod can
2provide general name service for a variety of applications and is
3based on the Berkeley Internet Name Daemon (BIND).
4
5To prepare this directory for building, run the command "./configure".
6configure takes a number of options; use "./configure --help" to find
7out what they are.  Hesiod requires a vaguely ANSI compiler to build;
8gcc will do.
9
10Run "make" or "make all" to build the Hesiod library.
11
12Run "make install" to install the Hesiod library.
13
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:
17
18        rhs=.your.domain
19        lhs=.ns
20
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.
26
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:
30
31        primary         ns.your.domain          named.hesiod
32
33And then in named.hesiod, you need data looking something like:
34
35        ; SOA and NS records.
36        @       IN      SOA     server1.your.domain admin-address.your.domain (
37                        40000         ; serial - database version number
38                        1800          ; refresh - sec servers
39                        300           ; retry - for refresh
40                        3600000       ; expire - unrefreshed data
41                        7200 )        ; min
42                        NS      server1.your.domain
43                        NS      server2.your.domain
44
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"
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.