Annotation of 43BSDTahoe/etc/named/README, revision 1.1

1.1     ! root        1: ---------------------
        !             2: This directory contains all the info and sources that
        !             3: exist for the Berkeley Internet Name Domain server.
        !             4: 
        !             5: bin       - shell scripts used by current Berkeley makefiles
        !             6: man       - manual pages & documentation
        !             7: doc       - copy of Bind Operations Guide, and other documents 
        !             8: include   - include files to go in /usr/include
        !             9: named     - name server sources
        !            10: res       - source for C library resolver routines
        !            11:            (may be used as separate library, resolv.a)
        !            12: master    - Sample data files
        !            13: tools     - some test programs
        !            14: 
        !            15: 
        !            16: Here is how to install the name server on 4.3BSD:
        !            17: 
        !            18: 0) cp bin/mkdep /usr/ucb/mkdep
        !            19:    cp bin/manroff /usr/man/manroff
        !            20: 1) cp include/arpa/* /usr/include/arpa  
        !            21: 2) cp include/*.h /usr/include 
        !            22: 3) cp man/*.1 /usr/man/manl
        !            23:    cp man/*.3 /usr/man/man3
        !            24:    cp man/*.5 /usr/man/man5
        !            25:    cp man/*.7 /usr/man/man7
        !            26:    cp man/*.8 /usr/man/man8
        !            27: 4) cp res/{res*.c,herror.c,Makefile} /usr/src/lib/libc/net
        !            28:    cp res/strcasecmp.c /usr/src/lib/libc/gen
        !            29:    cp res/named/{*.c,Makefile} /usr/src/lib/libc/net/named
        !            30: 5) add strcasecmp.[co] to the Makefile in /usr/src/lib/libc/gen
        !            31: 6) rebuild and install /lib/libc.a.
        !            32: 7) cd named; make depend; make named; make install
        !            33: 8) cd tools/nslookup; make nslookup; make install
        !            34: 9) create the master files (samples in master/*)
        !            35: 10) edit /etc/rc.local to include:
        !            36: 
        !            37: if [ -f /etc/named ]; then
        !            38:         /etc/named; echo -n ' named' >/dev/console
        !            39: fi
        !            40: 
        !            41: 11) recompile network client and server programs that use gethostbyname, etc.
        !            42: 
        !            43: 
        !            44: Here is how to install the name server on 4.2BSD or similar systems.
        !            45: Rather than building libresolv.a, you may wish to integrate the resolver
        !            46: routines into /lib/libc.a.  This is recommended to make it easy to recompile
        !            47: network programs once named is running.  This procedure may require hand-
        !            48: tayloring on some systems.
        !            49: 
        !            50: The mkdep script is used by "make depend" to regenerate Makefile dependency
        !            51: lists.  It depends on the -M option to cc to produce dependencies.
        !            52: If you don't have this option to cc, you may have to edit the "depend"
        !            53: entry or the actual dependencies themselves.  Try skipping the "make depend"
        !            54: steps.  If you get errors like
        !            55:        "make: don't know how to make /usr/include/something.h"
        !            56: then remove the dependency on something.h and try again.
        !            57: 
        !            58: You will need to chose a version of netdb.h.  First, check /usr/include/netdb.h
        !            59: on your system.  If the hostent structure has a h_addr_list entry, you can
        !            60: probably use your existing netdb.h or the one in include/netdb.h.
        !            61: If the existing netdb.h in /usr/include does not have a h_addr_list field,
        !            62: yoiu will have to decide whether to update to the 4.3BSD format of the hostent
        !            63: structure.  This is the best approach, but cannot be used unless you plan
        !            64: to upgrade entirely: if you use the new structure in /usr/include/resolv.h,
        !            65: you must replace the gethostbyname and gethostbyaddr routines in /lib/libc.a
        !            66: with the nameserver versions, and you must recompile any object files
        !            67: that will be linked using the new libc.a.  If this doesn't make sense,
        !            68: and /usr/include/netdb.h doesn't have an h_addr_list line, use
        !            69: include/netdb.h.4.2 instead of netdb.h.
        !            70: 
        !            71: On systems with Sun RPC, you will have to merge include/netdb.h or
        !            72: include/netdb.h.4.2 with /usr/include/netdb.h; copy the rpc-related lines
        !            73: into the appropriate copy of netdb.h.  Alternatively, use an alternate
        !            74: include path when compiling the resolver library and programs that use it.
        !            75: 
        !            76: 0) cp tools/mkdep /usr/ucb/mkdep
        !            77:    cp tools/manroff /usr/man/manroff
        !            78: 1) cp include/arpa/* /usr/include/arpa
        !            79: 2) cp include/resolv.h /usr/include
        !            80: 3) cp include/netdb.h /usr/include/netdb.h
        !            81: OR
        !            82:    cp include/netdb.h.4.2 /usr/include/netdb.h
        !            83: OR
        !            84:    edit /usr/include/netdb.h
        !            85: 4) cp man/*.1 /usr/man/manl
        !            86:    cp man/*.3 /usr/man/man3
        !            87:    cp man/*.5 /usr/man/man5
        !            88:    cp man/*.7 /usr/man/man7
        !            89:    cp man/*.8 /usr/man/man8
        !            90: 5) cd res; mkdep -f Makefile.resolv;
        !            91:    make -f Makefile.resolv libresolv.a install
        !            92: OR
        !            93:    update the libc sources as in the 4.3BSD instructions above
        !            94:    and use res/Makefile as a guide for integration
        !            95:    and omit the RES=-lresolv in the next two steps
        !            96: OR
        !            97:    compile the .o files in res according to Makefile.resolv,
        !            98:    then use place those object files in /lib/libc.a (keeping a backup!)
        !            99:    and omit the RES=-lresolv in the next two steps
        !           100: 6) cd named; make depend; make RES=-lresolv named; make install
        !           101: 7) cd tools/nslookup; make RES=-lresolv nslookup install
        !           102: 8) create the master files (samples in master/*)
        !           103: 9) edit /etc/rc.local to include:
        !           104: 
        !           105: if [ -f /etc/named ]; then
        !           106:         /etc/named; echo -n ' named' >/dev/console
        !           107: fi
        !           108: 
        !           109: 10) eventually, recompile network client and server programs that use
        !           110: gethostbyname, etc.
        !           111: 
        !           112: If you have any problems or fixes send them to 
        !           113: 
        !           114:                [email protected]
        !           115:             or [email protected]
        !           116: 
        !           117: For sendmail that supports MX records, use anonymous ftp to obtain
        !           118:        ucbarpa.Berkeley.EDU:~ftp/pub/4.3/sendmail.MX.tar.Z (compressed)
        !           119: or
        !           120:        ucbarpa.Berkeley.EDU:~ftp/pub/4.3/sendmail.MX.tar
        !           121: (Check the dates on these files, as the version that works with the current
        !           122: nameserver isn't quite ready yet.)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.