Windows 10: Powershell script to update ttl for a records having more than 1 IP address

Discus and support Powershell script to update ttl for a records having more than 1 IP address in Windows 10 Gaming to solve the problem; Hi,I'm referring to the below article from MS. However, the ttl values do not update as expected even after using the same commands as per this... Discussion in 'Windows 10 Gaming' started by Biju Thankappan, Jan 23, 2022.

  1. Powershell script to update ttl for a records having more than 1 IP address


    Hi,I'm referring to the below article from MS. However, the ttl values do not update as expected even after using the same commands as per this article:https://docs.microsoft.com/en-us/powershell/module/dnsserver/set-dnsserverresourcerecord?view=windowsserver2022-psFew queries:> How to update the tl for A records having multiple IP's?> Does the ttl values updated for soa record ensure new records are updated with this updated ttl value?Regards,TIA

    :)
     
    Biju Thankappan, Jan 23, 2022
    #1

  2. app that can record ip address

    A public IP address is an IP address that can be accessed over the Internet. Private IP address on the other hand is used to assign computers within your private space without letting them directly expose to the Internet. For example, if you have multiple computers within your home you may want to use private IP addresses to address each computer within your home. In this scenario, your router get the public IP address, and each of the computers, tablets and smartphones connected to your router (via wired or wifi) get a private IP address from your router via DHCP protocol.

    There are few ways to find out private ip address assigned to your computer network adapter and public ip address assigned to your router. In this tutorial i will explain easiest way to find out both private and public ip addresses assigned to your computer and router.


    What is my Private IP Address
    Follow below steps to find out private ip address assign to your computer network adapter.


    1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows 8, 8.1 and Windows 10 simply hold down the
    Powershell script to update ttl for a records having more than 1 IP address BxVxp04.png
    + X keys and select the option “Command Prompt (Admin)” from the menu.


    Powershell script to update ttl for a records having more than 1 IP address rS4b5c0.jpg


    2. Enter following command within Command Prompt:

    Code:
    Powershell script to update ttl for a records having more than 1 IP address 93HzIkG.jpg


    Above commands will reveal your private ip address that is assigned to your computer network adapter.
    The ipconfig command by default displays only the IP address, subnet mask and default gateway for each adapter bound to TCP/IP. My private ip address displayed as 192.168.1.21, which is assigned to my wireless network adapter named "WIFI 2".

    Private networks can use IP addresses anywhere in the following ranges:


    • 192.168.0.0 - 192.168.255.255 (65,536 IP addresses)
    • 172.16.0.0 - 172.31.255.255 (1,048,576 IP addresses)
    • 10.0.0.0 - 10.255.255.255 (16,777,216 IP addresses)




    What is my Public IP Address
    Follow below steps to find out public ip address assign to your router.

    1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows 8, 8.1 and Windows 10 simply hold down the
    Powershell script to update ttl for a records having more than 1 IP address BxVxp04.png
    + X keys and select the option “Command Prompt (Admin)” from the menu.


    Powershell script to update ttl for a records having more than 1 IP address rS4b5c0.jpg


    2. Type following command and press Enter key:

    Code:
    3. Type following powershell commands one at time and for each command press Enter key.

    Code:
    Code:
    Powershell script to update ttl for a records having more than 1 IP address e4VzuyD.jpg


    Above commands will display your public ip address assigned to your router. My public ip address assigned to my home router is 82.222.135.228.

    The "Nslookup" command-line can also be use to display your router public ip address. Follow bellow steps to find out public ip address assigned to your router.

    1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows 8, 8.1 and Windows 10 simply hold down the
    Powershell script to update ttl for a records having more than 1 IP address BxVxp04.png
    + X keys and select the option “Command Prompt (Admin)” from the menu.


    Powershell script to update ttl for a records having more than 1 IP address rS4b5c0.jpg


    2. Type following command and press Enter key:

    Code:
    Powershell script to update ttl for a records having more than 1 IP address o9rHcof.jpg


    The public ip address will be displayed after the "Non-authoritative answer:" entire.
     
    FreeBooter, Jan 23, 2022
    #2
  3. Finding IP address

    Hello,

    Thank you for writing to Microsoft Community Forums.

    I suggest you to follow the steps mentioned below to find printer’s IP address:

    1. Type Devices and Printers in the Windows search bar.
    2. Select on the printer and click on
      Manage.
    3. Click on the Ports tab.
      You will be able to find printer’s IP address under the ‘Ports’ tab.

    Few printers also have a “Test print” option on the printer. When you print a test page from network printer, the page shows the IP address along with other details.

    Note: If it is set on DHCP mode the IP address will constantly change.
    The IP address is assigned automatically by your router using a protocol called DHCP.

    Hope it helps.

    Sandeep Kumar M

    Microsoft Community – Moderator
     
    Sandeep_KM, Jan 23, 2022
    #3
  4. Powershell script to update ttl for a records having more than 1 IP address

    Using Multiple IP Addresses in a Domain Network

    I added an alternate IP address on the same network adapter and used this script to tell the alternate IP address that it is not the primary.

    PS C:\WINDOWS\system32> Set-NetIPAddress 30.30.30.1 -SkipAsSource $true

    PS C:\WINDOWS\system32> ping 30.30.30.1

    Pinging 30.30.30.1 with 32 bytes of data:

    Reply from 30.30.30.1: bytes=32 time<1ms TTL=128

    Reply from 30.30.30.1: bytes=32 time<1ms TTL=128

    Reply from 30.30.30.1: bytes=32 time<1ms TTL=128

    Reply from 30.30.30.1: bytes=32 time<1ms TTL=128

    This solution works fine on the same network adapter as it has the working and routable IP address.

    This script will not work on a separate NIC; if it's added to the separate NIC, then the IP is disabled and has no routable address (General Failure), so I understand the fault now.

    On my separate networks (network adapter A and network adapter B) I will add
    mydomain.local
    to network adapter A's DNS suffix for this connection.
     
    Gamelounge78, Jan 23, 2022
    #4
