Lab.7 HOW TO CONFIGURE DNS SERVER IN CENTOS ~ Riguest

Tuesday, January 13, 2015

Lab.7 HOW TO CONFIGURE DNS SERVER IN CENTOS

1. Basic Concepts

The Domain Name System (DNS) is a standard technology for managing public names of Web sites and other Internet domains.DNS technology allows you to type names into your Web browser likecompnetworking.about.comand your computer to automatically find that address on the Internet. A key element of the DNS is a worldwide collection of DNS servers.
DNS server is any computer registered to join the Domain Name System. A DNS server runs special-purpose networking software, features a public IP address, and contains a database of network names and addresses for other Internet hosts.

2. Purpose

1. To know and understand, how to configure DNS Server with Centos
2. To Learn DNS Server in Centos
3. To Configure DNS server with Virtual box and GNS 3

3. Device detail

1. DNS Master Server detail :
  • Operating system : Centos
  • Hostname : ohayou.Rifky.net
  • IP address : 192.168.1.100/24
2. DNS Slave Server detail :
  • Operating system : Centos
  • Hostname : konpyuutaa.Rifky.net
  • IP address : 192.168.1.101/24
3. FTP Server :
  • Operating system : Debian
  • Hostname : ftp.Rifky.net
  • IP address : 192.168.1.102/24
4. Windows Client :
  • Operating system : Windows 7
  • IP adress : 192.168.1.103/24

4. Topology

1. Make topology

5. Next Steps


2. Opening 2 CentOS and Writting shyntax nano  etc/sysconfic/network-scripts/ifcfg-eth0 at 2 CentOS

3. Opening /etc/resolv.conf and writting your nameserver (a take google IP to be nameserver)

4. Trying to ping your gateway and your Nameserver (a take google to be nameserver)

5. Continue to configuring Slave server with same shyntax above

6.  Opening  /etc/named.conf and inputting your DNS Master IP Address, and Following the shyntax in the  

7.  Opening /var/named/forward.(your DNS).net.

8. next, cp forward and reserve

9. Opening /var/named/reserve.(your DNS).net

10. Opening hosts and write you hosts


11. writtng hostname


13. Openning /etc/resolv.conf. And write the DNS master and slave nameserver

14. ping and nslookup your DNS


15 .check your client IP Address

16. Ping and nslookup your DNS in client

17. Check your IP

18. open /etc/resolv.conf

19.restart your network

20. ping google.com

21. install proftpd

22.enter DVD binary 2


22. Last enter your ftp in your client and make a directory

23. Try too, in ftp server

OK that finished



reference : http://compnetworking.about.com/od/dns_domainnamesystem/f/dns_servers.htm

0 comments:

Post a Comment