Monday, February 2, 2009

Not able to Browse Internet even after DNS setting is correct.

One of the server was not able to browse internet even all the setting for DNS was correct. I checked the event viewer and found following error message

Event Type: Error

Event Source: Userenv

Event Category: None

Event ID: 1000

User: NT AUTHORITY\SYSTEM

Computer: Computername

Description:

Windows cannot determine the user or computer name. Return value (1722).

I followed KB article http://support.microsoft.com/kb/329708 and also removed the machine out of domain and re-added it back. But still the problem persist I was able to browse the internet by IP address not by the DNS name. Like I cannot browse using www.google.com but able to browse using http://64.233.169.147 . I started looking at host file and keep adding it but one of my college came and told it looks like DNS file is corrupt. We started troubleshooting and we resolved it in following way:

1. Delete the DNS entry from DNS server and check if all the DNS record has been updated

Ipconfig /flushdns (run it on the server itself which is in question)

2. Run ipconfig /registerdns and it failed with error message

IPCONFIG /REGISTERDNS

Windows 2000 IP Configuration

Error: The system cannot find the file specified.

: Refreshing DNS names

3. Then DHCP service was not running and in order for dynamic DNS update DHCP service should be running (http://support.microsoft.com/kb/264539)

net start dhcp

To ensure that all names are correctly registered when you restart of the DHCP client service, you should type the ipconfig command with the registerdns option:

ipconfig /registerdns

No comments: