

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Lab; Class: Web Server Administration; Subject: Computer Info Tech; University: Morrisville State College; Term: Spring 2009;
Typology: Lab Reports
1 / 2
This page cannot be seen from the preview
Don't miss anything!
CITA 310 Lab Lab 3 DNS Configuration:
NOTE: Although we will be using the textbook as a guide, some detail in your configuration will differ from the text. Make sure to document your configuration. Don’t rely on the information in the text as being accurate for your installation. Part I: Preparation: 1) Make sure your system is connected to the network. 2) Boot Linux then perform multiple system updates until no more updates are available. 3) Confirm that all necessary BIND packages are installed. 4) Confirm that all necessary APACHE packages are installed. 5) Choose a fictional host.domain for testing. Confirm via a web browser or other tools that the domain is invalid, that is – not in use on the world wide web. 6) Make sure the Apache Web Server Software and DNS Server software are installed for your Linux Operating System. Install them using the install DVD if necessary. 7) Run ifconfig to determine your DHCP assigned address and that you are connected to the network. If you are not receiving a valid 136.204.n.n network address, troubleshoot and rectify the situation. 8) Reconfigure your network card for a static IP address of 136.204.168.9X, where X is your team’s assigned number. 9) Restart the network. From the command line this can be accomplished with /etc/init.d/network restart 10) Run ifconfig to confirm that your static IP address is now being used. If it is not, troubleshoot and rectify the situation. 11) We will start the web (httpd) services so we will have something to test whether DNS is doing its job. 12) Start (or restart) the httpd daemon. From the command line this can be accomplished with /etc/init.d/httpd restart 13) Confirm that browsing to each of the following brings up the default apache web test page: a) 127.0.0. b) localhost c) 136.204.168.9X 14) To distinguish your system from others create and test a simple web page that displays your fictional domain name. Part II: Configuring DNS for Linux Configure DNS per the verbal discussion in class and lab. a) Attempt a GUI configuration first. b) If necessary change configuration files from a terminal session. {Can you do this entirely from the GUI with Core 10?} 15) Create a forward lookup file for your fictional domain using page 150 in your text as a guide, but simplify the file to exclude CNAME and MX records. Save the file in /var/named/chroot/var/named/ (This directory may vary for some installations. Give the file the correct name for use by the named.conf file. 16) Create a reverse lookup file using page 153 in your text as a guide. As with the forward lookup file, simplify the file as much as possible. Save the file in the same directory as the previous step and give the file the correct name for use by the named.conf file. 17) Locate and the named.conf file for your installation and modify it to add the two zone entries for your fictional domain. The example on page 157 of your text may be of some help.
18) Reconfigure your network interface to point to your DNS server rather than the Morrisville.edu DNS servers. 19) Start (or restart) the named daemon. From the command line this can be accomplished with /etc/init.d/named restart 20) Using the nslookup command confirm that: a) Your DNS server is the one being referenced b) Your forward lookup is working correctly (your domain returns your ip address). c) Your reverse lookup is working correctly (your ip address returns your domain). Troubleshoot and correct any problems. 21) Using your browser confirm that the apache web server is accessing the forward lookup information. Troubleshoot and correct any problems. Part III: Server 2008: 22) ASAP do all Windows updates for your Server 2008 installation. We may also investigate installing virus protection. 23) Using your text as a guide, configure Server 2008 as a DNS server that will operate in the same way as the Linux DNS server, fully documenting your configuration. This includes: a) Make sure the web server (IIS) is running. b) Set your static IP address. c) Make sure you can open the default web page. d) Create a simple web page displaying your fictional domain. e) Configure DNS i) Forward lookup ii) Reverse lookup iii) Etc. f) Start the DNS server. g) Configure your network to point to your new DNS server h) Prove it is working. Part IV: Conclusions: 24) Compare and contrast the two DNS servers. You have now completed the Exercise