#yum install -y bind*
#vim /etc/named.conf
options{
127.0.0.1
::1
allow-query {192.168.1.1/24; };
zone "student.com" IN {
type master;
file "forward.zone";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "reverse.zone";
};
:wq
#cd /var/named/
#ls
#cp -rf named.localhost forward.zone
#cp -rf named.loopback reverse.zone
#vim forward.zone
$TTL 1D
@ IN SOA student.com. root.student.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS student.com.
student.com. IN A 192.168.1.10
www.student.com. IN A 192.168.1.10
---------------------------------------------------
##vim reverse.zone
$TTL 1D
@ IN SOA student.com. root.student.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS student.com.
10 PTR student.com.
10 PTR www.student.com.
------------------------
#chown -R named:named /var/named/
#vim /etc/resolv.conf
search student.com
nameserver 192.168.1.10
:wq
#systemctl restart named
#systemctl enable named
#nslookup student.com
#dig student.com
#dig -x 192.168.1.10
#systemctl stop firewalld
-----------------------------------------------------------------------------------------------------------------------
Muhammad Tareq Musa
M.Sc, MCP, MCSA, CCNA Cyber Ops. Associate
MTCNA. MTCRE
Microsoft Windows Server 2016 Charter Member
Azure 900 Certified
Technical Trainer
We providing Training by Online Specially Windows Server 2016, Exchange Server 2016 and so on.
Feel Free to ping me
Contact: +8801844075129, +8801674962416
[email protected]
-------------------------------------------------------------------------------------------------------------------------
Join Facebook study Group :
/ 30279. .
/ 42719. .
--------------------------------------------------------------------------------------------------------------------------------------
#English is not my 1st language , we try english here just for everyone understanding , Sorry for any mistake .
----------------------------------------------------------------------------------------------------------------------------------------
👉Facebook : https://www.facebook.com/profile.php?...
👉LinkdIn: / tareq-mus. .
Playlist # Exchange Server 2016
👉 https://www.youtube.com/watch?v=ibg-j...
Playlist # Windows Server 2016 (70-740)
👉 https://www.youtube.com/watch?v=rGPdQ...
Playlist # Windows Server 2016 (70-741)
• 01.Lecture-1 DNS Service on Server 2016
Playlist # Windows Server 2016 (70-742)
• Active Directory Domain Service (ADDS...
Playlist # Windows Server 2016 (70-744)
• 01 Lecture 01 How to Work Active Dire...
Playlist # Mikrotik
👉https://www.youtube.com/watch?v=Uu3Rz...
WhatsApp +8801844075129