Link to home
Start Free TrialLog in
Avatar of router_doctor
router_doctorFlag for Australia

asked on

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 ?

Avatar of mlongoh
mlongoh
Flag of United States of America image

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?
Avatar of Darius Ghassem
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
Avatar of router_doctor

ASKER

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.

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
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.
If the DCs are not updating there A records you will start seeing DNS and\or AD replication errors.
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.
If you look those records don't pertain to an IP address these records all go to the A record for IP address.
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.

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.
ASKER CERTIFIED SOLUTION
Avatar of Darius Ghassem
Darius Ghassem
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Not a complete answer to what I was wanting but you did point out some information.