AntiThesis Posted January 18, 2010 Posted January 18, 2010 Hi, Something has gone horribly, horribly wrong with our DC I inherited this sucker and it's worked fine till now. I don't currently have a backup DC because that bit the dust last week as well. Joy. Among other errors, DCdiag throws up a bunch as does Netdiag (both attached). I cannot join objects to the domai (Domain controller could not be contacted) and windows error 10042 seems to keep coming up in event viewer and so on. Unfortunately there's not a lot of information on 10042 that I can see. Any info would be really, truly, greatly appreciated. Seriously. Like cookies appreciated at this point. Help me Edugeek. You're my only hope. dcdiag.txtnetdiag.txt
srochford Posted January 18, 2010 Posted January 18, 2010 As a wild generalisation, 100% of all active directory problems are down to DNS problems :-) Your netdiag shows: Host Name. . . . . . . . . : zion IP Address . . . . . . . . : 192.168.0.1 Subnet Mask. . . . . . . . : 255.255.255.0 Default Gateway. . . . . . : Dns Servers. . . . . . . . : so it looks as if your DC does not have DNS configured?? Assuming DNS is running on the same machine then you need to configure it to point to itself for DNS resoution - you can either enter 192.168.0.1 or 127.0.0.1 (localhost - ie "me") Once you've done that, I'd shut down and restart the server (you can just restart services but this is probably simpler given that things are broken now) and I think it may all come back.
jamesreedersmith Posted January 18, 2010 Posted January 18, 2010 Also check the one DC you have is a global catalog server - you will need this for people to be able to log on.
cookie_monster Posted January 18, 2010 Posted January 18, 2010 As a wild generalisation, 100% of all active directory problems are down to DNS problems :-) Your netdiag shows: Host Name. . . . . . . . . : zion IP Address . . . . . . . . : 192.168.0.1 Subnet Mask. . . . . . . . : 255.255.255.0 Default Gateway. . . . . . : Dns Servers. . . . . . . . : so it looks as if your DC does not have DNS configured?? Assuming DNS is running on the same machine then you need to configure it to point to itself for DNS resoution - you can either enter 192.168.0.1 or 127.0.0.1 (localhost - ie "me") Once you've done that, I'd shut down and restart the server (you can just restart services but this is probably simpler given that things are broken now) and I think it may all come back. Steve is right about DNS i'm just wondering if it's possible that this DC hasn't been doing anything for quite some time but this has only come to light with the faliure of the second DC.
AntiThesis Posted January 18, 2010 Author Posted January 18, 2010 I'm starting to wonder that myself... it's odd that this only started happening with the second DC failing. I've never had to do very much on this server so it's never been an issue. The DNS settings are now correct on the DC though buggered if I know where they went. OK, most of the errors on netdiag are gone as are the ones on DC diag. Still stuck with some that are causing issues though. All I want is this DC up and running so I can get a secondary going again. Good monday From DcDiag: Starting test: Connectivity The host d197603e-9521-4a9e-814f-1cb0a229a854._msdcs.cambridge.local could not be resolved to an IP address. Check the DNS server, DHCP, server name, etc Although the Guid DNS name (d197603e-9521-4a9e-814f-1cb0a229a854._msdcs.cambridge.local) couldn't be resolved, the server name (zion.cambridge.local) resolved to the IP address (192.168.0.1) and was pingable. Check that the IP address is registered correctly with the DNS server. ......................... ZION failed test Connectivity And from Netdiag [WARNING] Cannot find a primary authoritative DNS server for the name 'zion.cambridge.local.'. [WSAENOPROTOOPT ] The name 'zion.cambridge.local.' may not be registered in DNS. [WARNING] The DNS entries for this DC are not registered correctly on DNS server '192.168.0.1'. Please wait for 30 minutes for DNS server replication. [WARNING] The DNS entries for this DC are not registered correctly on DNS server '192.168.0.7'. Please wait for 30 minutes for DNS server replication. [WARNING] The DNS entries for this DC are not registered correctly on DNS server '196.14.239.2'. Please wait for 30 minutes for DNS server replication. [WARNING] The DNS entries for this DC are not registered correctly on DNS server '168.210.2.2'. Please wait for 30 minutes for DNS server replication. [FATAL] No DNS servers have the DNS records for this DC registered. Thanks for the assist folks
Firefox Posted January 18, 2010 Posted January 18, 2010 I'm starting to wonder that myself... it's odd that this only started happening with the second DC failing. I've never had to do very much on this server so it's never been an issue. The DNS settings are now correct on the DC though buggered if I know where they went. OK, most of the errors on netdiag are gone as are the ones on DC diag. Still stuck with some that are causing issues though. All I want is this DC up and running so I can get a secondary going again. Good monday From DcDiag: And from Netdiag Thanks for the assist folks Apologies if you've already tried this, but what happens when you try ipconfig /flushdns then ipconfig /registerdns?
SYNACK Posted January 18, 2010 Posted January 18, 2010 After the DNS reregistration (try having just itself as a DNS server), if it does not register try making one manually in DNS. I would check the FSMO roles. These are the core nessisary roles for AD to function How To Find Servers That Hold Flexible Single Master Operations Roles If these are still the old server then you will need to transfer them, if you can get the old server up for a short time to do this it is easier otherwise you would need to seize the roles. If you do this it means that you cannot reconnect the old server later if you do fix it without first formating it. Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller
AntiThesis Posted January 18, 2010 Author Posted January 18, 2010 (edited) This server (192.168.0.1 / zion) is operations master. I've managed to get all the FSMO roles transferred and it now shows that it knows all five and they are linked to it. From DcDiag: The Host {server GUID} could not be resolved to an IP address. Check the DNS server, dhcp, server name etc. The FQDN resolves and is pingable and if I do an nslookup of the GUID I get the correct response. In addition, the record exists in ._msdcs Hmm... edit: Oh, and an ipconfig /all for the server: Windows IP Configuration Host Name . . . . . . . . . . . . : zion Primary Dns Suffix . . . . . . . : cambridge.local Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : Yes WINS Proxy Enabled. . . . . . . . : Yes DNS Suffix Search List. . . . . . : cambridge.local Ethernet adapter OLD LAN: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NI Physical Address. . . . . . . . . : 00-00-21-0B-C1-79 DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.0.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : DNS Servers . . . . . . . . . . . : 192.168.0.1 Ethernet adapter WAN: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : SURECOM EP-320X-R 100/10/M PCI Adapter Physical Address. . . . . . . . . : 00-02-44-65-15-2A DHCP Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 196.213.x.x Subnet Mask . . . . . . . . . . . : 255.255.255.x Default Gateway . . . . . . . . . : 196.213.x.x DNS Servers . . . . . . . . . . . : 192.168.0.1 Edited January 18, 2010 by AntiThesis
m25man Posted January 18, 2010 Posted January 18, 2010 Just a thought, but if you appear to have "lost" your DNS settings etc on your DC do you have more than one network card in them? If so are both of your server NIC's configured? It's the sort of thing that happens when you suddenly drop a Team configuration which I have had after doing system updates!
AntiThesis Posted January 18, 2010 Author Posted January 18, 2010 Just a thought, but if you appear to have "lost" your DNS settings etc on your DC do you have more than one network card in them? If so are both of your server NIC's configured? It's the sort of thing that happens when you suddenly drop a Team configuration which I have had after doing system updates! Yeah there are two NICs in this machine - both are configured to use the same DNS (192.168.0.1) and the external NIC is configured to not register with DNS.
m25man Posted January 18, 2010 Posted January 18, 2010 You mean that you have a MuliHomed DC with a Public interface?
AntiThesis Posted January 18, 2010 Author Posted January 18, 2010 You mean that you have a MuliHomed DC with a Public interface? Indeedy. The poor bastard thing is also a very lightweight mail server. The way it's setup: public domain is forwarded to DC's public IP (on port 80) for webmail public domain is forwarded to DC's public IP (on mail ports) for incoming/outgoing mail I've read up a little on multihomed DCs and I can see they don't appear to be a very good idea - but currently there's no budget for something else so I guess we live with it. I'm still slightly puzzled as to why this happened now when the secondary died (unless as was posted earlier, it was doing most of the work). There's an email waiting for the boss to say we need some new hardware but I would love to get this sucker up and running so I can slap a secondary in there and take this one down permanently later/relegate it to only mail.
m25man Posted January 18, 2010 Posted January 18, 2010 So, what IP are you using on the Public Interface? An ISP assigned Public IP or a private DMZ IP behind a router? Either way you don't want anything of your AD Domain showing up on the WAN NIC and Vice Versa! Sounds to me like the AD is referencing the External NIC somewhere! It's really not a good idea to Multihome DC's and always use an ISA or hardware firewall device between you and the bad guys otherwise somebody with a Metasploit toolkit will cut you to pieces in no time. It really sounds like you have an AD DNS config issue probably due to a NIC misconfiguration of the two cards.
AntiThesis Posted January 19, 2010 Author Posted January 19, 2010 Man it's hard to navigate here with elinks I've solved almost all the problems - end is in sight. The process has started to get rid of the horrible multihomed at last - I even managed (after wheedling) to get budget for some extra hardware. Machines can now auth against the server but I'm still having an issue with DNS *sigh* Basically, the DNS server still shows itself as unresolvable (can't ping the GUID which fails the connectivity test in dcdiag) and in a host of Netlogon errors under System I get: The dynamic registration of the DNS record 'dnsrecordblah' failed on the following DNS server: DNS server IP address: Returned Response Code (RCODE): 0 Returned Status Code: 0 And then the usual load of Microsoft stuff telling me to run dcdiag followed by nltest. Right at the bottom under additional data I get an interesting bit that makes me think about winsock: Error Value: An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call. Any ideas? The Internets is mum on this for the most part.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now