13,420
edits
Changes
no edit summary
== Purpose ==
In this assignment, you will use the '''335assign virtual network''' and the '''seedling''' cloning-source that you created in assignment 1 (part 1) to create two name-servers. One of the cloned VMs (hostname: '''elmbalsam''') will be a master name server, and the other VM (hostname: '''birchspruce''') 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 ==
'''Due Date''': During Week 9 (in class)
== Detailed Requirements ==
=== Set-up Master Name Server ('''elmbalsam''')===
Perform the following steps for this section:
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#Setup a DNS server on your '''elmbalsam''' virtual machine with noting the following items below:<ol type="a"><li>This virtual machine will be the '''Master DNS server'''.</li><li>This machine will provide '''forward''' and '''reverse''' lookups of ALL virtual machines in the '''coniferous.trees.ops''' zone, including resource records for virtual machines that do not currently exist, but will exist when you perform your assignment #2.</li><li> Make certain to include an '''MX record''' for your admin e-mail contact: '''yoursenecaid@coniferous.trees.ops'''</li><li>For any query for information '''This machine will allow other machines (outside''' the '''coniferous.trees.ops.''' domain, that machine will send the query to the DNS server you created in your lab #1.</li><li>This machine will allow other machines zone) to perform DNS lookups among ALL virtual machines within the '''coniferous.trees.ops''' network (i.e. recursive lookups).</li><li>Only Any machine in the '''coniferous.trees.ops''' network may use this Master Name Server machine to perform queries of machines outside the network, however it will be allowed to transfer zone files from this machineroute all such queries through the DNS server you created in lab #3.<br><br></li></ol>#As you will now have a functioning primary DNS server, modify your network configuration file to specify its new IPADDR.
=== Set-up slave Slave Name Server (birch'''spruce''') ===
Perform the following steps for this section:
#Create a clone virtual machine called '''birchspruce''' from the '''seedling''' 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 '''elmspuce''' virtual machine with 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 '''coniferous.trees.ops''' zone, the zone files for which will be obtained from '''elmbalsam.coniferous.trees.ops'''.</li></li>Only machines within the spiral'''coniferous.galaxiestrees.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 === As you will now have a functioning primary and secondary DNS serverservers, modify your network configuration file on these machines and on the cloning source to specify its new the correct IPADDR. === Table of Virtual Machines / DNS Records ===
'''All''' the machines in the following table require DNS records. The rows not shaded represent future servers that will be created in Assignment #2.
{| class="wikitable" | style="margin-left:0px;"
! Hostname !! Address !! Purpose
|-style="background-color:#66cccc;"
| '''spruce.coniferous.trees.ops''' (your existing source) || External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172.30.20.1''' || Your '''host''' machine
|-style="background-color:#A default setup 66cccc;"| '''seedling.coniferous.trees.ops''' || '''172.30.20.100''' || '''Cloning-source''' used to create other servers for a master DNS server should be sufficient, but make certain that the address of your other assignments.|-style="background-color:#66cccc;"| '''admin contactbalsam.coniferous.trees.ops''' is: || '''yoursenecaid@ops335a1172.org30.20.2''' || '''Master''', and thatName Server
|-style="background-color:#66cccc;"| '''spruce.coniferous.trees.ops''' || '''172.30.20.3''' || '''Slave''' Name Server|- style== Reference Materials"background-color: List of Machines / DNS Records ===white;"| '''pine.coniferous.trees.ops''' || ''' 172.30.20.5''' || '''SMTP''' mail Server
|-
| colspan=2 | '''host.ops335a1.orgSlave Name Server (spruce) - General Configuration''' || 10.161.X.1 || Your host machine
|-
| '''ns1.ops335a1.org''' ::Domain set|style="text-align:right" | 10.161.X.2 || Master name server/1
|-
| '''ns2.ops335a1.org''' ::Has correct ip addresses|style="text-align:right" | 10.161.X.3 || Slave name server/1
|-
| file.ops335a1.org ::Default gateway set|style="text-align:right" | 10.161.X.4 || File server/1
|-
| www.ops335a1.org ::DNS1 set|style="text-align:right" | 10.161.X.5 || Web server/1
|-
| ::DNS2 set| style="text-align:right" | /1|-| colspan=2 | '''source.ops335a1.orgSlave Name Server (spuce) - Named Configuration''' |-| ::Queries limited to coniferous.trees.ops| style="text-align:right" | /2|-| ::Non-recursive| style="text-align:right" | /1|-| 10::coniferous.161trees.Xops forward lookup| style="text-align:right" | /3|-| ::Server is slave for coniferous.254 trees.ops| style="text-align:right" | /1|-| Disk image ::Master for coniferous.trees.ops set| style="text-align:right" | /1|-| ::coniferous.trees.ops reverse lookup| style="text-align:right" | /3|-| ::Server is slave for 172.30.20| style="text-align:right" | /1|-| ::Master for 172.30.20 set| style="text-align:right" | /1|-| ::Zone transfer works| style="text-align:right" | /4|-| colspan=2 | '''Firewall policies'''|-| ::queries allowed| style="text-align:right" | /2|-| ::queries limited to clone from when creating new machines.coniferous| style="text-align:right" | /1|- |'''Less Deductions (half-mark for EACH VM)::*'''SELinux''' NOT Enforcing:*'''VM hostname''' NOT set:*firewalld '''enabled''' / '''running''':*iptables '''disabled''' / '''not running''':*No Yum update</li><li>Named NOT active:*local hostname resolution remaining in '''/etc/hosts'''| |-| '''TOTAL''' | style="text-align:right" | '''/64'''
|}