WinXP doesn't pick up the hostname from DHCP

G

Guest

Hi,

We have DNS and DHCP servers configured in our network (no WINS Server).

We have noticed that windows XP doesn't pick up the hostname from the DNS. It picks up the IP, DNS Domain but not the hostname. We are not having this problem with Windows 2000. Have any of you experience this problem?

Also when we ping any hostname in the network it is successful but using nslookup hostnames are not getting resolved unless otherwise we give FQHN. Reverse lookup is just fine. (again these problems are only with Windows XP). However it is picking up the "Connection-specific DNS Suffix" from the DHCP. It is strange that nslookup doesn't work while ping is working.

Is it a known issue?? Pl. help.

Thanks,
Karthik S S
 
G

Guest

After doing a "ipconfig /release" and "ipconfig /renew" the nslookup works fine. But again upon reboot it stops working. However it is still not picking up the hostname

-Karthik S S
 
M

Marc Reynolds [MSFT]

Not sure what you mean by "doesn't pick up the hostname"??

nslookup will append the client domain suffix unless you give it a FQDN.
This is the design of nslookup.

--

Thanks,
Marc Reynolds
Microsoft Technical Support

This posting is provided "AS IS" with no warranties, and confers no rights.


Karthik S S said:
Hi,

We have DNS and DHCP servers configured in our network (no WINS Server).

We have noticed that windows XP doesn't pick up the hostname from the DNS.
It picks up the IP, DNS Domain but not the hostname. We are not having this
problem with Windows 2000. Have any of you experience this problem?
Also when we ping any hostname in the network it is successful but using
nslookup hostnames are not getting resolved unless otherwise we give FQHN.
Reverse lookup is just fine. (again these problems are only with Windows
XP). However it is picking up the "Connection-specific DNS Suffix" from the
DHCP. It is strange that nslookup doesn't work while ping is working.
 
G

Guest

Hi Marc

In the scope options for each IP address range we have defined the hostname. And XP is configured to get IP setting from the DHCP. DHCP supplies the IP address to the XP client but not the hostname. But the same is happening with windows 2000 clients. When issue ipconfig /all, I can see the "Connection-specific DNS Suffix" is properly set. But nslookup us not appending this to the hostname when resolving (even after manually changing the hostname to the right one that is otherwise should have been supplied by the DHCP server). But if I manually suffix the domainname after the hostname in the nslookup it just works fine

Thanks
Karthik S S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top