At my work we swapped out servers and starting from scratch. Previously had WDS on the old server and would join computers automatically to domain and push the correct DNS values on the client machines. Now I am noticing the new server will install the image but when it first boots after a fresh install, it is not automatically connected to the domain. I checked the DNS values and they are not pointing to the domain controller. When I change dns values to domain controller and I can join domain manually and upon restart everything works as it supposed to.
I must have missed a step to make the clients get installed with the correct DNS values that point to the DC. Where do the clients get the DNS ip numbers from at first install?
Server 2012r2
roles installed
AD DS, DNS, WDS
DHCP is handled by the router.