Open main menu

CDOT Wiki β

Changes

OPS335 - Assignment 1 (Part 2)

130 bytes added, 12:15, 17 May 2019
no edit summary
== Purpose ==
In this assignment, you will use the '''335assign''' virtual network and the '''blofeldconcept''' cloning-source that you created in assignment 1 (part 1) to create two name-servers. One of the cloned VMs (hostname: '''wintwendys''') will be a '''master''' name server, and the other VM (hostname: '''kiddharveys''') 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 ('''wintwendys''')===
Perform the following steps for this section:
#Create a clone virtual machine called '''wintwendys''' from the '''blofeldconcept''' 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 '''wintwendys''' 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 '''kiddharveys''' 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.19.1'''<li><s> Include an '''MX record''' for email sent to the domain to be directed to '''carversubway.bond.villains.ops'''.</s></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>
=== Set-up Slave Name Server ('''kiddharveys''') ===
Perform the following steps for this section:
#Create a clone virtual machine called '''kiddharveys''' from the '''blofeldconcept''' 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 '''kiddharveys''' 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 five days. If the initial attempt fails, then it will attempt every twelve hours until it succeeds, or two weeks have 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 '''wintwendys.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>
=== Network Configuration ===
| style="border: 2px solid black;" |Purpose
|-style="background-color:#66cccc; border: 2px solid black;"
| style="border: 2px solid black;" |'''nohungry.bondrestaurant.villainsfastfood.ops''' (your existing host)| style=border: 2px solid black;" |External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172.1921.15.1'''
| style="border: 2px solid black;" | Your '''host''' machine
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''blofeldconcept.bondrestaurant.villainsfastfood.ops''' | style="background-color:#66cccc; border: 2px solid black;" | '''172.1921.15.100'''
| 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;" | '''wintwendys.bondrestaurant.villainsfastfood.ops''' | style="background-color:#66cccc; border: 2px solid black;" | ''' 172.1921.15.2'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''kiddharveys.bondrestaurant.villainsfastfood.ops'''| style="background-color:#66cccc; border: 2px solid black;" | '''172.1921.15.3'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server
|- style="background-color:white;"
| style="border: 2px solid black;" | '''carversubway.bondrestaurant.villainsfastfood.ops''' | style="border: 2px solid black;" | ''' 172.1921.15.5'''
| style="border: 2px solid black;" | '''SMTP''' mail Server
|- style="background-color:white; border: 2px solid black;"
| style="border: 2px solid black;" | '''draxarbys.bondrestaurant.villainsfastfood.ops''' | style="border: 2px solid black;" | '''172.1921.15.6'''
| style="border: 2px solid black;" | '''IMAP''' mail Server
|- style="background-color:white;"
| style="border: 2px solid black;" | '''zorinmcdonalds.bondrestaurant.villainsfastfood.ops''' | style="border: 2px solid black;" | '''172.1921.15.8'''
| style=border: 2px solid black;" | '''Samba''' Server
|}
In addition to the basic firewall established in assignment 1, ensure the following restrictions are met:
# Any machine may query '''wintwendys'''# Only the machines in the '''bond.villains.ops''' network may query '''kiddharveys'''.
== Assignment Submission ==
|-
|
::'''wintwendys''' and '''kiddharveys''' VMs created
| style="text-align:right" | /1
|-
|
::'''wintwendys''' and '''kiddharveys''' VMs can perform '''DNS queries of vm1, vm2, vm3'''
| style="text-align:right" | /1
|-
|
::'''wintwendys''' and '''kiddharveys''' VMs can perform '''forward DNS lookups''' for ALL machines within network (listed in the table above)
| style="text-align:right" | /3
|-
|
::'''wintwendys''' and '''kiddharveys''' 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 (wintwendys) - Network Configuration'''
|-
|
| style="text-align:right" | /5
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (wintwendys) - Named Configuration Options / Zone Declarations'''
|-
|
::Zone transfer (i.e. to slave DNS server) limited to '''kiddharveys''' only
| style="text-align:right" | /1
|-
|-
|
::wint wendys server is the '''master''' name-server for bond.villains.ops
| style="text-align:right" | /1
|-
| colspan=2 style="background-color:#eeeeee;"| '''Master Name Server (wintwendys) - Zone Record'''
|-
|
| style="text-align:right" |<s> /1</s>
|-
| colspan=2 style="background-color:#eeeeee;"| '''Slave Name Server (kiddharveys) - Network Configuration'''
|-
|
| style="text-align:right" | /5
|-
| colspan=2 style="background-color:#eeeeee;"| '''Slave Name Server (kiddharveys) - Named Configuration Options'''
|-
|
|-
|
::kidd harveys server is '''slave''' name-server for '''bond.villains.ops'''
| style="text-align:right" | /1
|-
|-
|
::'''wintwendys''' allows queries from any machine (i.e. will work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
|
::'''kiddharveys''' limits queries to '''bond.villains.ops''' (i.e. won't work with '''vm1''', '''vm2''', '''vm3''')
| style="text-align:right" | /2
|-
13,420
edits