SlideShare ist ein Scribd-Unternehmen logo
1 von 81
NETWORK ADMINISTRATION 
DNS Server(Windows & Linux) 
2013-2014 
PASSERELLES NUMERIQEUS CAMBODIA 
Street 371 Phum Tropeang Chhuk (Borey Sorla), Sangkat Tek Thia Khan Sek Sok P.O. Box 511 Phnom Penh, 
Cambodia
Table of Content 
1. Configure Domain Name ................................................................................................................................2 
2. Install Bind package..........................................................................................................................................4 
3. Create: Forward Lookup zone file & Reverse Lookup zone file in the 
master DNS zone. .........................................................................................................................................................4 
4. Create Resource Record with: ....................................................................................................................5 
5. Create Zone transfer .............................................................................................................................................. 10 
5. Encryption transfer protocol...................................................................................................................... 17 
I. On Windows: ................................................................................................................................................... 20 
1. Install DNS + AD service ............................................................................................................................ 22 
2. Configure DNS zone: .............................................................................................................................................. 30 
- Configure Forward ............................................................................................................................................ 30 
-Revers lookup zone ........................................................................................................................................... 31 
3. Create Resource Record: ..................................................................................................................................... 38 
 A(Resolve from host to host) ........................................................................................................... 38 
 PTR(pointer) ................................................................................................................................................... 40 
 CNAME(alias) .................................................................................................................................................. 42 
 MX(Mail Exchanger).................................................................................................................................. 45 
