CS183 Lab 8: DNS, Virtual Hosting and Sendmail

Goal: In this lab, you will learn how to setup a DNS server for your favor domain name, host a homepage for your domain and setup an email server for your domain.

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).

DNS

Virtual Hosting

Now, configure your web server (on the Router VM) to serve the pages for your new domain: "linux.is.better". Make sure you are able to get pages from www.linux.is.better via the Host VM. Show that in your report.

Sendmail


Questions

  1. Show the result of
    $ 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.2
    
    from the DNS installation section.
  2. Show that named is running on both ns and ns2 over reboot.
  3. Show the result of requesting a page from www.linux.is.better via the Host VM.
  4. Show the received email including the email headers to your_account@linux.is.better.

Scoring


Notes & Tips: