Forum Discussion
Windows Server 2016 No Internet Access after AD, DNS and DHCP setup
I have a Windows Server 2016 on which is setup as a Domain Controller. I have AD, DNS and DHCP setup on the same server. The DNS server address is localhost and DNS forward has been setup for the default gateway server locally.
I cannot get internet access on my server using localhost as mt DNS address. But if I use default gateway as DNS server internet access works so I know there is something wrong in my DNS server setup and forwarding.
Please help?
14 Replies
I'd check that the DC and problem clients all have the static address of domain controller listed for DNS and no others such as router or public DNS. Also check all members have the router address listed for default gateway.
Internet queries are resolved by default using the 13 default root hint servers in a top-level down fashion. If you wanted to add your ISP's or google DNS then you can do so on forwarder's tab.
- Ullas PathakCopper Contributor
Hi Dave,
I have provided Static IP for DNS server address with the Domain Controller IP adress and theDC has localhost ip iei 127.0.0.1 as its DNS server. My DNS server forwarding is referring to my router IP i.e. local DNS gateway.
When I try to add a new computer it gives the following error:
The error was: "No records found for given DNS query."
(error code 0x0000251D DNS_INFO_NO_RECORDS)The query was for the SRV record for _ldap._tcp.dc._msdcs.<my domain>
So my basic problem is I cannot get my DNS server to work correctly hence no internet access and cannot add computers to domain.
Are there any particular steps?
Please run;
Dcdiag /v /c /d /e /s:DCName >c:\dcdiag.log
(please replace DCName with your domain controller's netbios name)
also run;
ipconfig /all > C:\dc1.txt
ipconfig /all > C:\client.txt
then put files up on OneDrive and share a link.