how to compile bind on linux

Kenneth Porter shiva at well.com
Thu Jan 4 17:00:28 UTC 2001


On Thu, 04 Jan 2001 21:30:42 +0500, simmen : wrote:

>well im new to linux...i wonderd if someone could gide me on
>configering bind 8.x on linux (red hat).or guide me to an article/doc
>which will help in the regard...
>in need to know it from getting the "tar" to compiling.

You could just install the binary RPMs from the CD ("rpm -U -vv
bind-8*.i386.rpm"). Or, if you want to rebuild from source:

Grab the SRPM from the CD. Use "rpm -i bind-8.*.src.rpm". This unpacks
the tarball, spec file, and RH-specific patches to /usr/src/redhat/*.
Then "cd /usr/src/redhat/SPECS" and "rpm -ba bind.spec" will untar,
patch, build, and package to a new binary RPM. "cd
/usr/src/redhat/RPMS/i386" and "rpm -U -vv bind-8.*.i386.rpm"
updates/installs the binary RPM.

If you want to run a caching nameserver, do the same process for the
package caching-nameserver. This is just a 3-file set of config files
for bind, so the resulting "binary" package will end up in
/usr/src/redhat/RPMS/noarch/caching-nameserver-*.noarch.rpm.

Ken
mailto:shiva at well.com
http://www.sewingwitch.com/ken/





More information about the bind-users mailing list