Urgent Help, On DNS

daddy0147

Member
Messages
2
Reaction score
0
Points
1
Please, Someone Should Please, Tell Me Why My RDP Fails To Connect Stops Whenever I Change The DNS, And Also Please Tell Me With Can I Change The DNS So I Can Start A Successful Card. Thank You So Much As You Respond.
 
How to change the DNS name of the Remote Desktop Services HA connection
Last time we looked at the Robocopy utility and examples of using parameters in various situations. Today I want to analyze a situation in which you need to change the DNS name of a connection to a Remote Desktop Services High Availability farm, since you could have come up with a new name with a more memorable meaning, or you could have changed the naming standards in your company. I am sure that although this is not a frequent task, it will be very useful to be able to do it.

Formulation of the problem
I previously deployed a Remote Desktop Services High Availability farm based on Windows Server 2019 named terminal.root.site.com and want to change that name to teremok.root.pyatilistnik.org. Unfortunately, you cannot do this from the graphical interface in the RDS farm management snap-in, I do not know why Microsoft did not provide for this. As you can see, there is a field, you can even select it, but it does not allow editing, but nothing PowerShell will help us.
remote-desktop-services-ha-01.jpg


Change DNS name of RDS HA via PowerShell
The largest functionality for managing all aspects of Windows Server is by far PowerShell. Let's open a Powershell shell and first, let's see the current settings of the terminal farm through the command:
Code:
Get-RDConnectionBrokerHighAvailability -ConnectionBroker "terminal100.root.site.com"

More about the Get-RDConnectionBrokerHighAvailability cmdlet - https://docs.microsoft.com/en-us/po...onnectionbrokerhighavailability?view=win10-ps

As you can see from my example, this name is now even terminal2.root.site.com, we will change it.
remote-desktop-services-ha-02.jpg


It is very important that you run the command below on the active RDS broker, it is in the ActiveManagementServer field

To change the RDS connection address of the farm, we will use the Set-RDClient Access Name cmdlet and the command will look like this:
Code:
Set-RDClientAccessName -ConnectionBroker "Connection Broker FQDN name" -ClientAccessName "FQDN name you want to change to".

Here's my example:
Code:
Set-RDClientAccessName -ConnectionBroker "terminal100.root.site.com" -ClientAccessName "teremok.root.site.com"

After running the command, I ask for the settings again and see that now the DNS name "teremok.root.pyatilistnik.org" is used to connect to the Remote Desktop Services High Availability farm.
remote-desktop-services-ha-03.jpg


You can see the same thing in the snap-in on the High Availability settings tab.
remote-desktop-services-ha-04.jpg


I don't know what the problem was to do it through the graphical interface, but oh well.
 
Thank You So Much For Your Response, But Its Not Actually A DNS Name I Want To Change
 
Setting up DNS on a Windows compute
Instructions: how to change the DNS server settings on the computer. Configuring DNS in Windows 10, 8.1, 8, 7, Vista and XP

To ensure the safety and reliability of the Internet connection, as well as for uninterrupted access to websites, social networks and online services, you can use third-party DNS servers that work at the first line of access to the Internet.
Popular DNS servers are presented on our website in the Secure DNS Services section. More often than not, setting up DNS will help your VPN and proxy run more efficiently, providing a higher level of protection for your privacy and anonymity.

We bring to your attention detailed instructions on how to set up DNS on a computer with operating systems Windows 10, 8.1, 8, 7, Vista and XP.
  • Configuring DNS with DNS Jumper
  • Configuring DNS with YogaDNS
  • DNS setup in Windows 10, 8.1, 8
  • Configuring DNS in Windows 7
  • Configuring DNS in Windows XP
  • Configuring DNS in Windows Vista

Configuring DNS with DNS Jumper
DNS Jumper is a handy portable tool to quickly switch DNS on your computer. The utility works with the following operating systems: Windows 10, 8.1, 8, 7, Vista, XP and does not require additional settings in the system.
Run the utility, select your preferred server from the DNS server list (for example, Google Public DNS) and click the Apply DNS button.

Configuring DNS with YogaDNS
YogaDNS is a DNS client that intercepts system-level DNS requests and allows them to be processed through user-defined DNS servers using pre-defined protocols and flexible rules.
yogadns_1.png

YogaDNS: Configuring DNS over HTTPS, DNSCrypt and DNS Query Processing Rules in Windows.

DNS setup in Windows 10, 8.1, 8
1. To open the Network and Sharing Center (also available from Control Panel> Network and Internet ), press the Windows+ key combination Rand in the Run window enter the following command and click OK:
control.exe /name Microsoft.NetworkandSharingCenter
2. Under View basic network information and configure connections, select the network to Connect.
3. In the window that opens, select Properties.
4. In the properties window for the connection, from the Components checked by this connection list, select IP version 4 (TCP / IPv4) in Windows 10 or Internet Protocol version 4 (TCP / IP) and click Properties.
5. In the window that opens, on the General tab, select the Use the following DNS server addresses item.
6. Enter your chosen DNS addresses, for example Comss.one DNS or Google DNS, in the Preferred DNS server and Alternative DNS server fields (depending on the selected service, the field may remain empty).
7. Check the Confirm settings on exit checkbox and click OK to save the changes.

Update the DNS cache as follows:
  • Right-click the Windows icon (Start menu) and select Command Prompt (Admin) or Windows PowerShell (Admin)
  • Enter the command ipconfig /flushdnsand press the Enter key
  • Restart your computer.

Configuring DNS in Windows 7
1. Right-click on the Internet icon in the tray, select Network and Sharing Center.
2. In the View active networks section, select the item to the right of Connections:
3. On the General tab, in the Connection Status window, click the Properties button.
4. On the Networking tab of the connection properties window, scroll down and select Internet Protocol Version 4 (TCP / IPv4), click the Properties button.
5. On the General tab of the Properties window, at the bottom, select Use the following DNS server addresses, and then enter the IP addresses of the selected DNS service, such as Google DNS.
6. Check the Confirm settings on exit checkbox and click OK to save the changes.
Update the DNS cache as follows:
  • Click the Start menu > type cmd in the "Find programs and files" field> right-click on the link found and select Run as administrator
  • In the Command Prompt, enter a command ipconfig /flushdnsand press the Enter key.
  • Restart your computer.

Configuring DNS in Windows XP
  1. From the Start menu, open Control Panel .
  2. In the Control Panel window> select Network Connections , then select the current connection.
  3. On the General tab in the Connection Status window , click the Properties button.
  4. On the General tab of the Connection Properties window, scroll down and select Internet Protocol (TCP / IP), then click Properties.
  5. On the General tab of the Internet Protocol (TCP / IP) Properties window, at the bottom, select Use the following DNS server addresses, and then enter the IP addresses of the selected DNS service, such as Google DNS.
  6. Click OK and close all windows.

Configuring DNS in Windows Vista
  1. From the Start menu, open Control Panel.
  2. In the Control Panel window, select Network and Sharing Center.
  3. In the Network section, select View the status of each connection.
  4. On the General tab in the Connection Status window, click the Properties button.
  5. On the Networking tab connection properties, scroll down and select Internet Protocol Version 4 (TCP / IPv4), click the Properties button.
  6. On the General tab of the Properties window, at the bottom, select Use the following DNS server addresses, and then enter the IP addresses of the selected DNS service, Google DNS.
  7. Click OK and close all windows.
 
Top