Setup DNS for Microsoft Active Directory

jlord87

Registered
Jul 21, 2017
1
0
1
Italy
cPanel Access Level
Website Owner
Hi everybody,

I'm trying to solve a problem, really close to this one:
Microsoft Active Directory using cPanel for non-Microsoft DNS?

I would like to configure the DNS server to correctly forward all the records needed for a machine to join an Active Directory domain from a remote site;

Has anybody ever faced (and solved) this problem?
Till now I've created these records with no success (see the error given by a machine that tries to join the domain)

Code:
domain.mydomain.it.     3600    IN     A     aaa.bbb.ccc.dd

_msdcs.domain.mydomain.it.     3600    IN     A     aaa.bbb.ccc.dd

_ldap._tcp.domain.mydomain.it.     3600    IN     SRV     "Priorità: 0
Peso: 0
Porta : 389
Destinazione: server.domain.mydomain.it "

_kerberos._tcp.domain.mydomain.it.     3600    IN     SRV     "Priorità: 0
Peso: 0
Porta : 88
Destinazione: server.domain.mydomain.it "

_ldap._tcp.dc._msdcs.domain.mydomain.it.     3600    IN     SRV     "Priorità: 0
Peso: 0
Porta : 389
Destinazione: server.domain.mydomain.it "

_kerberos._tcp.dc._msdcs.domain.mydomain.it.     3600    IN     SRV     "Priorità: 0
Peso: 0
Porta : 88
Destinazione: server.domain.mydomain.it "

msdcs.domain.mydomain.it.     14400    IN     A     aaa.bbb.ccc.ddd

_ldap._tcp.gc._msdcs.domain.mydomain.it.     3600    IN     SRV     "Priorità: 0
Peso: 100
Porta : 3268
Destinazione: server.domain.mydomain.it "

server.domain.mydomain.it.     3600    IN     A     aaa.bbb.ccc.ddd
_ldap._tcp.pdc._msdcs.domain.mydomain.it.     3600    IN     SRV     "Priorità: 0
Peso: 100
Porta : 389
Destinazione: server.domain.mydomain.it "
This is the error a windows 10 machine gives me trying to join the domain (trying to translate from italian):
An error occurred: "DNS name is not available
The query was executed for the record SRV _ldap._tcp.dc._msdcs.domain.mydomain.it

The most common causes for this kind of error include:
- DNS SRV records required for finding an Active Directory domain controller for the domain are not registered in the DNS"
Can anybody point me in any direction, I'm quiet lost here...

Thank you
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,883
2,256
463
Hello,

The first step would be to use a website such as IntoDNS.com to verify the name servers used for the domain name are associated with IP addresses added to the cPanel server your domain is hosted on. If they do not, then you'd need to update the DNS records at the DNS host of the domain name, or consider switching the name servers to the ones provided by your hosting provider.

Thank you.
 

24x7server

Well-Known Member
Apr 17, 2013
1,913
99
78
India
cPanel Access Level
Root Administrator
Twitter