Changes

Jump to: navigation, search

OPS335 DNS Lab

71 bytes added, 16:23, 5 September 2011
Edit /etc/named.conf
service named status
*When starting or restarting your name server view the log file (/var/log/messages) to ensure it started without error.*Try a few lookups: host f13.example.org host vm01.example.org host vm02.example.org host vm03.example.org host cbc.ca*Now try a few reverse lookups:
Try a few lookups: host 192.168.X.1 host 192.168.X.2 host 192.168.X.3 host 192.168.X.4
host f13.example.org host vm01.example.org host vm02.example.org host vm03.example.org host cbc.ca Now try a few reverse lookups: host 192.168.X.1 host 192.168.X.2 host 192.168.X.3 host 192.168.X.4 Part B: ===Perform these steps on your Intranet machine.===
Use virt-manager on Fedora 13 to install at least one VM called vm01. Feel free to install several more if you have time. Make sure the host name is set to vm01 and the domain is example.org. You may use vm01 from the previous lab if you wish.
*On this machine edit the /etc/resolv.conf file and enter the following: nameserver 192.168.X.1domain example.org Now try the commands host f13.example.org host vm01.example.org host vm02.example.org host vm03.example.org host yahoo.ca And the commands host 192.168.X.1 host 192.168.X.2 host 192.168.X.3 host 192.168.X.4
nameserver 192.168.X.1 domain example.org*Now try the commands host f13.example.org host vm01.example.org host vm02.example.org host vm03.example.org host yahoo.ca*And the commands host 192.168.X.1 host 192.168.X.2 host 192.168.X.3 host 192.168.X.4 *Now, still on the second machine, try surfing the web with Firefox. NOTE: you should not need to authenticate yourself through SeneNet on this machine.
*Finally, on all machines in your network, experiment with the following commands. Be sure to use several different command options to learn and understand how they work.
host dig nslookupPart C: Now answer ===Completing the Lab===Answer the following questions.:
#What is your full name and nine digit Seneca ID?#Use iptables-save command to show the rules relating to DNS. Only show these rules.#Show the log messages generated when starting your DNS server.#What is a zone file and what is it used for?#Name the zone files used in this lab.#What is the purpose of /etc/nsswitch.conf?#What is the purpose of /etc/resolv.conf?#Under what circumstances does DNS use TCP vs UDP?#What is meant by the term "negative cache"?#Name 5 top level domains.
1
edit

Navigation menu