Open main menu

CDOT Wiki β

Changes

OPS335 Lab 3

152 bytes removed, 14:12, 8 February 2021
m
Installation
== Installation ==
Install Bind '''bind''' on your '''host''' machine.
== Configuration ==
directory "/var/named/";
allow-query {127.0.0.1; 192.168.XX.0/24;};
#forwarders { 208.67.222.222; }; # This one works at home #forwarders { 10.102.100.21; }; # This one works at Seneca
};
zone "localhost" {
{{Admon/important |Host Command Doesn't Work|Your machines do not know what domain to automatically add to the end of hostnames (or believe they are still in the seneca domain). The '''SEARCH''' (or DOMAIN) parameter in the '''ifcfg-eth0''' file is used to specify your own domain (eg. '''yoursenecaid.ops''' ).<br><br>}}
<li> Add the '''SEARCH''' (or DOMAIN) parameter for your '''ifcfg-eth0''' file as shown above for your '''host''' machine.</li>
<li> Issue the '''host ''' command for all vm names and host name to make certain that is works.</li>
<li>Also on all of the VMs, install and use a text-based browser called '''lynx''' to access the Web, and test-out to see if it works by issuing the command '''lynx''' with the URL as an argument.</li><li>Experiment with the following commands:<br>
<source>
</ol>
{{Admon/important |Backup your VMs!|You MUST perform a '''full backup''' of ALL of your VMs whenever you complete your '''OPS335 labs''' or when working on your '''OPS335 assignments'''. You should be using the dump or rsync command, and you should use the Bash shell script that you were adviced to create in order to backup all of your VMs.}}
= COMPLETING THE LAB =
You have now gained experience with some common configuration settings for named, as well as common resource records.
'''Depending on your professor you will either be asked to submit the lab in class, or online. Follow the appropriate set of instructions below.''' ===Online Submission (Ahad Mammadov's Classes only)===
Follow the instructions for lab 3 on blackboard.
<!--
===Andrew's sections===
::<span style="color:green;font-size:1.5em;">&#x2713;</span>Download and run '''https://ict.senecacollege.ca/~andrew.smith/ops335/labcheck3.bash'''
::<span style="color:green;font-size:1.5em;">&#x2713;</span>Completed Lab3 log-book notes.
-->
=EXPLORATION QUESTIONS=
572
edits