Updating Dnssuffix in AOVPN xml

Mahesh Aralelemath 386 Reputation points
2020-09-08T17:37:10.74+00:00

Hi Team

We wanted to update multiple DNS names in AOVPN profile xml file to include in DNS Suffix but could not find any reference.

We are trying with below currently but its not working
<Dnssuffix>corp.contoso.com,sales.Contoso.com</Dnssuffix>

Could any one pls suggest on this...should we try using as same as powershell syntax as mentioned in this article?
https://learn.microsoft.com/en-us/powershell/module/vpnclient/set-vpnconnectiontriggerdnsconfiguration?view=win10-ps

Regards
Mahesh

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,391 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,910 questions
Windows Server Infrastructure
Windows Server Infrastructure
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Infrastructure: A Microsoft solution area focused on providing organizations with a cloud solution that supports their real-world needs and meets evolving regulatory requirements.
516 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Candy Luo 12,661 Reputation points Microsoft Vendor
    2020-09-09T07:26:10.153+00:00

    Hi ,

    Could any one pls suggest on this...should we try using as same as powershell syntax as mentioned in this article?

    https://learn.microsoft.com/en-us/powershell/module/vpnclient/set-vpnconnectiontriggerdnsconfiguration?view=win10-ps

    As far as I know, this command is used to configure DNS trigger instead of suffix list. If you want to configure DNS suffix list, please use the following PowerShell cmdlet:

    Set-DnsClientGlobalSetting -SuffixSearchList @("corp.contoso.com", "na.corp.contoso.com")  
    

    For more details about this powershell command, please refer to the following article:

    https://learn.microsoft.com/en-us/powershell/module/dnsclient/set-dnsclientglobalsetting?view=win10-ps

    Best Regards,

    Candy


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our [documentation][1] to enable e-mail notifications if you want to receive the related email notification for this thread.