lab 10 overview dns. dns name server set up a local domain name server . is the root domain .lab is...

7
Lab 10 Overview DNS

Upload: amberly-chase

Post on 20-Jan-2016

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab

Lab 10 Overview

DNS

Page 2: Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab

DNS name server

Set up a local domain name server. is the root domain.lab is the WH302 lab’s TLD (top level domain)hades.lab is the lab’s domain

In this lab you will create and configure a domain name server on your Debian VMSame Debian VM as your Apache Web serverYour domain name will be UID.uncc

UID is to be replaced with your lab logon id

Host name will be www.UID.uncc

Page 3: Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab

Hints:

Debugging errors on this lab will be the hardest partTyposLeaving out key parts in file

The . is critical to end the name in many of the configuration files• . notes the root!

Read the log files for errors that may have occurred!!!!/var/log/syslog/var/log/messages usually gives a hint of where typos are!

Page 4: Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab

Hints:

Read the notes page for updates and hintsLast page in labHEED ITS ADVICE!!!!

Run the VM from /scratchBAD THINGS WILL HAPPEN IF YOU DON’T

Be sure to change your DNS entry on your clientsNOTHING WILL WORK IF YOU DON’T

If it doesn’t work, do the trouble-shootingReading the messages will give a big hint where the

errors are!!!!!Especially the syslog

Page 5: Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab

Notes:Need a 172.16.0.0 address to install Bind 9

Given automatically by DHCP from Hades

DNS servers need Static addresses Any address will work e.g. 172 (Class B) or 192 (Class C) addresses

Can use the 172.16.nn.xxx address given by sheet-- or --

Can use a 192.168.pcNN.xxx address

Hint: use your modified scripts from Lab 8 to switch from DHCP to static quickly and easily!

Lab example uses 192.168.50.128 and jxia3 Change the address to match your static address Change the domain name to match yours

At the end of the lab you will be able to browse your web site with a host name instead of the IP address.

Note the deliverables on page 4 before starting lab! Be sure to document CLI items with text, GUIs with screenshots!

Always make a backup copy of a config file before editing!!!

Page 6: Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab

Notes:

This DNS server will be adequate for a local network

It is insufficient for the Internet!Does not do zone transfers!Is missing several other features alsoNo glue records

Tells the IP address for the DNSPrevents looping

Page 7: Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab

Lab 10

Lab 20 ptsDue: Next Lab