jom@belltec.UUCP (Jerry Merlaine) (04/13/89)
Hello! In the BIND 4.8 distribution we find: 1) :pwedit - convert /etc/passwd into user records for BIND 2) atod.y - convert /usr/lib/aliases into mail records for BIND What we do not find is a somewhat more complex program to transform /etc/hosts into records for the BIND database. Has anyone done this? Jerry O. Merlaine pacbell.com!belltec!jom
08071TCP@MSU.BITNET (Doug Nelson) (04/26/89)
>In the BIND 4.8 distribution we find: > 1) :pwedit - convert /etc/passwd into user records for BIND > 2) atod.y - convert /usr/lib/aliases into mail records for BIND > >What we do not find is a somewhat more complex program to transform /etc/hosts >into records for the BIND database. Has anyone done this? I have several "awk" scripts you might find useful. See the files in /src/hostmaint on serv1.cl.msu.edu (via anonymous ftp). I maintain all my records in the "hosts.txt" format, and convert the same file to both the /etc/hosts format and named format. Also there is a script to change "hosts" format into "hosts.txt", which will get you started. Doug Nelson Network Software Manager Michigan State University