2023年10月15日 星期日

CentOS 7.9 Install BIND 9.16 Extended Support Version Packages

 

yum install scl-utils scl-utils-build iso-codes-devel.noarch iso-codes.noarch


vi /etc/yum.repos.d/isc-bind-esv-epel-7.repo

[copr:copr.fedorainfracloud.org:isc:bind-esv]

name=Copr repo for bind-esv owned by isc

baseurl=https://download.copr.fedorainfracloud.org/results/isc/bind-esv/epel-7-$basearch/

type=rpm-md

skip_if_unavailable=True

gpgcheck=1

gpgkey=https://download.copr.fedorainfracloud.org/results/isc/bind-esv/pubkey.gpg

repo_gpgcheck=0

enabled=1

enabled_metadata=1


https://copr.fedorainfracloud.org/coprs/isc/bind-esv


Description


BIND 9.16 Extended Support Version Packages


This Copr contains the core BIND 9 DNS server and all the required dependencies for the popular DNSTAP 

logging feature. These packages are provided by the BIND developer, not the operating system, and is 

intended to provide an up-to-date version of BIND. It is not suitable for use if you are relying on 

operating system-specific features, such as, for example FreeIPA.


Installation Instructions

To use this Copr repository, please first enable it by following the Quick Enable instructions on the right of your screen.


Once the repository is enabled, run yum install isc-bind (RHEL/CentOS 7) or dnf install isc-bind (RHEL/CentOS 8, Fedora). 


This will install the BIND 9 Software Collection.


NOTE: The above commands are the only supported way of installing the BIND 9 Software Collection.

The BIND 9 Software Collection consists of several packages, the most important of which are:


isc-bind-bind, which contains the named binary, the rndc tool, DNSSEC utilities, and related configuration/system files,

isc-bind-bind-utils, which contains other BIND 9 utilities, most importantly dig and nsupdate.

Quick reference for the named daemon:


The configuration file can be found at:

/etc/opt/isc/isc-bind/named.conf (RHEL/CentOS 7)

/etc/opt/isc/scls/isc-bind/named.conf (RHEL/CentOS 8, Fedora)

Command line options for the daemon can be specified in:

/etc/opt/isc/isc-bind/sysconfig/named (RHEL/CentOS 7)

/etc/opt/isc/scls/isc-bind/sysconfig/named (RHEL/CentOS 8, Fedora)

To start the daemon, run systemctl start isc-bind-named.

If you want the daemon to start at boot time, run systemctl enable isc-bind-named.

Note that due to the nature of Software Collections, no BIND 9 daemon or utility installed by these packages is available in 

$PATH by default. To be able to use them, do the following:


to enable the Software Collection for the current shell, run scl enable isc-bind bash

to enable the Software Collection inside a shell script, add the following line to it: source scl_source enable isc-bind

The latter line can also put in one of your shell initialization files (like ~/.bash_profile) to automatically enable the 

Software Collection upon every login (caveats apply). For more ways of enabling a Software Collection (that might better fit your needs),

 please consult the Software Collection documentation.


Providing BIND 9 as a Software Collection allows the latest supported versions released by ISC to be installed along stock OS packages 

(which are usually based on older releases) on the same machine. If for some reason you prefer to use classic packages that do not 

comprise a Software Collection, the source RPMs published in this Copr can be conveniently rebuilt using --without scl.

 Note, however, that the resulting packages cannot be installed on a machine which also has stock OS packages installed.


For more BIND 9 documentation, including instructions on installing from source, please take a look at the ISC Knowledge Base.


To report a bug, please fill out the bug report form in ISC GitLab.




 



沒有留言:

張貼留言