Local Network Gateway FQDN error

Steven McKenzie 6 Reputation points
2023-04-19T04:50:20.61+00:00

Doesn't matter what FQDN address i put in it keeps saying: The specified FQDN is not valid. Even though it is.

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,786 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
{count} vote

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 49,536 Reputation points Microsoft Employee Moderator
    2023-04-19T05:15:39.0133333+00:00

    @Steven McKenzie

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well. I was able to repo your issue and this looks like a Portal Validation issue.

    I shall check this internally about this behavior.

    Meanwhile, you can use Azure Powershell to create/update the LNG

    To create a new LNG with FQDN,

    • New-AzLocalNetworkGateway
    • New-AzLocalNetworkGateway -Name <Name of LNG> -ResourceGroupName <RG Name> -Location <Location String> -FQDN <FQDN String> -AddressPrefix <Address Range String>
    • E.g. New-AzLocalNetworkGateway -Name "lngTest" -ResourceGroupName lngRg -Location "East US" -FQDN "www.google.com" -AddressPrefix "10.5.51.0/24"

    To update a LNG,

    • You simply have to overwrite the LNG with the same command
    • Modify LNG
    • E.g. New-AzLocalNetworkGateway -Name "lngTest" -ResourceGroupName lngRg -Location "East US" -FQDN "www.bing.com" -AddressPrefix "10.5.51.0/24"

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.


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.