4. Create multiple domains name ........................................................................................................................ 48 
-Forward New zone ................................................................................................................................................... 48 
-Reverse New Zone .................................................................................................................................................. 52 
5. Configure DNS zone transfer............................................................................................................................. 57 
- Configure on Primary DNS server ................................................................................................................ 57 
- Allow only sna2015. lan ....................................................................................................................................... 59 
- Configure on Secondary DNS server (Transfer only sna2015.lan) .......................................... 60 
-Enable master transfer zone ............................................................................................................................. 66 
6. Active Directory-integrated DNS zone:....................................................................................................... 68 
- Configure AD-integrated Replication .......................................................................................................... 68 
- Set Dynamic update as Security only ........................................................................................................ 79
Suse Linux: 
1. Configure Domain Name 
-Go to by type yast lan =>Hostname/DNS =>input the Domain name and 
Server name => OK 
-Configure by input the domain name: tola091.lan
-Show IP Address and restart network services config(rcnetwork restart, 
ifconfig) 
-Show hostname
2. Install Bind package 
-Types the yast –I => install the packet bind (bind) =>type bind in the 
Search Phrase and Accept to install. Or (zipper install –y bind) 
OR 
3. Create: Forward Lookup zone file & Reverse Lookup zone file 
in the master DNS zone. 
- After we finished install the dns services, we need to back up the file 
named.conf that store in the locate /etc to other or some locations.( cp 
/etc/named.conf /etc/named.conf.bk)
- Forward zone is a zone that map name of host to IP address. 
- Reverse zone is a zone that map IP address to name of host. 
- Create these zone we need to: vim /etc/name.conf for configure the file 
named.conf. 
-Configure the zone by creaete forward zone: tola091.lan.zone and reverse zone: 
192.168.1.zone and disable for file include as the picture below: 
-Save them after configure by use :x1 or ZZ 
4. Create Resource Record with: 
-Backup the forward zone and reverse zone of loca to master
-Create resource record and confure for forward zone and reverse zone 
as A, PTR,MX,CNAME 
-Type this command vim tola091.lan.zone to configure forward zone 
- A = Resolves a host to an IP address 
- PTR = Resolves an IP to a host name (1.168.192.in-addr.arpa) 
- CNAME = Resolves from hostname to hostname 
- MX = The mail Server
-Type this command vim 192.168.1.zone to configure reverse zone 
-Use command rcnamed restart to restart service named 
- Use command vim /etc/resolv.conf to add more line of DNS 
-NSLookup Tools 
Nslookup is a command-line utility used to diagnose DNS infrastructure
-DIG command
+ Let client test 
5. Create Zone transfer 
- Configure on Master DNS server 
Additional command for enable master transfer zone to slave 
allow-update { none; }; 
allow-query { any; }; 
allow-transfer { 192.168.1.2; };
- Configure on Slave DNS server 
-Check IP and Hostname 
-Test Connection 
-Configure Domain Name for DNS Slave
-Use command zipper install –y bind 
-Use command cp /etc/named.conf /etc/named.conf.bk for backup
-Zone Transfer, Use command vim /etc/named.conf to configure to get 
the zone transfer from master dns. 
-All the zone will transfer from master zone 
-Restart rcnamed restart 
- The zone will change directory to /var/lib/named/slave so we will 
see the zone that transfer from master zone.
-Show the Reverse Zone Configuration of DNS slave that transfer from 
master DNS 
-Show the Forward zone Configuration of DNS slave that transfer from 
master DNS
-additional line 
-Use NSLookup Tool
-Use DIG Tool
5. Encryption transfer protocol 
-Encryption zone transfer means we would transfer the zone from master 
to slave by using security of encrypt password. 
-Type command dnssec-keygen –a HMAC-MD5-b 96 –n HOST tola in 
order to create encrypt password.
-Copy encryption file from master to slave to bring this key encrypt to 
slave. 
-Go to the named configuration to pass the encrypt key. 
-Restart named services 
7. Let testing of Zone transfer and Encryption transfer
I. On Windows: 
+Before we install other services we need to modify the hostname and 
assigned the real IP address of host. 
-Assigned IP by type command ncpa.cpl to configure the IP address.
-Right on LAN and then click Properties 
-Check Hostname
1. Install DNS + AD service 
-Select Server Manager.Or from the Quick Launch Taskbar. 
-Select Roles. Then Add Roles. Before you continue verify that; 
-You can skip this page by default. 
-Click Next to continue
-Select Active Directory Domain Services. There is no need to select DNS 
Server; this role will be added with DCPROMO. Then Click Next.
- Ensure you read Things to Note. Then Click Next. Click Install.
- The Active Directory Binaries have been installed. Click Close this wizard 
and launch dcpromo.exe. You can also launch dcpromo from the Run box. 
Click Next. Or type the dcpromo on the run. 
- Operating System Compatibility warning about new Server 2008 security 
settings. Check there is no compatibility issue with existing network 
infrastructure. If none click Next.
- Select Create a new domain in a new forest and Click Next.
- 
- There are 3 Forest functional levels Windows 2000, Windows 2003, 
Windows 2008 and Windows Server 2008 R2.
- Select DNS server then Next to continue. Next to continue. The Wizard 
cannot contact the DNS server for this zone. Select yes to continue; DNS 
will then be installed. The Database folders are assigned. Click Next to 
accept the defaults. Restore mode password must be set, click Next to 
continue.
- The Active Directory components are installed. Click Finish to complete 
the installation. The Server needs to be restarted to finalise the 
installation. Click Restart Now. Server restarts.
- 
2. Configure DNS zone: 
- Configure Forward 
A Forward lookup is the most common form of DNS lookup. This 
type of lookup converts a hostname into an IP address. A Forward 
Lookup-Zone contains Name to IP Address mappings. 
-Click Start> Administrative Tools> DNS >Expand by clicking the + next 
to the DNS server
-To add a New Forward Lookup Zone Right click Forward Lookup Zones. 
Click New Zone. 
-Revers lookup zone 
- Right click Reverse Lookup Zones and Select New Zone. 
- Select Primary Zone and tick Store
- Select IPv4 Reverse Lookup Zone. and Next to continue
- Type in the Network ID and Next to continue 
- The Wizard will ask you if you want to accept dynamic updates. As the 
wizard shows there are drawbacks to having it enabled, but there are also 
drawbacks for having it disabled.
- New Delegation to class Monitor as Admin 
- To open DNS Manager, click Start, point to Administrative Tools, and 
then click DNS.
- right-click the applicable subdomain, and then click New Delegation. 
- Follow the instructions in the New Delegation Wizard to finish creating 
the new delegated domain.
3. Create Resource Record: 
A(Resolve from host to host) 
-Open DNS Manager 
- right-click the forward lookup zone to which you want to add the record, 
and then click New Host (A or AAAA).
- In Name, type the DNS computer name for the new host. 
In IP address, type the IP address for the new host. You can type the 
address in IP version 4 (IPv4) format (to add a host (A) resource record) 
or format (to add a host (AAAA) resource record).
- 
PTR(pointer) 
-You can use this procedure to create a pointer (PTR) resource record in a 
reverse lookup zone in Domain Name System (DNS). 
- right-click the reverse lookup zone that you want to manage, and then 
click New Pointer (PTR).
-In the Host IP number text box, type the host IP address in IP version 4 
(IPv4), 
-As an option, you can click Browse to search the DNS namespace for 
hosts that have host (A or AAAA) resource records already defined.
CNAME(alias) 
- Alias (CNAME) resource records are also sometimes called canonical 
name resource records. With these records, you can use more than one 
name to point to a single host,
- right-click the applicable forward lookup zone, and then click New Alias. 
- In Alias name, type the alias name. 
- In Fully qualified domain name (FQDN) for target host, type the FQDN of 
the DNS host computer for which this alias is to be used. 
As an option, you can click Browse to search the DNS namespace for 
hosts in this domain that have host (A) resource records already defined.
- 
-Click OK to add the new record to the zone.
MX(Mail Exchanger) 
-You can use this procedure to add a mail exchanger (MX) resource 
record to a Domain Name System (DNS) zone to provide message routing 
to a mail exchanger host. 
- right-click the forward lookup zone to which you want to add the record, 
and then click New Mail Exchanger (MX).
4. Create multiple domains name 
- (tola091.lan) New Domain 
-Forward New zone
-Reverse New Zone
- sna2015.lan(My own Domain) 
5. Configure DNS zone transfer 
- Configure on Primary DNS server
- Allow only sna2015.lan
- Configure on Secondary DNS server (Transfer only sna2015.lan)
-Transfer Reverse
-Enable master transfer zone
6. Active Directory-integrated DNS zone: 
- Configure AD-integrated Replication
- Set Dynamic update as Security only
DNS windows server(2008R2) & linux(SLES 11)

