Details: You will need the routing setup from Lab 6. Make sure all traffics originated from the Host VM go through the Router VM. Also, make sure your web server is up and running (from Lab 7).
/etc/resolv.conf
such that 10.0.0.1 is the
default name server. Also, add linux.is.better in your search list
for hostname lookup. In other words, when doing, for example, "ping
www", it is actually doing "ping www.linux.is.better".
named
, the DNS server daemon, make
sure to disable iptables first.
/var/named
has group writable permission.
$ host ns2.linux.is.better 10.0.0.1 $ host ns2.linux.is.better 10.0.0.2both should resolve ns2.linux.is.better to 10.0.0.2. However, the 1st one uses ns (10.0.0.1) while the 2nd one uses ns2 (10.0.0.2) to resolve the names. Show the output of both commands in your report.
$ host ftp.linux.is.better 10.0.0.2in your report.
Cwlinux.is.betterAlso, remove "Addr=127.0.0.1" from the "O DaemonPortOptions" line.
mail
,
sendmail
or telnet
command) from ns2 to
your_account@linux.is.better, where your_account is your
regular user account. Make sure your mail server, ns, in this case,
receives the email. Show the received email with the email headers in
your report.
$ host ns2.linux.is.better 10.0.0.1 $ host ns2.linux.is.better 10.0.0.2 $ host ftp.linux.is.better 10.0.0.2from the DNS installation section.
named
is running on both ns and ns2 over
reboot.
/var/log/message
and /var/log/maillog
if something does not work.