Windows Server DNS issue with Windows Client 10 Client machine

PerserPolis-1732 1,846 Reputation points
2024-07-01T11:40:02.1833333+00:00

Hi,

I have a issue with my Windows Client 10 machines (Notebooks). As you know Notebooks has as well LAN and as WLAN. If the user connected to the LAN, getting here a IP from for example 192.168.178.1 and the WLAN getting a different IP from DHCP for example 10.100.1.1. Either the LAN IP or WLAN IP are in recorded DNS server dependent on which network you are connected.

Sometime I cannot reach the machine either with ping or remote desktop or something else. I put in DNS Server the TTL value to "0", but sometime helps and sometimes not.

The only way is, I run the command line "ipconfig /registerdns" on the Client machine and on the DNS Server delete the Windows client record and run the "ipconfig /flushdns" , then I can reach the machine. I have to mention only if can access to the Client machine, I can run the above command line.

The best way is in that situation to run a logon script with power shell or batch with command "ipconfig /registerdns" and "ipconfig /flushdns". But how?

I have really no idea how I can resolve that issue. Any Idea?

Regards

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,306 questions
Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
256 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,567 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.