Weitere ähnliche Inhalte

Was ist angesagt?

Basic command to configure mikrotik
Basic command to configure mikrotikBasic command to configure mikrotik
Basic command to configure mikrotikTola LENG
 
Configure proxy firewall on SuSE Linux Enterprise Server 11
Configure proxy firewall on SuSE Linux Enterprise Server 11Configure proxy firewall on SuSE Linux Enterprise Server 11
Configure proxy firewall on SuSE Linux Enterprise Server 11Tola LENG
 
System Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba ServerSystem Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba ServerTola LENG
 
Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Sophan Nhean
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxjasembo
 
Mail server configuration
Mail server configurationMail server configuration
Mail server configurationchacheng oo
 
Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...
Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...
Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...Chanaka Lasantha
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDCJalpa Soni
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiUnmesh Baile
 
Dhcp Server Linux Server
Dhcp Server Linux ServerDhcp Server Linux Server
Dhcp Server Linux Servermuh kemal
 
Modul dhcp server menggunakan mikrotik os
Modul dhcp server menggunakan mikrotik osModul dhcp server menggunakan mikrotik os
Modul dhcp server menggunakan mikrotik osEen Pahlefi
 
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...Een Pahlefi
 
Keep Them out of the Database
Keep Them out of the DatabaseKeep Them out of the Database
Keep Them out of the DatabaseMartin Berger
 
Resolution for a Faster Site
Resolution for a Faster SiteResolution for a Faster Site
Resolution for a Faster SiteIdo Safruti
 

