Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
15 views
Setup Bind On RHEL8
Setup Bind on RHEL8
Uploaded by
Sufian Albadani
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Setup Bind on RHEL8 For Later
Download
Save
Save Setup Bind on RHEL8 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
15 views
Setup Bind On RHEL8
Setup Bind on RHEL8
Uploaded by
Sufian Albadani
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Setup Bind on RHEL8 For Later
Carousel Previous
Carousel Next
Save
Save Setup Bind on RHEL8 For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 7
Search
Fullscreen
wl wus Setup Bind on CentOS 8 / RHEL8 Lab setup: + Server: CentOS 8 (minimal server) + address: 192.168.43.35, ‘+ Hots Name: dne-primary.mydomain.com + Domain: mydomain.com Step 1: Install bind DNS on CentOS 8 / RHEL 8 We begin withthe installation ofthe bind and bind-utils package. These packages constitutes dns server and is ullities responsible for querying name servers or DNS servers. Execute the command: Once successfully installed, start the DNS server using the command below: Next, enable it so that it can kick in even after a reboot Just to be sure thatthe service is running as expected, check its statuswl wus Great, the DNS server is running just perfectly. Now let's jump into configuring the Bind DNS server Step 2: Configure bind DNS server Usually best practice recommends making a backup of a configuration file before making any changes. This isso that should anything go wrong, we can always revert to the original unedited file, And its no different here, Let's take a backup of the config file /ete/named.cont 1 sp (etciranad.cont_ Jete/naned.ble Now go ahead and open the file using your preferred text ecitor. In this case, were using vim ecltor. 1 vin /etc/naned.cont Under the ‘Options’ section, ensure you comment out the lines indicated below to enable the Bind DNS server to listen to all IPs. 1) astencon port $3 ( 327.0.8.13 5 1) AAsten-on-v6 port 53 ( 2:15 J: Additionally, locate the allow-query parameter and adjust it according to your network subnet. allot-query { localhost; 192.168.43.0/28; ); This setting allows only the hosts in the defined network to access the DNS server and not just any other host. ‘A forward lookup DNS zone is one that stores the host name ip address relationship. When queried, it ives the IP address of the host system using the host name. In contrast, the reverse DNS zone returns the Fully Qualified Domain Name (FQDN) of server in relation to it's IP address. To define the reverse and forward lookup zones, copy and paste the following configuration atthe enc of Jate/named.contwl wus te { none: Ji % zone °43,468,192,40-adr.arp9" IN ( atlow-vpdate { none; }5 % ‘Stipulates the role ofthe server fora particular zone. the attribute ‘master’ implies that this ie an autharitative server. + file: Points to the forward / reverse zone file ofthe éomain, + allow-update: This attribute defined the host aystems which are permitted to forward Dynamic DNS updates. In this case, we dontt have any. After saving, exit the /eto/named.conf configuration fle. Step 3: Create a forward DNS zone file for the domain Create a forward DNS zone file for domain mydomain.com as shown below and add the following contentwl wus (1% Sok ens-arinary.myeonain. con. sonin.nyéonain.con. ( 3609 Refresh sane Server Information 2905 ens-pranary myeenain. com 1 Address for Nane Server dns-potmary IN & 192.168,43.35 ‘Math Server Wx (Hall exchanger) Record rmydonain.com, IN 19 nail nysonain. con. 1A Record for the following Host nane sce Record ftp IN CAME ws nysonain.com. Let's define some of the parameters indicated in the configuration fle: + TIL: This is short for Time-To-Live. TTL is the duration of time (or hops) that a packet exists in a network before finaly being discarded by the router + IN: This implies the Internet + SOA: Thisis short for the Start of Authority. Basically, it defines the authoritative name serve, in this case, dns: primary.mydomain.com and contact information ~ admin mydomain.com + NS: This is short for Name Server, + A:This is an A record, It points to a domain/subdomain name to the IP Adcress + Serial: This isthe attribute used by the DNS server to ensure that contents of a specific zone file are updated + Refresh: Defines the number of times that a slave DNS server should transfer a zone from the master. + Retry: Defines the number of times that a slave should retry a non-responsive zone transfer. + Expire: Specifies the duration a slave server should wait before responding to a client query when the Master is unavailable. ‘+ Minimum: This is responsible for setting the minimum TTI for a zone. ‘+ MXC This isthe Mail exchanger record. It specifies the mailserver receiving and sending emails, ‘+ CNAME: This is the Canonical Name. It maps an alias domain name to another domain name. ‘+ PTR: Short for Pointer, this attributes resolves an IP address to @ domain name, opposite to a domain name. Step 4: Create a reverse DNS zone file for the domain Similarly, we need to create a file for reverse DNS lookups. Paste the following content inthe filewl wus (1% Sok ens-arinary.myeonain. con. sonin.nyéonain.con. ( 3500 jnefesh > sane Server Information 0-290 ns-prinary myeenain. cow severse lookup for Wane Server 35 1N PTR éns-prinary nyse ey PIR atl.mydonain.con Next, assign the necessary fle permissions to the two configuration files. 1 chow raned:naned /var/naned/nydonain.con. do 1 chou naned:naned /var/nanea/nydonsin. con. rev To confirm that the DNS zone lookup files are free from any syntactical errors, run the commands shown: # maned-checkzone mydonain.con /var/aned/mydonai.con. 6 1 naned-checkzone 192.168.43.35 /var/naned/nydonain.con. rev If there ate no errors, you should get the output shown: For the changes to be reflected in the system, restart the Bind DNS server For client systems to access the system we need to add the DNS service on the firewall and thereafter reload the firewall Step 5: Test the Bind DNS server from a client system Having finalized the configuration on the DNS server let's head out toa client machine and perform a few tests. On a client machine ( CentOS 8 / RHEL 8), open the /ete/resolv.cont file anc ed the following parameter:a Ww up. Se Lastly, you need to append the Bind DNS server's IP address to the /ete/syscontig/network-seripts/fetg-enp0s3 file as showin. ‘Save and close the contig file and then restart the network manager service to make above change into the effect, Using the nslookup command test the Bind DNS server as shown The output from the nslookup command confirms thatthe forward DNS lookup is working as expected, Moreover, you can also use the dig command as shown, To perform a reverse DNS lookup, use the dig command as shown: Perfect! The reverse DNS lookup is also working as we would expect. Cette réponse était-lle pertinente? ‘9 834 utlestaurs fant touvée ule (295 Votes) Oui Non Les plus consultés IB. install PHP 7. NGINX & MySOL 5.6 0n Comos/RHEL 7.1 86.7 cni0S/ HEL 7 # yum al ells # rm Anh Install Fall2Ban on Centos 7 IB Optimize Apache on Centos 7 Intndution Apache sa eowerful and capable on-source web server designed tn pe a.wl wus + z£ Copyright © 2024 Clousfanatic. Tous dots réservés
You might also like
DNS S
PDF
No ratings yet
DNS S
4 pages
How to setup DNS Authoritative Server in CentOS 7
PDF
No ratings yet
How to setup DNS Authoritative Server in CentOS 7
10 pages
DNS Server Installation: Scenario
PDF
No ratings yet
DNS Server Installation: Scenario
21 pages
DNS Lab
PDF
No ratings yet
DNS Lab
10 pages
DNS_server
PDF
No ratings yet
DNS_server
6 pages
How To Configure BIND, NTP As A Private Network Server On CentOS
PDF
No ratings yet
How To Configure BIND, NTP As A Private Network Server On CentOS
22 pages
Configure DNS Server using bind chroot
PDF
No ratings yet
Configure DNS Server using bind chroot
9 pages
Setting Up DNS Server On CentOS 7 - Unixmen
PDF
No ratings yet
Setting Up DNS Server On CentOS 7 - Unixmen
16 pages
3 DNS
PDF
No ratings yet
3 DNS
11 pages
DNS - Domain Naming System.
PDF
No ratings yet
DNS - Domain Naming System.
44 pages
Linux: How To Configure The DNS Server For 11gR2 SCAN (ID 1107295.1)
PDF
No ratings yet
Linux: How To Configure The DNS Server For 11gR2 SCAN (ID 1107295.1)
4 pages
Installing Bind in Ubuntu
PDF
No ratings yet
Installing Bind in Ubuntu
4 pages
Guide For Setting Up A Dns Server in Red Hat / Centos / Fedora
PDF
100% (1)
Guide For Setting Up A Dns Server in Red Hat / Centos / Fedora
14 pages
Server Integration Notes
PDF
No ratings yet
Server Integration Notes
14 pages
How To Configure A DNS Server in Rhel 6 - Centos 6 Using BIND - Step by Step
PDF
No ratings yet
How To Configure A DNS Server in Rhel 6 - Centos 6 Using BIND - Step by Step
9 pages
How To Setup DNS Server Using Bind9 On Ubuntu 16.04
PDF
No ratings yet
How To Setup DNS Server Using Bind9 On Ubuntu 16.04
7 pages
DNS
PDF
No ratings yet
DNS
9 pages
TP DNS 24-25
PDF
No ratings yet
TP DNS 24-25
7 pages
DNS Server Setup Using Bind in Ubuntu
PDF
No ratings yet
DNS Server Setup Using Bind in Ubuntu
9 pages
Las06 DNS 2023.v2
PDF
No ratings yet
Las06 DNS 2023.v2
15 pages
Lab06 - Ubuntu - DNS
PDF
No ratings yet
Lab06 - Ubuntu - DNS
14 pages
Dns Server Setup Using Bind On Centos 5.8: Prof Jeong Chul
PDF
No ratings yet
Dns Server Setup Using Bind On Centos 5.8: Prof Jeong Chul
10 pages
Seven Easy Steps To Setting Up An Interal DNS Server On Ubuntu
PDF
No ratings yet
Seven Easy Steps To Setting Up An Interal DNS Server On Ubuntu
53 pages
How To Configure Linux Dns Server Step by Step Guide Example and Implementation
PDF
No ratings yet
How To Configure Linux Dns Server Step by Step Guide Example and Implementation
85 pages
Dns - Domain Name System: # Yum Install - y Bind Bind-Chroot Bind-Devel Bind-Libs Bind-Utils
PDF
No ratings yet
Dns - Domain Name System: # Yum Install - y Bind Bind-Chroot Bind-Devel Bind-Libs Bind-Utils
3 pages
Day 7_DNS
PDF
No ratings yet
Day 7_DNS
29 pages
Zimbra Installation On CentOS Step by Step Guide - Part3 CentOS DNS Setup
PDF
No ratings yet
Zimbra Installation On CentOS Step by Step Guide - Part3 CentOS DNS Setup
5 pages
Configure DNS (BIND) Server On CentOS 7 RHEL 7
PDF
No ratings yet
Configure DNS (BIND) Server On CentOS 7 RHEL 7
5 pages
Custom Configura On of DNS Server
PDF
No ratings yet
Custom Configura On of DNS Server
10 pages
Setup Primary (Master) DNS Server
PDF
No ratings yet
Setup Primary (Master) DNS Server
3 pages
06. Primary Master DNS server (caching with forwarder)
PDF
No ratings yet
06. Primary Master DNS server (caching with forwarder)
7 pages
How To Configure Bind as a Caching or Forwarding DNS Server on Ubuntu 14.04 _ DigitalOcean
PDF
No ratings yet
How To Configure Bind as a Caching or Forwarding DNS Server on Ubuntu 14.04 _ DigitalOcean
30 pages
How To Configure DHCP Server On CentOS
PDF
No ratings yet
How To Configure DHCP Server On CentOS
9 pages
DNS Hosting Guide Hidden Master With DNSSEC
PDF
No ratings yet
DNS Hosting Guide Hidden Master With DNSSEC
4 pages
How To Set Up Private DNS Servers With BIND On CentOS 8
PDF
No ratings yet
How To Set Up Private DNS Servers With BIND On CentOS 8
5 pages
DNS Server Installation
PDF
No ratings yet
DNS Server Installation
6 pages
Linux Dns Server Expose
PDF
No ratings yet
Linux Dns Server Expose
14 pages
Setup DNS Server Step by Step in CentOS 6
PDF
No ratings yet
Setup DNS Server Step by Step in CentOS 6
15 pages
Lesson 8 - Directing DNS
PDF
No ratings yet
Lesson 8 - Directing DNS
41 pages
Manasi Tawade - PES1UG22CS815 - Lab5
PDF
No ratings yet
Manasi Tawade - PES1UG22CS815 - Lab5
9 pages
DNS (Domain Name System) Overview
PDF
No ratings yet
DNS (Domain Name System) Overview
8 pages
DNS Server Lab Manual
PDF
No ratings yet
DNS Server Lab Manual
16 pages
Linux Unit 4 - 23418248 - 2023 - 11 - 22 - 12 - 37
PDF
No ratings yet
Linux Unit 4 - 23418248 - 2023 - 11 - 22 - 12 - 37
49 pages
Welcome: - Basics of Dns
PDF
No ratings yet
Welcome: - Basics of Dns
21 pages
How To Install and Configure DNS Server in Linux
PDF
No ratings yet
How To Install and Configure DNS Server in Linux
5 pages
Debian (Jessy Dns Server Configuration)
PDF
No ratings yet
Debian (Jessy Dns Server Configuration)
9 pages
Bind 9
PDF
No ratings yet
Bind 9
33 pages
Kwca Edlerbismrab Bmelgbi Bi Vijenakñúg .: Dns Linux System
PDF
No ratings yet
Kwca Edlerbismrab Bmelgbi Bi Vijenakñúg .: Dns Linux System
5 pages
Bind Installation On Centos: 1. You Can Check Bind Packet
PDF
No ratings yet
Bind Installation On Centos: 1. You Can Check Bind Packet
4 pages
DNS Server
PDF
No ratings yet
DNS Server
7 pages
Session 3
PDF
No ratings yet
Session 3
27 pages
Configuración Servidor DNS
PDF
No ratings yet
Configuración Servidor DNS
7 pages
Example: Let'S Say A System Administrator Wants To Setup 3 Ipaddresses With The Same Machine
PDF
No ratings yet
Example: Let'S Say A System Administrator Wants To Setup 3 Ipaddresses With The Same Machine
8 pages
Understanding DNS
PDF
No ratings yet
Understanding DNS
15 pages
DNS in Ubuntu Server
PDF
No ratings yet
DNS in Ubuntu Server
3 pages
DFN6033 Open Source Server Administration: Assessment: Practical Task
PDF
100% (1)
DFN6033 Open Source Server Administration: Assessment: Practical Task
14 pages
Secondarydns - Informatica.local: Instalamos Los Paquetes de Bind en El Servidor
PDF
No ratings yet
Secondarydns - Informatica.local: Instalamos Los Paquetes de Bind en El Servidor
10 pages
Setting DNS Server Dengan BIND Di Redhat 9
PDF
No ratings yet
Setting DNS Server Dengan BIND Di Redhat 9
7 pages
Day 21 1 Webserver2 13
PDF
No ratings yet
Day 21 1 Webserver2 13
1 page
administering_netact_system_security_base
PDF
No ratings yet
administering_netact_system_security_base
594 pages
5200-8314
PDF
No ratings yet
5200-8314
158 pages
Administering Users and Permissions
PDF
No ratings yet
Administering Users and Permissions
269 pages
user_management
PDF
No ratings yet
user_management
42 pages
Datasheet Narada-NPFC-FLS-NA-V1R11c
PDF
No ratings yet
Datasheet Narada-NPFC-FLS-NA-V1R11c
4 pages
Fabric Attached and Direct Attached Fibre Channel Network Types
PDF
No ratings yet
Fabric Attached and Direct Attached Fibre Channel Network Types
1 page
h15691 Cloudiq Overview
PDF
No ratings yet
h15691 Cloudiq Overview
189 pages