Sorry if this is a FAQ, or if I'm not making any sense...
I have a PC running XP Pro. I want it to have a static IP address, but
get its DNS servers from my router using DHCP. Why does Windows
gray-out the option to "Obtain DNS server address automatically" in the
TCP/IP Properties dialog when I select the static IP option above it?
Thanks,
Steve
'cos when you tell it you don't want an IP add automatically, it thinks
you don't want DHCP, hence don't want DNS server addresses automaticaly
either.
You haven't said whether you're behind a 'home router' i.e. with NAT
Why don't you Look at what DNS addresses you are given automatically.
And write them down. Or, call your ISP and get the addresses of them.
Then tell windows you'll assign your own IP address. Type in the DNS
server addresses manually, according to what your ISP gives you. Or
according to what you've seen DHCP give you. (ipconfig /all will show
them)
Besides. I don't think typing in an IP is getting what you want.
Because
a)if your computer is behind a NATTING 'home router', your comp needs a
Private IP. That is not seen on the internet anyway. The IP seen on the
internet is your router's public IP.
b)if your comp is not behind a NATTING 'home router', e.g. it's using a
Broadband PCI DSL Modem, then you'll have to be assigned an IP. If you
try to give yourself an IP then that's naughty, and fireworks might go
off. I just tried it with a dial up account, it said my IP was
rejected by the server!
As the MVP said, maybe a static DHCP option or whatever exists.
Maybe you can just Stay connected. Then your IP won't change.
Maybe there are other ways to do what you want to do, even when your IP
changes.
If you want to run a server then maybe this thing will help (seems
free)
https://www.dyndns.com/services/dns/dyndns/
Looking at it, it seems that it lets you have a domain, and its DNS
service works for whatever your current IP is. so, domain + a kind of
dynamic dns. I'm no expert though.