Categories: Hostripples Featured

How to install BIND .


[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

HR-ADMIN

Recent Posts

Cyberduck and FileZilla: A Comprehensive Comparison

As a web designer and web developer your experience must have reached to new height, right? Further, you need to…

11 hours ago

The Science Behind Social Media Posting Times

In today's digital landscape, timing is everything. Whether you're a social media manager, business owner, or content creator, the success…

1 week ago

Mastering Google Search Console: Tips for New Users

Are you a website owner? Maintaining the website is the prime concern for any website owner. Yes, it’s equally important…

1 week ago

A Comprehensive Guide to Changing and Protecting the WordPress Login URL

If you’ve planned to launch a WordPress website, you might get a question, “How do I log in to WordPress?”…

2 weeks ago

The Ultimate Showdown: Linux vs Windows for VPS Hosting

As the demand for virtual private servers (VPS) continues to grow, businesses and individuals are faced with a crucial decision:…

1 month ago