Beruflich Dokumente
Kultur Dokumente
DHCP, DNS
Introduction
Client administration:
IP address management:
They need to ease the process of joining the network and they
do not want users to do any special configuration (DHCP)
They want to network boot their workstations
DHCP
Automatic
Only requesting clients with a MAC address listed in the table (MACIP pairs) get the IP address according to the table
DHCP server permanently assigns to a requesting client a free IPaddress from a range given by the administrator
Dynamic
DHCP cont.
UK
DHCP Implementations
DHCP Anatomy
Offer
Request
Acknowledge
Server acknowledges the request and sends the ack to the client
Inform
Client requests more information than the server sent with the
DHCPACK, or to repeat data for a particular application (e.g.
to obtain web proxy settings by a browser)
Release
Client requests the server to release the DHCP and the client
unconfigures its IP address
Sending this message is not mandatory (unplug or )
BOOTP
Diskless workstations
BOOTP cont.
RARP
ARP
Address Resolution Protocol
Resolve a hardware address from a given IP address
Try arp command in both Windows and Linux
RARP
Reverse Address Resolution Protocol (RFC 903)
Complement of ARP
Resolve an IP address from a given hardware address
Needs manual configuration on a central server
Not scalable
DNS
Mainly UDP
DNS is Decentralized
Resolvers
Primary master
Reads the data for the zone from a file on its host
Secondary master (Slave)
Gets the zone data from another ns that is authoritative for the
zone (master server)
Often, master server is the zones primary master
Zone transfer
Redundancy
An authoritative ns may be master for some of its zones and be slave
for some others
Its imprecise to call an ns, master or slave!
DNS Applications
Virtual Hosting
DNS History
Idea in ARPAnet
Originally, each computer retrieved a file called
HOSTS.TXT from SRI which contained the mappings
Limitations
/etc/hosts, C:\WINDOWS\system32\drivers\etc\hosts
Not scalable
Each time a given computers address changed, all computers
should update their Hosts file
A Distributed Hierarchical
Database
DNS Queries
Recursive
Iterative
Glue record
DNS Queries
DNS Queries
Update/Notify Mechanisms
RFC 2136
TTL is specified in the Start Of Authority (SOA) record
Serial Incremented when the zone file modified, others know
when the zone has been changed and should be reloaded
Refresh Number of seconds between update requests
Retry Number of seconds between retries (if a request failed)
Expire Number of seconds before considering the data stale
Minimum Used for minimum TTL, used for negative caching
DNS Records
Resource Records
Types
DNS Notify
acl ce {
{ 81.31.164.0/24; 81.13.179.0/24; };
};
Registrant
Administrative contact
Technical contact
Billing contact
Name servers
Try whois in Linux and see these information for different
hosts
DNS - BIND
References
http://en.wikipedia.org/wiki/Domain_Name_System