I'm running CentOS 7 in a lab environment with one domain controller (DC - Windows 2012R2) which serves as a DNS and DHCP server as well.
CentOS is joined to the domain; it can ping the DC and a workstation by IP address with no problems, and
nslookup also works properly.
When trying to ping by DNS name (e.g.
ping dc instead of
ping 10.0.0.1) I can see that name resolution is received very fast, but the
ping responses take an incredibly long time (over 5 seconds) to return. Tested the same from the workstation (Windows 8.1) and it works fine, so I believe something might be misconfigured in my CentOS server.
I user NetworkManager via the
nmtui command. I have two virtual NICs on CentOS but one is disabled, the remaining one has a static IP address (which is not in the DHCP range), and has the DC's IP configured as the gateway, DNS and static route. (Side question: is it even supposed to be configured as a static route?)