Changes

Jump to: navigation, search

OPS335 DNS Lab

203 bytes added, 10:44, 29 January 2016
no edit summary
'''Record steps, commands, and your observations from this section in your OPS335 lab log-book'''
===Perform these steps on your gateway/firewall===
==INVESTIGATION 1: CONFIGURING DNS== ***insert purpose here ***  ===Perform these steps on your gateway/firewall''' #Start up your host machine, open a terminal window and "su -" to root. This PC will be named "host". It will be your gateway/firewall.*#Ensure you are connected to the Internet. Use Firefox to authenticate yourself so you can surf the web outside of the Seneca domain.*#Use yum to update your system if necessary. :<br> yum update*#If you have not already done so, permanently set the host name of the 'host' machine to "host.<learnid>.org" (without the < and >, they are just there to tell you put your learnid there instead of the literal word learnid).
===Perform these steps on your VM1===
*#Start your VM 1. This machine will be the domain name server for your intranet.*#On the VM**, Use yum to update your system if necessary. :<br>yum update**#Use yum to install the DNS server. :<br>yum install bind
===Edit /etc/named.conf===
*#Still on the virtual machine create a back up of the existing '/etc/named.conf', delete the existing contents and add the following, but use your own X value where applicable. ([http://www.zytrax.com/books/dns/ch7/ Here is documentation] for all the available options in named.conf, look up the ones that you're using so that you know exactly what they do.
options {
directory "/var/named/";
};
* <ol><li value="2">Set the filesystem permissions for the above file to 644 *</li><li>Now edit /var/named/mydb-for-<learnid>-org and enter the following: But use your own X value where applicable. Note: if you copy-paste this code, there should be NO leading spaces before the first column of text (and [http://www.zytrax.com/books/dns/ch8/ here's a bit of documentation] to explain what the contents of this file are).</li></ol>
$TTL 3D
13,420
edits

Navigation menu