Washington State University HomeWSU AdmissionsWSU CampusesWSU HomeWSU Search Tools*
edge graphic
Home Syllabus Notes Labs Grades

Domain Name System (DNS)


Domain Name System (DNS)
        DNS History
        The DNS Namespace
        How DNS Works
        BIND
        Client issues
        Server configuration
        /etc/named.conf
        DNS Database (zone files)
        Updating zones
        Other stuff

Reading: Chapter 16, "The Domain Name System"

DNS History

At this point, the book discusses new features added to DNS and BIND in recent years. We won't worry about these, since "what's new" only makes sense if you know "what's old."

The DNS Namespace

How DNS Works

BIND

Client issues

Server configuration

/etc/named.conf

  options {
        // directory where all the data files are stored
        directory "/var/named";
  };

  zone "." {
        type hint;
        file "named.ca";
  };

  zone "wsu.edu" {
        type master;
        file "db.wsu";
  };

  zone "eecs.wsu.edu" {
        type slave;
        file "db.eecs";
        masters {
                134.121.64.1;
        };
  };

  zone "it.wsu.edu" {
        type master;
        file "db.it";
  };

  zone "1.121.134.IN-ADDR.ARPA" {
        type master;
        file "db.134.121.1";
  };

  zone "math.wsu.edu" {
        type slave;
        file "db.math";
        masters {
                134.121.45.17;
        };
  };

DNS Database (zone files)

  it              IN      SOA     centaur.it.wsu.edu. ip-register.wsu.edu. (
                                  199904051       ; serial
                                  10800           ; refresh
                                  3600            ; retry
                                  604800          ; expire
                                  86400 )         ; minimum ttl
  it.wsu.edu.        IN      NS      centaur.it.wsu.edu.
  unicorn         IN      A       134.121.1.1
  1       IN      PTR     unicorn.it.wsu.edu.
  wsu.edu         IN      MX      10 pegasus.it.wsu.edu.
                  IN      MX      20 cheetah.it.wsu.edu.
  www.wsu.edu     IN      CNAME   charlotte.it.wsu.edu.

Zone it.wsu.edu

  ;
  ;     Information Technologies
  ;
  $ORIGIN wsu.edu.
  it              IN      SOA     centaur.it.wsu.edu. ip-register.wsu.edu. (
                                  199904051       ; serial
                                  10800           ; refresh
                                  3600            ; retry
                                  604800          ; expire
                                  86400 )         ; minimum ttl
                  IN      NS      centaur.it.wsu.edu.
                  IN      NS      dns1.eecs.wsu.edu.
                  IN      NS      beta.tricity.wsu.edu.
  $ORIGIN it.wsu.edu.
  localhost       IN      A       127.0.0.1
  ;
  www.scs         IN      CNAME   mulder.scs.wsu.edu.
  unicorn         IN      A       134.121.1.1
  wsunix          IN      CNAME   unicorn.it.wsu.edu.

Zone 1.121.134.IN-ADDR.ARPA (defines 134.121.1.* reverse lookups)

  ;
  ;     db.134.121.1 - ITB / Server Net
  ;
  $ORIGIN 121.134.in-addr.arpa.
  1       IN      SOA     centaur.it.wsu.edu. ip-register.wsu.edu. (
                          199903171       ; serial
                          10800           ; refresh
                          3600            ; retry
                          604800          ; expire
                          86400 )         ; minimum ttl
          IN      NS      centaur.it.wsu.edu.
          IN      NS      dns1.eecs.wsu.edu.
          IN      NS      beta.tricity.wsu.edu.
  $ORIGIN 1.121.134.in-addr.arpa.
  1       IN      PTR     unicorn.it.wsu.edu.

Zone wsu.edu

  ;
  ;     db.wsu
  ;
  $ORIGIN edu.
  wsu             IN      SOA     centaur.it.wsu.edu. ip-register.wsu.edu. (
                                  199904021       ; serial
                                  10800           ; refresh
                                  3600            ; retry
                                  604800          ; expire
                                  86400 )         ; minimum ttl
                  IN      NS      centaur.it.wsu.edu.
                  IN      NS      dns1.eecs.wsu.edu.
                  IN      NS      beta.tricity.wsu.edu.
                  IN      MX      10 pegasus.it.wsu.edu.
                  IN      MX      20 cheetah.it.wsu.edu.
  $ORIGIN wsu.edu.
  localhost       IN      A       127.0.0.1
  mail            IN      A       134.121.1.8
                  IN      MX      0 cheetah.it.wsu.edu.
                  IN      MX      10 pegasus.it.wsu.edu.

Updating zones

Other stuff


Part of the CptS 302 Website
Instructor: Geoff Allen , geoff@wsu.edu
Source Modified: Mon Nov 12 21:07:24 2001
HTML Generated by WML 2.0.6 (25-Oct-2000): Mon Nov 12 21:07:32 2001
Disclaimer