Was ist angesagt? (19)

Basic command to configure mikrotik
Basic command to configure mikrotikBasic command to configure mikrotik
Basic command to configure mikrotik
 
Configure proxy firewall on SuSE Linux Enterprise Server 11
Configure proxy firewall on SuSE Linux Enterprise Server 11Configure proxy firewall on SuSE Linux Enterprise Server 11
Configure proxy firewall on SuSE Linux Enterprise Server 11
 
System Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba ServerSystem Engineer: OpenLDAP and Samba Server
System Engineer: OpenLDAP and Samba Server
 
Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linux
 
Mail server configuration
Mail server configurationMail server configuration
Mail server configuration
 
Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...
Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...
Configuring apache, php, my sql, ftp, ssl, ip tables phpmyadmin and server mo...
 
Mail
MailMail
Mail
 
M7 - Manual
M7 - ManualM7 - Manual
M7 - Manual
 
Implementing DNS in Samba PDC
Implementing DNS in Samba PDCImplementing DNS in Samba PDC
Implementing DNS in Samba PDC
 
Apache HTTP Server
Apache HTTP ServerApache HTTP Server
Apache HTTP Server
 
Linux corporate-training-in-mumbai
Linux corporate-training-in-mumbaiLinux corporate-training-in-mumbai
Linux corporate-training-in-mumbai
 
Dhcp Server Linux Server
Dhcp Server Linux ServerDhcp Server Linux Server
Dhcp Server Linux Server
 
main
mainmain
main
 
Modul dhcp server menggunakan mikrotik os
Modul dhcp server menggunakan mikrotik osModul dhcp server menggunakan mikrotik os
Modul dhcp server menggunakan mikrotik os
 
Nova HA
Nova HANova HA
Nova HA
 
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
Modul mengamankan jaringan dhcp server menggunakan arp reply only menggunakan...
 
Keep Them out of the Database
Keep Them out of the DatabaseKeep Them out of the Database
Keep Them out of the Database
 
Resolution for a Faster Site
Resolution for a Faster SiteResolution for a Faster Site
Resolution for a Faster Site
 

Andere mochten auch

Advance C++notes
Advance C++notesAdvance C++notes
Advance C++notesRajiv Gupta
 
Configure active directory & trust domain
Configure active directory & trust domainConfigure active directory & trust domain
Configure active directory & trust domainTola LENG
 
Install linux suse(sless11)
Install linux suse(sless11)Install linux suse(sless11)
Install linux suse(sless11)Tola LENG
 
Tola.leng sa nagios
Tola.leng sa nagiosTola.leng sa nagios
Tola.leng sa nagiosTola LENG
 
How to be a good presentor by tola
How to be a good presentor by tolaHow to be a good presentor by tola
How to be a good presentor by tolaTola LENG
 
Java Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4jJava Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4jRajiv Gupta
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modulesmohamedmoharam
 
File Share Server, FTP server on Linux SuSE and Windows
File Share Server, FTP server on Linux SuSE and WindowsFile Share Server, FTP server on Linux SuSE and Windows
File Share Server, FTP server on Linux SuSE and WindowsTola LENG
 
Lab work servlets and jsp
Lab work servlets and jspLab work servlets and jsp
Lab work servlets and jspRajiv Gupta
 
Linux and Samba in 75 Minutes
Linux and Samba in 75 MinutesLinux and Samba in 75 Minutes
Linux and Samba in 75 Minuteswebhostingguy
 
Introduction to jsf2
Introduction to jsf2Introduction to jsf2
Introduction to jsf2Rajiv Gupta
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...webhostingguy
 
A Project Report on Linux Server Administration
A Project Report on Linux Server AdministrationA Project Report on Linux Server Administration
A Project Report on Linux Server AdministrationAvinash Kumar
 

Andere mochten auch (19)

Advance C++notes
Advance C++notesAdvance C++notes
Advance C++notes
 
