932
edits
Changes
m
Updating host information for winter 2019
== Purpose ==
In this assignment, you will use the '''335assign''' virtual network and the '''cloyneblofeld''' cloning-source that you created in assignment 1 (part 1) to create two name-servers. One of the cloned VMs (hostname: '''toronto''') will be a '''master''' name server, and the other VM (hostname: '''ottawa''') will be a '''slave''' name server. You will install and setup the master and slave servers in order to provide various domain name resolutions for existing servers, and for servers that will be created and used in assignment #2.
== General Requirements ==
Perform the following steps for this section:
#Create a clone virtual machine called '''toronto''' from the '''cloyneblofeld''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#Setup a DNS server on your '''toronto''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Master DNS server''' for '''bond.villains.ops'''.</li><li>Only '''ottawa''' will be allowed to obtain zone transfers of this zone.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL virtual machines in the '''bond.villains.ops.''' zone, including resource records for virtual machines that do not currently exist.</li><li>You MUST use the following names for both the forward and reverse zone files in '''/var/named''' directory: '''mydb-for-bond.villains.ops''' and '''mydb-for-172.17.15'''<li> Include an '''MX record''' for email sent to the domain to be directed to '''kingston.bond.villains.ops'''.</li><li>Any machine in the '''bond.villains.ops''' network may use this machine to perform queries of machines outside the network, however it will route all such queries through the DNS server you created in lab #3.</li><li>For machines outside the '''bond.villains.ops''' domain, it will only answer queries about machines inside the network. They may not use it to query other machines.</li></ol>
Perform the following steps for this section:
#Create a clone virtual machine called '''ottawa''' from the '''cloyneblofeld''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#Setup a DNS server on your '''ottawa''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Slave DNS server''' (in case the Master Name Server goes down).</li><li>This virtual machine will obtain its zone files by copying them from the Master Name Server.</li><li>This Slave DNS server will check for updated records from the Master DNS server every two days. If the initial attempt fails, then it will attempt every six hours until it succeeds, or one week has passed.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL machines in the '''bond.villains.ops''' zone, the zone files for which will be obtained from '''toronto.bond.villains.ops'''.</li><li>Only machines within the '''bond.villains.ops''' domain will be allowed to query this machine.</li><li>This machine will not provide recursive lookup capabilities for any machines.<br><br></li></ol>
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''cloyneblofeld.bond.villains.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.17.15.100'''
| style="background-color:#66cccc; border: 2px solid black;" |'''Cloning-source''' used to create other servers for other assignments.
::'''Murray Saul, Ryan Lockhart-Thompson and Colin Yip''':<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that your '''cloning-source ('''cloyneblofeld'''), DNS servers ('''toronto''' and '''ottawa''') VMs are running'''.</li><li>Make certain that the mailx command has been installed. If not, issue the following command to install e-mail on your '''host''' machine:<source>yum install mailx </source><li>Issue the command to download a checking script for your assignment to your '''host''' machine:<br><br>'''Murray Saul's classes (section A):''' <span style="font-family:courier;font-size:1.5em;color:#4d4dff
">wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn1-p2-murray-saul.bash </span><br><br>'''Ryan Lockhart-Thompons's classes (Section B):''':<br><span style="font-family:courier;font-size:1.5em;color:#4d4dff
"> wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn1-p2-ryan.bash</span><br><br>'''Colin Yip's classes (Section C, E, and F):''': <span style="font-family:courier;font-size:1.5em;color:#4d4dff