Windows Networking – Can’t Connect Client to Gateway with DNS Set to Domain Controller

active-directoryclient-servernetworkingwindows

I recently configured an active directory and connected the clients via network connection settings by setting the DNS for the domain controller.
But people who want to work in home office can't connect to their own gateway at home, since the network adapter settings are used for all networks.

How can I tell Windows 10 to use a different network adapter setting for the internal network but search the DNS server address automatically when using another network?

Edit:
Yes, the machines are set up to use DHCP.
The DNS server address is manually inserted into the network adapter option. Until now there was only one client with this issue (the addc has less than 20 clients). I assume that's because people are normally using wlan at home and ethernet at work.
This is the IPv4 setting, so the client can find the DC (sorry, even if my pc is set in english, it displays these settings in my native language)

Best Answer

The easiest solution would be to assign DNS from the DHCP server, this way, when they are in the office, they get Domain Controller as DNS. When they go back home, they will get DNS server from the Home Network DHCP (like an ISP Router or Modem).