Link to home
Start Free TrialLog in
Avatar of apm825
apm825

asked on

explaination of DSN and DHCP

I'm a programmer. I'm writing code to find out if the DNS information for a NIC was pulled from DHCP.

Basically this is what I know:
DNS - service that runs on a server that converts a name to an IP, right?
DHCP - service that runs on a server that hands out IP addresses, right?

I'm looking for an in depth explaination that I can go from that will help me. How are DNS and DHCP related?

Avatar of tapkep
tapkep

You are right about DNS. DHCP assigns not only IP address, but also default gateway, DNS server etc.

You can get technical information
about DNS - http://www.dns.net/dnsrd/rfc/
about DHCP - http://www.bind9.net/rfc-dhcp
Avatar of apm825

ASKER

Not sure what RFCs are, but is there anything else out there a little easier to read/understand?
RFC stands for "request for comments". For example:
RFC 3696 (Informational)
    Application Techniques for Checking and Transformation of Names by J. Klensin
    Summarises the syntax of valid DNS names, email addresses, and URLs, so that programmers can correctly apply local checking of input.

If you are looking for in-depth information, RFCs are what you are looking for.

If you need only concepts of how it works, read:
http://www.networkclue.com/internet/DNS/
http://www.tcpipguide.com/free/t_TCPIPDynamicHostConfigurationProtocolDHCP.htm

http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETDNS
http://www.tldp.org/HOWTO/DHCP/index.html
ASKER CERTIFIED SOLUTION
Avatar of NJComputerNetworks
NJComputerNetworks
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial