CPSC 333 Assignment, Due Next Tuesday After reading the DNS section in the text, read the "DNS-HOWTO" by N. Langfeldt. If you installed enough of the Linux distribution then you can find this file in /usr/doc/HOWTO/, otherwise, look for it in the Linux Document Project hompage (linked from class homepage). You will need to read certain parts of this document carefully to do this assignment (except the portion pertaining to the installation of DNS software, which you should already have). It's also recommended that you read the Linux man page for the "nslookup" utility. 1. At the end of Section 4.1 of the HOWTO, Langfeldt says that he had just told you a lie. Based on what you read from the book and understood from the lecture concerning DNS, explain what he mean. 2. Before you start DNS configuration, issue the following commands: /sbin/ipchains -I input 1 -s 127.0.0.0/8 -j ACCEPT /sbin/ipchains -A input -p udp -s ! 157.252.0.0/16 --destination-port 53 -j DENY Also add these lines to the END of your /etc/rc.d/rc.local file, so they'll be in effect when you reboot. If you still don't know how to install the ipchains package, please see me. These firewall rules prevent people outside of Trinity from accidentally using your machine as DNS server. YOU ARE REQUIRED TO DO THIS, and I will be checking your system. Again make sure your machine is running Linux the day of the class. 2. Set up your machine as a caching-only DNS. The HOWTO is meant for all Linux distributions, and you will find out that doing this for RedHat Linux is extremely simple; most things are already set up. When you're done, have a milk to celebrate. 3. Set up your Linux machine as a secondary (slave) DNS server for the domain csx.trincoll.edu, using 157.252.104.42 as primary (master) server. This part is not covered by the HOWTO so you need to have taken good notes in class. 4. Set up your Linux machine as a primary DNS server for the domain "topping.pizza". Assume this domain represents the network 207.46.130.0/24. Create DNS records for hosts "pepperoni", "sausage", and "mushroom". Create the alias "vegetarian" for "mushroom". If it all works, become exulted and give thanks to the Gurus. Be sure to create the files for both forward and reverse resolution. Make sure DNS is up by rebooting or "ndc restart". Hand in all relevant files.