CNT4603 - 2019 Fall
Assignment 9
No journal due, we will test this in class on November 21

Assignment: DNS

Note: If you have installed and configured DNS before, this assignment should be no more than moderately challenging. If you have not done so before, however, you may want to allot some time for this one (i.e., don't wait until 1 hour before class to start.)

Requirements

The assignment is to install and configure DNS on your Debian machine. For this exercise, you will use dnsmasq; start by installing dnsmasq on your machine (apt install dnsmasq).

Next, change your current network type from DHCP to static. To do this, you will have to specify your ip number; it will be 192.168.26.IPNUM, where your IPNUM=100+MACHINENUM, and your MACHINENUM is found on your monitor beside "CNT4603". You can use the same default gateway (192.168.26.1) and netmask (255.255.255.0).

If you are using the GUI to modify your network (found on the upper right of your windowing environment), then also change the nameserver to 127.0.0.1.

If instead you are changing the /etc/network/interface file, then you should also change the /etc/resolv.conf file to change your nameserver.

Your DNSMASQ nameserver should answer anyone's UDP requests on the standard DNS port 53, so this means that you should not change it to be local-only.

Your nameserver should provide general recursive caching DNS for all machines in the lab. Any machine in the lab should be able to resolve "www.yahoo.com" and "www.google.com" using your nameserver.

Your nameserver should also provide at least the following DNS records:

Type Name Value
A s(MACHINENUM).lab(YOURMAINNUMBER).cs.fsu.edu 192.168.26.(IPNUM)
A mail.lab.cs.fsu.edu 192.168.26.(IPNUM)
A imap.lab.cs.fsu.edu 192.168.26.(IPNUM)
MX lab.cs.fsu.edu s(MACHINENUM).lab.cs.fsu.edu with a preference of 10

For instance, let's assume that your MACHINENUM is 05; thus your IPNUM is 105. Then you should provide the following records:
Type Name Value
A s05.lab.cs.fsu.edu 192.168.26.105
A mail.lab.cs.fsu.edu 192.168.26.105
A imap.lab.cs.fsu.edu 192.168.26.105
MX lab.cs.fsu.edu s05.lab.cs.fsu.edu with a preference of 10

Please also verify that reverse records for your A records are available.



No journal is necessary; I will check your setup on Thursday, November 21.