• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1618
  • Last Modified:

Impact of setting RegisterDNSARecords to 0 on AD domain controllers

Because we run our AD in our top level domain (for certain reasons) and we are running BIND as our DNS, we have the problem of windows domain controllers inserting A records directly against "domain.com".

Some research has indicated that one option is to set the registry value RegisterDNSARecords to 0 on all DCs to stop them registering A records against domain.com

What I wanted to get some feel for is what is the impact of removing these A records against the domain (both AD and internet top level) ?  

Will there be any service impact in our AD environment ?

Experience anyone ?

0
router_doctor
Asked:
router_doctor
  • 6
  • 6
1 Solution
 
mlongohCommented:
I guess I'm missing something.  Why is it a problem to have each DC create an A record for itself in the domain that it exists in?
0
 
Darius GhassemCommented:
Yes, if the Domain Controllers don't have an A record  then they will be able to be found. You should be running DNS within Windows at least on one Domain Controller these records will then replicate to the BIND servers
0
 
router_doctorAuthor Commented:
In our case this breaks http:\\domain.com as it will resolve to the DCs that are in a private (10.x.x.x) subnet.

I know I can do things to work around this but I am specifically after the answer to the above question.

0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Darius GhassemCommented:
So, you are saying that when you go to the your domain in  the IE for an example you get the DCs. What you would have to do is setup a IIS redirect on each DC to redirect any request for the http://domain.com to the web server you want to handle this.

This is a common issue when you are running the same external and internal domain name.

http://technet.microsoft.com/en-us/library/cc755946(WS.10).aspx

IIS redirect steps.

http://oddjobsintech.com/active-directory-tip-access-external-website-with-the-same-domain-name-as-your-internal-domain/

You would need to setup www record as well

But to answer above question you can NOT remove A record for Domain Controllers that wouldn't fix your problem anyways but instead cause lots more
0
 
router_doctorAuthor Commented:
I am not sure I am being clear.  

I am NOT looking for a way of getting around the problem.  I know about IIS redirection and split DNS.  Neither of these are viable options for reasons I wont go into here.

What I am specifically looking for an answer on is what is the service impact of having DCs not register A records for against the domain name when setting RegisterDNSARecords=0

To add some more information:  I did some testing over the weekend.  I removed the A records for the domain (set RegisterDNSARecords=0) and restarted all the DCs and Clients.   Testing indicated that basic functionality was still operating (find shares, open shares, group policy, etc).  Because I dont know what other problems might be lurking I have restored the existing behaviour until such time as I am certain of the impact.
0
 
Darius GhassemCommented:
If the DCs are not updating there A records you will start seeing DNS and\or AD replication errors.
0
 
router_doctorAuthor Commented:
Not sure why we would see DNS errors since AD should be using the following domains to find other DCs and services.

_msdcs.domain.com
_tcp.domain.com
_sites.domain.com
_udp.domain.com
DomainDnsZones.domain.com
ForestDnsZones.domain.com

These are still going to be resolvable without the need for any A records against the domain name.

As per AD replication - that too should continue to work by getting the required information from the above records.
0
 
Darius GhassemCommented:
If you look those records don't pertain to an IP address these records all go to the A record for IP address.
0
 
router_doctorAuthor Commented:
These are subdomains that hold all the AD information.  Inside these subdomains you will find SRV records pointing to the domain controllers for particular service.

The domain controller(s) A records are fine - we're not talking about stopping DCs from registering A records for themselves:

ie:    dc1.domain.com.   IN   A   10.x.y.z

Were are taking about stopping this

domain.com.   IN   A  10.a.b.c
domain.com.   IN   A  10.x.y.z

And removing the above will not prevent AD from resolving any SRV records as indicated before.

Note:  I think you might be confusing A records pointing to the domain controllers vs A records pointing to the domain.

0
 
router_doctorAuthor Commented:
We are setting the A records for the DCs manually so all I am worried about is removing the domain.com A records.

This reference in the document you sent seems to indicate little impact - "Lightweight Directory Access Protocol (LDAP) implementations that do not support SRV records will not be able to locate the LDAP server on this domain controller"

That implies that if you are using a non-AD LDAP service then you might have problems.  We are of course using AD's build in LDAP support.
0
 
Darius GhassemCommented:
If you are manually adding the A record and you don't have DNS Scavenging turned on then you should be ok.


DNS stops updating when an update attempt fail



0
 
router_doctorAuthor Commented:
Not a complete answer to what I was wanting but you did point out some information.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 6
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now