How to install BIND .

wordpress Hosting

[Root @ example ~] # yum -y install BIND BIND-utils
It is set assuming that the global address [192.16.0.80/29], private address [10.0.0.0/24], the following settings in the domain name, and [Server.world]: Setting BIND. Please replace to suit your environment. (192.16.0.80/29 is actually the address for private)

[Root @ example ~] # echo ‘OPTIONS = “-4″‘ >> / etc / sysconfig / named # If you do not want to use the IPv6 (you will not be set if used) set [Root @ example ~] # Vi / etc / named.conf / / / / Named.conf / / / / Provided by Red Hat bind package to configure the ISC BIND named (8) DNS / / Server as a caching only nameserver (as a localhost DNS resolver only). / / / / See / usr / share / doc / bind * / sample / for example named configuration files. / /

options { # (Listens to port 53 on all interfaces of the server) Comment # listen-on port 53 {127.0.0.1;}; # (If you do not want to use the IPv6) change listen-on-v6 {None;}; directory “/ Var / named”; dump-file “/ Var / named / data / cache_dump.db”; statistics-file “/ Var / named / data / named_stats.txt”; memstatistics-file “/ Var / named / data / named_mem_stats.txt”; # (Where the internal Network, etc.) to allow range queries allow-query {Localhost; 10.0.0.0/24; }; # (Range / the place if there is a secondary DNS) range to allow the transfer of information zone allow-transfer {localhost; 10.0.0.0/24;}; recursion yes; dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto; / * Path to ISC DLV key * / bindkeys-file “/ etc / named.iscdlv.key”; }; logging { channel default_debug { file “data / named.run”; severity dynamic; }; };

# Change the following line from all view “internal” { match-clients { localhost; 10.0.0.0/24; }; zone “.” IN { type hint; file “named.ca”; }; zone “server.world” IN { type master; file “server.world.lan”; allow-update {none;}; }; zone “0.0.10.in-addr.arpa” IN { type master; file “0.0.10.db”; allow-update {none;}; }; include “/ etc/named.rfc1912.zones”; }; view “external” { match-clients {any;}; allow-query {any;}; recursion no; zone “server.world” IN { type master; file “server.world.wan”; allow-update {none;}; }; zone “80.0.16.172.in-addr.arpa” IN { type master; file “80.0.16.172.db”; allow-update {none;}; }; };

# Allow-query ? (specify the internal network, etc.) to allow range queries # Allow-transfer ? (range / the place if there is a secondary DNS) range to allow the transfer of information zone # Recursion ? Whether you are allowed to retrieve comeback # View “internal” {~}; ? describes the definition for internal # View “external” {~}; ? describes the definition for the external
# *. *. *. *. Place of in-addr.arpa is about to enter what was to reverse the network address # If the 10.0.0.0/24 # Network Address ? 10.0.0.0 # Range of network ? 10.0.0.0 – 10.0.0.255 # How to specify ? 0.0.10.in-addr.arpa

# If 192.16.0.80/29 # Network Address ? 192.16.0.80 # Range of network ? 192.16.0.80 – 192.16.0.87 # How to specify ? 80.0.16.172.in-addr.arpa


Cpanel Hosting