Map.ppt
Map.pptMap.ppt
Map.ppt
 
Configure active directory & trust domain
Configure active directory & trust domainConfigure active directory & trust domain
Configure active directory & trust domain
 
Install linux suse(sless11)
Install linux suse(sless11)Install linux suse(sless11)
Install linux suse(sless11)
 
Network Diagram
Network DiagramNetwork Diagram
Network Diagram
 
Tola.leng sa nagios
Tola.leng sa nagiosTola.leng sa nagios
Tola.leng sa nagios
 
How to be a good presentor by tola
How to be a good presentor by tolaHow to be a good presentor by tola
How to be a good presentor by tola
 
Java Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4jJava Logging discussion Log4j,Slf4j
Java Logging discussion Log4j,Slf4j
 
jsf2 Notes
jsf2 Notesjsf2 Notes
jsf2 Notes
 
Struts2 notes
Struts2 notesStruts2 notes
Struts2 notes
 
Jsp Notes
Jsp NotesJsp Notes
Jsp Notes
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modules
 
File Share Server, FTP server on Linux SuSE and Windows
File Share Server, FTP server on Linux SuSE and WindowsFile Share Server, FTP server on Linux SuSE and Windows
File Share Server, FTP server on Linux SuSE and Windows
 
Lab work servlets and jsp
Lab work servlets and jspLab work servlets and jsp
Lab work servlets and jsp
 
Auxiliary : Tomcat
Auxiliary : TomcatAuxiliary : Tomcat
Auxiliary : Tomcat
 
Linux and Samba in 75 Minutes
Linux and Samba in 75 MinutesLinux and Samba in 75 Minutes
Linux and Samba in 75 Minutes
 
Introduction to jsf2
Introduction to jsf2Introduction to jsf2
Introduction to jsf2
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
 
A Project Report on Linux Server Administration
A Project Report on Linux Server AdministrationA Project Report on Linux Server Administration
A Project Report on Linux Server Administration
 

Ähnlich wie DNS windows server(2008R2) & linux(SLES 11)

1. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv61. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv6Piyush Kumar
 
2. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv42. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv4Piyush Kumar
 
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarderPiyush Kumar
 
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdfssuserfd0132
 
Membangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverMembangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverIwan Kurniarasa
 
Installation of Active Directory on Windows Server 2003 Server
Installation of Active Directory on Windows Server 2003 ServerInstallation of Active Directory on Windows Server 2003 Server
Installation of Active Directory on Windows Server 2003 Server► Supreme Mandal ◄
 
3. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv63. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv6Piyush Kumar
 
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Edureka!
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Kaan Aslandağ
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commandsSayed Ahmed
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commandsSayed Ahmed
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingBeni Krisbiantoro
 
iStorage Server - High Availability iSCSI SAN for Windows Server 2003
iStorage Server - High Availability iSCSI SAN for Windows Server 2003iStorage Server - High Availability iSCSI SAN for Windows Server 2003
iStorage Server - High Availability iSCSI SAN for Windows Server 2003KernSafe Technologies
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installationfranbow
 

Ähnlich wie DNS windows server(2008R2) & linux(SLES 11) (20)

DNS,SMTP and POP3
DNS,SMTP and POP3DNS,SMTP and POP3
DNS,SMTP and POP3
 
1. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv61. primary dns using bind for a and cname record for ipv4 and ipv6
1. primary dns using bind for a and cname record for ipv4 and ipv6
 
2. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv42. reverse primarydns using bind for ptr and cname record ipv4
2. reverse primarydns using bind for ptr and cname record ipv4
 
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
6. reverse primarydns using bind for ptr and cname record ipv6 with forwarder
 
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
3.3_-_Lecture_3_Installing_the_DNS_Server_Role.pdf
 
Membangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_serverMembangun web server,_e-mail_server_dan_ftp_server
Membangun web server,_e-mail_server_dan_ftp_server
 
