We have an 2K3 R2 AD server. It is also serves as our DNS server.
When I look at the DNS entries I see the following:
do I really need all these entries?
I currently have a problem that my AD can not access the internet. From SF-Q I can guess it has to do with my dns entries, and I think that fixing that will solve my network access.
Running NetDiag /l shows me an error in the DNS entry as follow
DNS test . . . . . . . . . . . . . : Failed
[WARNING] Cannot find a primary authoritative DNS server for the name
'OptiTexDC.optitex.'. [ERROR_TIMEOUT]
The name 'OptiTexDC.optitex.' may not be registered in DNS.
[WARNING] The DNS entries for this DC are not registered correctly on DNS server '192.168.0.2'. Please wait for 30 minutes for DNS server replication.
[WARNING] The DNS entries for this DC cannot be verified right now on DNS server 80.179.52.100, ERROR_TIMEOUT.
[FATAL] No DNS servers have the DNS records for this DC registered.
I want to point, all of my users/computers et el. can access the internet.
I am not really sure what to do?!
<< edit >> DNS management forwaders are defined as my ISP provider gave me. This usually propogates to all users. Should I add my DC (192.168.0.2) as one as well?
This is a ipcnofig /all from a client. Both my ISP DNS are listed, as well as my Domain.
Adding some more information: Looking at the Server Event viewer, Under DNS, I see the following:
Event Type: Warning
Event Source: DNS
Event Category: None
Event ID: 7062
Date: 8/10/2011
Time: 16:03:03
User: N/A
Computer: OPTITEXDC
Description:
The DNS server encountered a packet addressed to itself on IP address 192.168.0.2. The packet is for the DNS name "localhost.OPTITEX.OPTITEX.". The packet will be discarded. This condition usually indicates a configuration error.
Check the following areas for possible self-send configuration errors:
1) Forwarders list. (DNS servers should not forward to themselves).
2) Master lists of secondary zones.
3) Notify lists of primary zones.
4) Delegations of subzones. Must not contain NS record for this DNS server unless subzone is also on this server.
5) Root hints.
Example of self-delegation:
-> This DNS server dns1.example.microsoft.com is the primary for the zone example.microsoft.com.
-> The example.microsoft.com zone contains a delegation of bar.example.microsoft.com to dns1.example.microsoft.com,
(bar.example.microsoft.com NS dns1.example.microsoft.com)
-> BUT the bar.example.microsoft.com zone is NOT on this server.
Note, you should make this delegation check (with nslookup or DNS manager) both on this DNS server and on the server(s) you delegated the subzone to. It is possible that the delegation was done correctly, but that the primary DNS for the subzone, has any incorrect NS record pointing back at this server. If this incorrect NS record is cached at this server, then the self-send could result. If found, the subzone DNS server admin should remove the offending NS record.
You can use the DNS server debug logging facility to track down the cause of this problem.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data: 0000: 50 25 00 00 P%..
- I visited the link provided. Did not help me.
<< edit - Add Server connection settings >> I am also adding my server network settings. I don't think I can make these settings dynamically from DHCP as I am the DHCP. I do have set as a DNS - my own IP, and 1 of my ISP's. Do I need to change?
Checklist: Both DNS Client and DNS Server are working on the server.
Thanks
You don't have to use forwarders. The Microsoft DNS server is capable of resolving via root hints "out of the box". Having said that, you can use forwarders, too.
You should only have an Active Directory DNS server specified as the DNS server for all domain members (including DCs, member servers, and client PCs). According to your
ipconfig
output above you've got ISP DNS server specified in DHCP to be handed out to clients. That's not good. Clients should only be using the AD DNS server. Make sure that you don't have the ISP DNS server specified for any devices with static IP addresses (including all DCs and servers).The
netdiag
output makes me think that you don't have the DC set to be its own DNS server (with no other DNS servers specified). I'd make sure you've got that set and do anet stop netlogon
andnet start netlogon
, followed by anipconfig /registerdns
and, finally, re-run thenetdiag
and see how bad it looks.Use
nslookup
and check queries for Internet names against your DC's DNS server (use the commandserver 192.168.0.2
innslookup
to be sure the queries are running against the DC's DNS server). If it won't resolve Internet names usingnslookup
double-check your firewall (and sniff traffic there as necessary) to be sure that DNS queries from the DC are being allowed out onto the Internet and replies are coming back.As an aside: YIKES! You've got a single-label DNS name (OptiTex). If this is a new domain and a new installation you'll do yourself a MAJOR favor to change this to a multi-label DNS name now. (There are some good questions on Server Fault about AD domain naming, including:
Single-label AD DNS domain names are bad news! Microsoft recommends against them because some applications don't support them and migration away can become impossible (meaning that you'll have to throw away the entire AD forest and start over).
Your AD clients and servers, including all DCs should have only AD DNS servers in their client DNS setup. The only question is whether the DNS server has forwarders or resolves root hints on its own. My preference is to use forwarders to my ISP, OpenDNS or google so that this work is offloaded to a well run DNS.
Check that you have forwarders setup in your DNS server.
Open your DNS Management, right click on your Server and go to Properties. Go to the Forwarders Tab, make sure you have your DNS servers listed there.
Also look at this Microsoft KB to see if this fixes your issue with the dcdiag error
EUREKA !!!!
I found the error (off course it's me) for some reason, the default gateway on the server was set to it's own (192.168.0.2) while it should be - 192.168.0.254 !!!
I will also check all other settings, and make sure all works well. thanks for all your tips, and support.
I still have the problem with my netdiag /l but I will start a new Q for that.
Thanks again