Sunday, March 8, 2009
AD Integrated DNS Zone(s) missing.
You very calmly say, alrighty i'll look into the issue right away.
You walk over to the server room.
Login and then open the DNS Management Console (dnsmgmt.msc) and your jaw just drops.
You grab your head and tug on your hair, thinking to yourself "Last Night when i left for home, i had 4 zones, now i have none. What the #!@% is happening!!"
You follow the basic steps. Restart DNS, Check Event Viewer, Google the error. Then you think lets just recreate the zones.
You try to create your zone only to realize that u cant!! "NOW What!!"
Well I'd Say just "Relax brother!!, its just a small command to fix the issue."
The Event IDs generated are :
Event Type: Error
Event Source: DNS
Event Category: None
Event ID: 4000
Date: 3/8/2009
Time: 12:50:56 AM
User: N/A
Computer: dc2-pnq-2k3
Description:
The DNS server was unable to open Active Directory. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2d 23 00 00 -#..
Event Type: Warning
Event Source: DNS
Event Category: None
Event ID: 4013
Date: 3/8/2009
Time: 12:50:56 AM
User: N/A
Computer: dc2-pnq-2k3
Description:
The DNS server is waiting for Active Directory Domain Services (AD DS) to signal that the initial synchronization of the directory has been completed. The DNS server service cannot start until the initial synchronization is complete because critical DNS data might not yet be replicated onto this domain controller. If events in the AD DS event log indicate that there is a problem with DNS name resolution, consider adding the IP address of another DNS server for this domain to the DNS server list in the Internet Protocol properties of this computer. This event will be logged every two minutes until AD DS has signaled that the initial synchronization has successfully completed.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2d 23 00 00 -#..
Event Type: Error
Event Source: DNS
Event Category: None
Event ID: 4004
Date: 3/6/2009
Time: 4:25:39 AM
User: N/A
Computer: dc2-pnq-2k3
Description:
The DNS server was unable to complete directory service enumeration of zone .. This DNS server is configured to use information obtained from Active Directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and repeat enumeration of the zone. The extended error debug information (which may be empty) is "". The event data contains the error.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2a 23 00 00 *#..
Event Type: Error
Event Source: DNS
Event Category: None
Event ID: 4015
Date: 3/6/2009
Time: 4:25:39 AM
User: N/A
Computer: dc2-pnq-2k3
Description:
The DNS server has encountered a critical error from the Active Directory. Check that the Active Directory is functioning properly. The extended error debug information (which may be empty) is "". The event data contains the error.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 51 00 00 00 Q...
Download Support Tools from http://download.microsoft.com/ for your version of Windows Server (X86 or x64)
After installing, open command prompt and run netdiag. In the output you should see the following error or close to it.
Trust relationship test. . . . . . : Failed
[FATAL] Secure channel to domain 'psytrix.local' is broken. [ERROR_NO_TRUST_SAM_ACCOUNT]
Where psytrix.local is your domain name.
This error message indicates that the Secure Channel between that machine and the Domain is broken.
To fix this just run the below command
netdom resetpwd /server:dc1-pnq-2k3 /userd:psytrix\Administrator /passwordd:*
NOTE: dc1-pnq-2k3 is the PDC, you could also use the IP Address.
at the prompt below enter the password for the Administrator user account.
NOTE: you cannot see what is being typed. So just enter the password and hit enter.
Type the password associated with the domain user:
The output should be:
The machine account password for the local machine has been successfully reset.
The command completed successfully.
Then restart the DNS Server Service (net stop dns & net start dns)
Refresh or Re-Open the DNS Management Console (dnsmgmt.msc) and you will see the difference.
Thursday, March 5, 2009
DNS Server Event ID 407, 408.
The DNS server refuses to start at times. Or the Event ID 404, 407 and 408 are generated.
Details of the Event ID are given Below:
Log Name: DNS Server
Source: Microsoft-Windows-DNS-Server-Service
Date: 3/5/2009 12:03:00 PM
Event ID: 408
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: DC1-NY-2K8.psytrix.local
Description:
The DNS server could not open socket for address 127.0.0.1.
Verify that this is a valid IP address for the server computer. If it is NOT valid use the Interfaces dialog under Server Properties in the DNS Manager to remove it from the list of IP interfaces. Then stop and restart the DNS server. (If this was the only IP interface on this machine and the DNS server may not have started as a result of this error. In that case remove the DNS\Parameters\ ListenAddress value in the services section of the registry and restart.)
If this is a valid IP address for this machine, make sure that no other application (e.g. another DNS server) is running that would attempt to use the DNS port.
For more information, see "DNS server log reference" in the online Help.
Log Name: DNS Server
Source: Microsoft-Windows-DNS-Server-Service
Date: 3/5/2009 12:03:00 PM
Event ID: 407
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: DC1-NY-2K8.psytrix.local
Description:
The DNS server could not bind a User Datagram Protocol (UDP) socket to 127.0.0.1. The event data is the error code. Restart the DNS server or reboot your computer.
Log Name: DNS Server
Source: Microsoft-Windows-DNS-Server-Service
Date: 3/5/2009 12:03:00 PM
Event ID: 408
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: DC1-NY-2K8.psytrix.local
Description:
The DNS server could not open socket for address 192.168.1.151.
Verify that this is a valid IP address for the server computer. If it is NOT valid use the Interfaces dialog under Server Properties in the DNS Manager to remove it from the list of IP interfaces. Then stop and restart the DNS server. (If this was the only IP interface on this machine and the DNS server may not have started as a result of this error. In that case remove the DNS\Parameters\ ListenAddress value in the services section of the registry and restart.)
If this is a valid IP address for this machine, make sure that no other application (e.g. another DNS server) is running that would attempt to use the DNS port.
For more information, see "DNS server log reference" in the online Help.
Log Name: DNS Server
Source: Microsoft-Windows-DNS-Server-Service
Date: 3/5/2009 12:03:00 PM
Event ID: 407
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: DC1-NY-2K8.psytrix.local
Description:
The DNS server could not bind a User Datagram Protocol (UDP) socket to 192.168.1.151. The event data is the error code. Restart the DNS server or reboot your computer.
Event Type: Error
Event Source: DNS
Event Category: None
Event ID: 404
Date: 3/5/2009
Time: 1:08:24 PM
User: N/A
Computer: DC1-NY-2K8.psytrix.local
Description:
The DNS server could not bind a Transmission Control Protocol (TCP) socket to address 127.0.0.1. The event data is the error code. An IP address of 0.0.0.0 can indicate a valid "any address" configuration in which all configured IP addresses on the computer are available for use.
Restart the DNS server or reboot the computer.
Event Type: Error
Event Source: DNS
Event Category: None
Event ID: 404
Date: 3/5/2009
Time: 1:08:24 PM
User: N/A
Computer: DC1-NY-2K8.psytrix.local
Description:
The DNS server could not bind a Transmission Control Protocol (TCP) socket to address 192.168.1.151. The event data is the error code. An IP address of 0.0.0.0 can indicate a valid "any address" configuration in which all configured IP addresses on the computer are available for use.
Restart the DNS server or reboot the computer.
This is caused by another process using port 53 (TCP / UDP). To verify this do the following:
net stop DNS (i.e. If it is not already stopped)
netstat –ano find “:53” the output should be something like:
TCP 127.0.0.1:53 0.0.0.0:0 LISTENING 2752
TCP 192.168.1.151:53 0.0.0.0:0 LISTENING 2752
TCP [::1]:53 [::]:0 LISTENING 2752
UDP 127.0.0.1:53 *:* 2752
UDP 192.168.1.151:53 *:* 2752
UDP [::1]:53 *:* 2752
In the output the last digit indicates the PID of the process using the port. Open up the Task Manager and add the PID (Process Identifier) to the process column (how: go to View > Select Columns ).
Once you have located the PID, finding which service / process is using Ports TCP 53 / UDP 53, should be a breeze.
Then just stop the respective process and restart the DNS server service. And the Event IDs will go away.
NOTE: If only the UDP 53 is in use by another process but the TCP 53 port is not, then DNS will start but will still give the same Event ID. However if both TCP 53 and UDP 53 are in use DNS will sometimes not start at all.