Installation of Active Directory on Windows Server 2003 Server
Installation of Active Directory on Windows Server 2003 ServerInstallation of Active Directory on Windows Server 2003 Server
Installation of Active Directory on Windows Server 2003 Server
 
3. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv63. reverse primarydns using bind for ptr and cname record ipv6
3. reverse primarydns using bind for ptr and cname record ipv6
 
1
11
1
 
Modul server debian 5
Modul server debian 5Modul server debian 5
Modul server debian 5
 
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
Linux Administration Tutorial | Configuring A DNS Server In 10 Simple Steps |...
 
Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8Configuration of BIND DNS Server On CentOS 8
Configuration of BIND DNS Server On CentOS 8
 
Kickstart
KickstartKickstart
Kickstart
 
15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
 
Linux networking commands
Linux networking commandsLinux networking commands
Linux networking commands
 
DOMAIN NAME
DOMAIN NAMEDOMAIN NAME
DOMAIN NAME
 
Tutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk WebhostingTutorial CentOS 5 untuk Webhosting
Tutorial CentOS 5 untuk Webhosting
 
iStorage Server - High Availability iSCSI SAN for Windows Server 2003
iStorage Server - High Availability iSCSI SAN for Windows Server 2003iStorage Server - High Availability iSCSI SAN for Windows Server 2003
iStorage Server - High Availability iSCSI SAN for Windows Server 2003
 
Lamp Server With Drupal Installation
Lamp Server With Drupal InstallationLamp Server With Drupal Installation
Lamp Server With Drupal Installation
 

Kürzlich hochgeladen

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Kürzlich hochgeladen (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

DNS windows server(2008R2) & linux(SLES 11)

  • 1. NETWORK ADMINISTRATION DNS Server(Windows & Linux) 2013-2014 PASSERELLES NUMERIQEUS CAMBODIA Street 371 Phum Tropeang Chhuk (Borey Sorla), Sangkat Tek Thia Khan Sek Sok P.O. Box 511 Phnom Penh, Cambodia
  • 2. Table of Content 1. Configure Domain Name ................................................................................................................................2 2. Install Bind package..........................................................................................................................................4 3. Create: Forward Lookup zone file & Reverse Lookup zone file in the master DNS zone. .........................................................................................................................................................4 4. Create Resource Record with: ....................................................................................................................5 5. Create Zone transfer .............................................................................................................................................. 10 5. Encryption transfer protocol...................................................................................................................... 17 I. On Windows: ................................................................................................................................................... 20 1. Install DNS + AD service ............................................................................................................................ 22 2. Configure DNS zone: .............................................................................................................................................. 30 - Configure Forward ............................................................................................................................................ 30 -Revers lookup zone ........................................................................................................................................... 31 3. Create Resource Record: ..................................................................................................................................... 38  A(Resolve from host to host) ........................................................................................................... 38  PTR(pointer) ................................................................................................................................................... 40  CNAME(alias) .................................................................................................................................................. 42  MX(Mail Exchanger).................................................................................................................................. 45 4. Create multiple domains name ........................................................................................................................ 48 -Forward New zone ................................................................................................................................................... 48 -Reverse New Zone .................................................................................................................................................. 52 5. Configure DNS zone transfer............................................................................................................................. 57 - Configure on Primary DNS server ................................................................................................................ 57 - Allow only sna2015. lan ....................................................................................................................................... 59 - Configure on Secondary DNS server (Transfer only sna2015.lan) .......................................... 60 -Enable master transfer zone ............................................................................................................................. 66 6. Active Directory-integrated DNS zone:....................................................................................................... 68 - Configure AD-integrated Replication .......................................................................................................... 68 - Set Dynamic update as Security only ........................................................................................................ 79
  • 3. Suse Linux: 1. Configure Domain Name -Go to by type yast lan =>Hostname/DNS =>input the Domain name and Server name => OK -Configure by input the domain name: tola091.lan
  • 4. -Show IP Address and restart network services config(rcnetwork restart, ifconfig) -Show hostname
  • 5. 2. Install Bind package -Types the yast –I => install the packet bind (bind) =>type bind in the Search Phrase and Accept to install. Or (zipper install –y bind) OR 3. Create: Forward Lookup zone file & Reverse Lookup zone file in the master DNS zone. - After we finished install the dns services, we need to back up the file named.conf that store in the locate /etc to other or some locations.( cp /etc/named.conf /etc/named.conf.bk)
  • 6. - Forward zone is a zone that map name of host to IP address. - Reverse zone is a zone that map IP address to name of host. - Create these zone we need to: vim /etc/name.conf for configure the file named.conf. -Configure the zone by creaete forward zone: tola091.lan.zone and reverse zone: 192.168.1.zone and disable for file include as the picture below: -Save them after configure by use :x1 or ZZ 4. Create Resource Record with: -Backup the forward zone and reverse zone of loca to master
  • 7. -Create resource record and confure for forward zone and reverse zone as A, PTR,MX,CNAME -Type this command vim tola091.lan.zone to configure forward zone - A = Resolves a host to an IP address - PTR = Resolves an IP to a host name (1.168.192.in-addr.arpa) - CNAME = Resolves from hostname to hostname - MX = The mail Server
  • 8. -Type this command vim 192.168.1.zone to configure reverse zone -Use command rcnamed restart to restart service named - Use command vim /etc/resolv.conf to add more line of DNS -NSLookup Tools Nslookup is a command-line utility used to diagnose DNS infrastructure
  • 10.
  • 11. + Let client test 5. Create Zone transfer - Configure on Master DNS server Additional command for enable master transfer zone to slave allow-update { none; }; allow-query { any; }; allow-transfer { 192.168.1.2; };
  • 12. - Configure on Slave DNS server -Check IP and Hostname -Test Connection -Configure Domain Name for DNS Slave
  • 13. -Use command zipper install –y bind -Use command cp /etc/named.conf /etc/named.conf.bk for backup
  • 14. -Zone Transfer, Use command vim /etc/named.conf to configure to get the zone transfer from master dns. -All the zone will transfer from master zone -Restart rcnamed restart - The zone will change directory to /var/lib/named/slave so we will see the zone that transfer from master zone.
  • 15. -Show the Reverse Zone Configuration of DNS slave that transfer from master DNS -Show the Forward zone Configuration of DNS slave that transfer from master DNS
  • 16. -additional line -Use NSLookup Tool
  • 18. 5. Encryption transfer protocol -Encryption zone transfer means we would transfer the zone from master to slave by using security of encrypt password. -Type command dnssec-keygen –a HMAC-MD5-b 96 –n HOST tola in order to create encrypt password.
  • 19.
  • 20. -Copy encryption file from master to slave to bring this key encrypt to slave. -Go to the named configuration to pass the encrypt key. -Restart named services 7. Let testing of Zone transfer and Encryption transfer
  • 21. I. On Windows: +Before we install other services we need to modify the hostname and assigned the real IP address of host. -Assigned IP by type command ncpa.cpl to configure the IP address.
  • 22. -Right on LAN and then click Properties -Check Hostname
  • 23. 1. Install DNS + AD service -Select Server Manager.Or from the Quick Launch Taskbar. -Select Roles. Then Add Roles. Before you continue verify that; -You can skip this page by default. -Click Next to continue
  • 24. -Select Active Directory Domain Services. There is no need to select DNS Server; this role will be added with DCPROMO. Then Click Next.
  • 25. - Ensure you read Things to Note. Then Click Next. Click Install.
  • 26. - The Active Directory Binaries have been installed. Click Close this wizard and launch dcpromo.exe. You can also launch dcpromo from the Run box. Click Next. Or type the dcpromo on the run. - Operating System Compatibility warning about new Server 2008 security settings. Check there is no compatibility issue with existing network infrastructure. If none click Next.
  • 27. - Select Create a new domain in a new forest and Click Next.
  • 28. - - There are 3 Forest functional levels Windows 2000, Windows 2003, Windows 2008 and Windows Server 2008 R2.
  • 29. - Select DNS server then Next to continue. Next to continue. The Wizard cannot contact the DNS server for this zone. Select yes to continue; DNS will then be installed. The Database folders are assigned. Click Next to accept the defaults. Restore mode password must be set, click Next to continue.
  • 30. - The Active Directory components are installed. Click Finish to complete the installation. The Server needs to be restarted to finalise the installation. Click Restart Now. Server restarts.
  • 31. - 2. Configure DNS zone: - Configure Forward A Forward lookup is the most common form of DNS lookup. This type of lookup converts a hostname into an IP address. A Forward Lookup-Zone contains Name to IP Address mappings. -Click Start> Administrative Tools> DNS >Expand by clicking the + next to the DNS server
  • 32. -To add a New Forward Lookup Zone Right click Forward Lookup Zones. Click New Zone. -Revers lookup zone - Right click Reverse Lookup Zones and Select New Zone. - Select Primary Zone and tick Store
  • 33. - Select IPv4 Reverse Lookup Zone. and Next to continue
  • 34. - Type in the Network ID and Next to continue - The Wizard will ask you if you want to accept dynamic updates. As the wizard shows there are drawbacks to having it enabled, but there are also drawbacks for having it disabled.
  • 35. - New Delegation to class Monitor as Admin - To open DNS Manager, click Start, point to Administrative Tools, and then click DNS.
  • 36. - right-click the applicable subdomain, and then click New Delegation. - Follow the instructions in the New Delegation Wizard to finish creating the new delegated domain.
  • 37.
  • 38.
  • 39. 3. Create Resource Record: A(Resolve from host to host) -Open DNS Manager - right-click the forward lookup zone to which you want to add the record, and then click New Host (A or AAAA).
  • 40. - In Name, type the DNS computer name for the new host. In IP address, type the IP address for the new host. You can type the address in IP version 4 (IPv4) format (to add a host (A) resource record) or format (to add a host (AAAA) resource record).
  • 41. - PTR(pointer) -You can use this procedure to create a pointer (PTR) resource record in a reverse lookup zone in Domain Name System (DNS). - right-click the reverse lookup zone that you want to manage, and then click New Pointer (PTR).
  • 42. -In the Host IP number text box, type the host IP address in IP version 4 (IPv4), -As an option, you can click Browse to search the DNS namespace for hosts that have host (A or AAAA) resource records already defined.
  • 43. CNAME(alias) - Alias (CNAME) resource records are also sometimes called canonical name resource records. With these records, you can use more than one name to point to a single host,
  • 44. - right-click the applicable forward lookup zone, and then click New Alias. - In Alias name, type the alias name. - In Fully qualified domain name (FQDN) for target host, type the FQDN of the DNS host computer for which this alias is to be used. As an option, you can click Browse to search the DNS namespace for hosts in this domain that have host (A) resource records already defined.
  • 45. - -Click OK to add the new record to the zone.
  • 46. MX(Mail Exchanger) -You can use this procedure to add a mail exchanger (MX) resource record to a Domain Name System (DNS) zone to provide message routing to a mail exchanger host. - right-click the forward lookup zone to which you want to add the record, and then click New Mail Exchanger (MX).
  • 47.
  • 48.
  • 49. 4. Create multiple domains name - (tola091.lan) New Domain -Forward New zone
  • 50.
  • 51.
  • 52.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58. - sna2015.lan(My own Domain) 5. Configure DNS zone transfer - Configure on Primary DNS server
  • 59.
  • 60. - Allow only sna2015.lan
  • 61. - Configure on Secondary DNS server (Transfer only sna2015.lan)
  • 62.
  • 63.
  • 65.
  • 66.
  • 68.
  • 69. 6. Active Directory-integrated DNS zone: - Configure AD-integrated Replication
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80. - Set Dynamic update as Security only