Open main menu

CDOT Wiki β

Changes

OPS335 Lab 3

247 bytes added, 14:11, 26 May 2016
m
Fitting standardized format.
[[Category:OPS335]][[Category:OPS335 Labs]]
==DOMAIN NAME SYSTEM RESOURCESOBJECTIVE & PREPARATION==In this lab, you will configure a Linux machine to be a DNS server for the rest of the machines in your Intranet. You will '''use <u>your</u> MySeneca ID as your domain'''. The server will handle all queries for names in the '''yoursenecaid.org''' domain. The server will also pass DNS queries for other names and addresses out to the Internet (i.e. to Seneca's DNS server).
=== Online References:Resources===
* [https://en.wikipedia.org/wiki/Domain_Name_System#Address_resolution_mechanism Address resolution mechanism]
* [https://en.wikipedia.org/wiki/Reverse_DNS_lookup Reverse DNS lookups]
 
=== Current Configuration ===
== Objective of this Lab ==
In this lab, you will configure a Linux machine to be a DNS server for the rest of the machines in your Intranet. You will '''use <u>your</u> MySeneca ID as your domain'''. The server will handle all queries for names in the '''yoursenecaid.org''' domain. The server will also pass DNS queries for other names and addresses out to the Internet (i.e. to Seneca's DNS server).
This is the current state of our internal network when your harddrive is plugged into a lab machine. Please note that if any of the listed services aren't working for you, you should then fix them (especially your iptables which may block DNS traffic needed for this lab):
=== How DNS resolution works ===
We will review in class how the Domain Name Service works. You should also read in your own time the [https://en.wikipedia.org/wiki/Domain_Name_System#Address_resolution_mechanism Address resolution mechanism] section (including the '''Recursive''' and '''caching name server''' subsections) on '''Wikipedia for an overview of a DNS query'''. The diagram shown in the WIKI is also quite simple and easy to understand. Domain Name Service is a LARGE topic but this lab provides the basic principles and essentials for this course and DNS set-up for other courses.
You have now gained experience with some common configuration settings for named, as well as common resource records.
'''Depending on your professor you will either be asked to submit the lab in class, or online. Follow the appropriate set of instructions below.'''
 
===Online Submission===
Follow the instructions for lab 3 on moodle.
===In Class Submission===
'''Arrange evidence (command output) for each of these items on your screen, then ask your instructor to review them and sign off on the lab's completion:'''
::<span style="color:green;font-size:1.5em;">&#x2713;</span>Comment out the hostname resolution (/etc/hosts) files for ALL vms, and use '''host''' command to query from a VM, the IPADDR for:<br>'''vm1.yoursenecaid.org''' , '''vm2.yoursenecaid.org''' , and '''vm3.yoursenecaid.org'''<br><br>
::<span style="color:green;font-size:1.5em;">&#x2713;</span>'''nslookup''' information ('''A''', '''NS''', '''MX''' records) for '''vm1.yoursenecaid.org''' , '''vm2.yoursenecaid.org''' , '''vm3.yoursenecaid.org'''.
::<span style="color:green;font-size:1.5em;">&#x2713;</span>'''dig +trace''' for '''vm1.yoursenecaid.org''' , '''vm2.yoursenecaid.org''' , '''vm3.yoursenecaid.org'''.
932
edits