From a CentOS6.9 box, its not possible to resolv two windows Domain Controllers at a time but to only the first one, where both the Domain Controllers IP is reachable from the CentOS node
ping 192.168.59.132 # Works
ping 192.168.59.156 # Works
The windows set up is as below,
There are a number of windows hosts configured using Active directory in a Domain Controller node.
Once the entry of this Domain Controller is there in the etc/resolv.conf of the CentOS host, its possible to communicate with all the nodes under that.
options timeout:1 attempts:1
nameserver 192.168.59.156 # it's hostname is IDMTMG1.IDMT.iSyntax.net
ping IDMTMG1.IDMT.iSyntax.net # Works with out any issue, and all the nodes under that
But when it comes to more than one set up, say there are two Domain Controllers configured, and there are nodes under each of them, then the communication is happening for only the first one and the nodes under that..
That is,
The /etc/resolv.cong entry look as below,
options timeout:1 attempts:1
nameserver 192.168.59.156 # hostname IDMTMG1.IDMT.iSyntax.net
nameserver 192.168.59.132 # hostname ISTMG1.IST.iSyntax.net
Now ping works only for the first one,
ping IDMTMG1.IDMT.iSyntax.net # Works, also for all the nodes under it.
ping ISTMG1.IST.iSyntax.net # Fails
if the order is changed in the etc/resolv.conf file,
options timeout:1 attempts:1
nameserver 192.168.59.132 # hostname ISTMG1.IST.iSyntax.net
nameserver 192.168.59.156 # hostname IDMTMG1.IDMT.iSyntax.net
Now also the behavior is the same, its work for the first one, not for the second one.
ping ISTMG1.IST.iSyntax.net # Works, Works, also for all the nodes under it.
ping IDMTMG1.IDMT.iSyntax.net # Fails
See the nslookup command out put.
nslookup -type=any IDM04MG1.IDM04.iyntax.net
Server: 192.168.59.132
Address: 192.168.59.132#53
Name: IDM04MG1.IDM04.iyntax.net
Address: 192.168.59.132
IDM04MG1.IDM04.iSyntax.net has AAAA address fd00:59::250:56ff:febc:75ee
##################################
nslookup -type=any SHDMG1.SHD.iyntax.net
;; Got recursion not available from 192.168.59.132, trying next server
Server: 192.168.59.156
Address: 192.168.59.156#53
Name: SHDMG1.SHD.iyntax.net
Address: 192.168.59.156
How could I establish connection to this both Domain Controllers simultaneously..? If its possible to ping using the hostname of the DC, communication to all the nodes under that is happening.