External DNS - Same as parent folder

My external DNS use the microsoft server service.

I have 2 Domain Controllers that sync all the DNS zone via the MSAD synchronization. (primary)

Then I have 2 DNS servers (not a DC) that have all the zone, but all zones are secondary.
Those two secondaries, are the one that answered all the DNS requested that come form the Internet.

for my zone (mycompany.com), I have an A record for the www, 4.4.4.4
so I can access my web site with www.mycompany.com

I also have a A record, "same as parent folder", that I would like to use to get my website via "mycompany.com" (no www)

Unfortunately, becase it use the MSAD synchrnization all the DC are also listed as "same as parent folder".

Is there any ways to remove those entries, maybe only on my secondaries DNS server, and make works my web page without the www.

Thx,
Simon
sparadisAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris DentPowerShell DeveloperCommented:

If the DNS zone you're talking about is also used for Active Directory then no. Removing them will adversely impact your domain.

If it isn't your AD domain it shouldn't be registering A records there anyway.

Chris
0
DrDave242Senior Support EngineerCommented:
No, don't change those entries - they're used by other machines to locate a domain controller.  In your situation, there's no way to do what you're trying to do, because your internal and external DNS namespaces use the same name - my company.com.  This is one reason why it's strongly recommended to use a non-public DNS suffix like .local on your internal domain.
0
sparadisAuthor Commented:
The 4 machines previously detailled deserved only External DNS in the DMZ.

I have an other domain (mycompany.local) and an other set of DNS server for my internal DNS request.


we decided to create a new domain in the DMZ to have two primaries DNS servers.
hope that it will help, or I will change everything.
0
The 7 Worst Nightmares of a Sysadmin

Fear not! To defend your business’ IT systems we’re going to shine a light on the seven most sinister terrors that haunt sysadmins. That way you can be sure there’s nothing in your stack waiting to go bump in the night.

Chris DentPowerShell DeveloperCommented:

What did you call the domain in the DMZ? That's the only one that matters in this scenario.

Chris
0
sparadisAuthor Commented:
the domain in the DMZ is dmz.local
I created a primary Zone (ad replicated) mycompany.com
-there are 2 DC member of that domain
and two other servers (not DC) that have a secondary zone of mycompany.com

in my zone I have

www - 4.4.4.4
(same as parent folder) - 4.4.4.4

(same as parent folder) - dc01.dmz.local (DC, with primary zone of mycomapny.com)
(same as parent folder) - dc02.dmz.local (DC, with primary zone of mycomapny.com)
(same as parent folder) - ns1.dmz.local (secondary, replication of dc1)
(same as parent folder) - ns2.dmz.local (secondary, replication of dc2)

I don't want to see the 4 last entries on my secondary server

Thx
0
Chris DentPowerShell DeveloperCommented:

Thanks, much easier to see now :)

You need to disable auto creation of records on that zone (not to be confused with dynamic update).

dnscmd /Config /DisableNSRecordsAutoCreation 1
dnscmd /Config dmz.local //AllowNSRecordsAutoCreation IPofDC1 IPofDC2

You'll need to run that on both DCs. After you've done that you should manually clean up the NS and records, may take a bit of work but see how you get on with that first.

Chris
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chris DentPowerShell DeveloperCommented:

I managed to include an extra / in the second command above, it should be dropped.

And on reflection, you should run the first on all 4 DNS servers.

Chris
0
sparadisAuthor Commented:
Thx for your help
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.