Thema:

Powershell script to update ttl for a records having more than 1 IP address

Loading...
  1. Powershell script to update ttl for a records having more than 1 IP address - Similar Threads - Powershell script update

  2. Should I see more than 1 IPA address?

    in Windows 10 Gaming
    Should I see more than 1 IPA address?: Should I see more than 1 IPA address? https://answers.microsoft.com/en-us/windows/forum/all/should-i-see-more-than-1-ipa-address/cb6d208e-230f-4cb3-b4a2-d8c69aeeb3c2
  3. Should I see more than 1 IPA address?

    in Windows 10 Software and Apps
    Should I see more than 1 IPA address?: Should I see more than 1 IPA address? https://answers.microsoft.com/en-us/windows/forum/all/should-i-see-more-than-1-ipa-address/cb6d208e-230f-4cb3-b4a2-d8c69aeeb3c2
  4. Can I have more than one Windows license linked to 1 email address?

    in Windows 10 Gaming
    Can I have more than one Windows license linked to 1 email address?: Is it possible to have more than 1 digital license linked with the same e-mail or microsoft accout?Also how about the product keys 25 characters, can I activate more than 1 license of Windows in different devices and later linked them all with 1 e-mail or microsoft account?...
  5. Can I have more than one Windows license linked to 1 email address?

    in Windows 10 Software and Apps
    Can I have more than one Windows license linked to 1 email address?: Is it possible to have more than 1 digital license linked with the same e-mail or microsoft accout?Also how about the product keys 25 characters, can I activate more than 1 license of Windows in different devices and later linked them all with 1 e-mail or microsoft account?...
  6. Can I have more than one Windows license linked to 1 email address?

    in Windows 10 Customization
    Can I have more than one Windows license linked to 1 email address?: Is it possible to have more than 1 digital license linked with the same e-mail or microsoft accout?Also how about the product keys 25 characters, can I activate more than 1 license of Windows in different devices and later linked them all with 1 e-mail or microsoft account?...
  7. Powershell script to update ttl for a records having more than 1 IP address

    in Windows 10 Software and Apps
    Powershell script to update ttl for a records having more than 1 IP address: Hi,I'm referring to the below article from MS. However, the ttl values do not update as expected even after using the same commands as per this article:https://docs.microsoft.com/en-us/powershell/module/dnsserver/set-dnsserverresourcerecord?view=windowsserver2022-psFew...
  8. Can't delay Updates more than 1 month.

    in Windows 10 Installation and Upgrade
    Can't delay Updates more than 1 month.: Hello, I have Windows 10 Pro, and last update I did, was on 17th February. Problem is; since that 17th February, I can't delay updates more than 24th March. This is barely a little more than 30 days. It should be at least 90 days, and I know that with Pro version you could...
  9. More than 1 sign in

    in Windows Hello & Lockscreen
    More than 1 sign in: I have windows 10. I have had only one microsoft account that is an auto sign in and I don't remember what the old password was. Now I have a another account that I want to be separate from the first one. When signing in, there is the date and time page; then there is the...
  10. app that can record ip address

    in Windows 10 Network and Sharing
    app that can record ip address: app that can record ip address? site/software/app that can tell you what your ip address is every hour or something so you can know when it changes 146690