Using DHCP manual/auto independantly from DNS manual/auto

2

I've read several definitions for DHCP and DNS on various sites. They all sound like they are 2 VERY different things.

Why does Windows XP's property tab allow/disallow 1... when you allow/disallow the other?

Can't I have DHCP set to manual/auto... regardless of whether I want DNS set to manual or auto?

The DHCP/DNS explanations all sound very simple and clear. But since I don't see this "connection between the 2"... must be misunderstanding the entire thing.

Patty

Posted 2011-07-29T19:57:48.643

Reputation: 21

Answers

3

DCHP hands out the IP address as well as other network settings, usually including the DNS address(es).

You can't set Windows to auto-obtain the DNS addresses from DHCP without also telling it to auto-obtain the IP; but you CAN manually specify DNS entries when you have it set to 'auto-obtain' an IP address from DHCP.

Ƭᴇcʜιᴇ007

Posted 2011-07-29T19:57:48.643

Reputation: 103 763

1

DHCP (Dynamic Host Configuration Protocol) is a method of automatically handing out, and recovering unused, IP addresses (and other settings as techie007 said) rather than having to set them statically. Setting them statically becomes a nightmare to keep track of them on a large network, so this was developed to ease that management burden.

DHCP gets you an IP address (subnet mask, and default gateway at least), which is VERY specific to your local network, and therefore has to be exactly correct, and UNIQUE to your network. This IP address allows you to connect to other systems, both locally, and to the Internet.

DNS is for name resolution, meaning, the conversion of www.microsoft.com (for example) into an IP address that your system can connect to. There are hundreds of thousands, maybe millions, of DNS servers out there that can give you that information.

Most people use the one their ISP's have given them, but you could technically get converted IP address information from just about ANY DNS server out there, so you can pick it at will, unlike the very specific IP address given to you by DHCP. In fact, many people use Google's public DNS servers: 8.8.8.8 and 8.8.4.4 since they are very robust.

Unlike your IP address, which is only for your ONE computer, any number of people can access the same DNS server.

One last caveat: For anyone reading this, if you are on a Microsoft domain, or other corporate environment, you do not want to override these settings. Your computer needs the internal DNS server to resolve hosts on your internal network.

KCotreau

Posted 2011-07-29T19:57:48.643

Reputation: 24 985