13,420
edits
Changes
no edit summary
== Purpose ==
In this assignment, you will use the '''335assign''' virtual network and the '''foundation''' cloning-source that you created in assignment 1 (part 1) to create two name-servers. One of the cloned VMs (hostname: '''variankitchen''') will be a '''master''' name server, and the other VM (hostname: '''guldan''') 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 ==
{{Admon/important|It is YOUR responsibility to Backup all of your VMs for this Assignment!|You are required to frequently backup your VMs prior to exiting a work session during this assignment. Your instructor will NOT accept the fact that your hard disk crashed and lost all of your work. If you properly backed up your VM images and xml configuration files to a USB, then you can purchase a new hard-disk or wipe and recreate your hard disk and restore your VMs. }}<br />
=== Set-up Master Name Server ('''variankitchen''')===
Perform the following steps for this section:
#Create a clone virtual machine called '''variankitchen''' from the '''foundation''' 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 '''variankitchen''' virtual machine noting the following items below:<ol type="a"><li>This virtual machine will be the '''Master DNS server''' for '''warcraft.games.ops'''.</li><li>Only '''guldan''' 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 '''warcraft.games.ops.''' zone, including resource records for virtual machines that do not currently exist.</li><li> Include an '''MX record''' for email sent to the domain to be directed to '''illidan.warcraft.games.ops'''.</li><li>Any machine in the '''warcraft.games.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 '''warcraft.games.ops''' domain, it will only answer queries about machines inside the network. They may not use it to query other machines.</li></ol>
=== Set-up Slave Name Server ('''guldan''') ===
#Create a clone virtual machine called '''guldan''' from the '''foundation''' 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 '''guldan''' 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 day. If the initial attempt fails, then it will attempt every hour until it succeeds.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL virtual machines in the '''warcraft.games.ops''' zone, the zone files for which will be obtained from '''variankitchen.warcraft.games.ops'''.</li><li>Only machines within the '''warcraft.games.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>
=== Network Configuration ===
| style="background-color:#66cccc; border: 2px solid black;" |'''Cloning-source''' used to create other servers for other assignments.
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''variankitchen.warcraft.games.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | ''' 172.18.50.3'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met:
# Any machine may query '''variankitchen'''
# Only the machines in the '''warcraft.games.ops''' network may query guldan.
::'''Elizabeth Kopiec's Classes (Section A):'''<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that both your '''variankitchen''' and '''guldan''' virtual machines are running.<li>Issue the command to download a checking script for your assignment to your '''host''' machine: <source>wget http://matrix.senecac.on.ca/~elizabeth.kopiec/ops335/check-assn1-p2.bash
</source></li><li>Set execute permissions and run the command: '''/root/bin/check-assn1-p2.bash'''<br>(You shell script contents will be mailed to your Seneca email and to your OPS335 instructor's Seneca email. If you do '''NOT''' receive an e-mail message in your Seneca email account, then there is a problem, and you '''MUST''' rerun or contact your OPS335 instructor immediately.<br><br></li></ol>
|-
|
::'''variankitchen''' and '''guldan''' VMs created
| style="text-align:right" | /1
|-
|
::'''variankitchen''' and '''guldan''' VMs can perform '''DNS queries of vm1, vm2, vm3'''
| style="text-align:right" | /1
|-
|
::'''variankitchen''' and '''guldan''' VMs can perform '''forward DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
|
::'''variankitchen''' and '''guldan''' VMs can perform '''reverse DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
| width=10% style="text-align:right;font-weight:bold" | Mark
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (variankitchen) - Network Configuration'''
|-
|
| style="text-align:right" | /5
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (variankitchen) - Named Configuration Options / Zone Declarations'''
|-
|
|-
|
::varian kitchen server is the '''master''' name-server for warcraft.games.ops
| style="text-align:right" | /1
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (variankitchen) - Zone Record'''
|-
|
|-
|
::'''variankitchen''' allows queries from any machine
| style="text-align:right" | /2
|-