Skip to main content
Question

VPN.DNS

  • April 1, 2020
  • 1 reply
  • 9 views

Forum|alt.badge.img+4

Hi Guys

We set up a new VPN infrastructure using IKEV2 and provision profiles (ad cert and vpn config) using JAMF.

Now when the provide these profiles the DNS and search domains are still empty. Is there a way to provide these as well, or script it. I tried using networksetup -listallhardwareports and then add dns and seach domains like this, but the vpn connection does not in the results.

Is it a possibilty I download the profiles, add keys I get from https://developer.apple.com/documentation/devicemanagement/vpn/dns
and upload it to jamf again?

1 reply

Forum|alt.badge.img+1
  • New Contributor
  • May 25, 2021

Did you figure out how to add search domain in the mobilconfig file? I have the same problem for l2tp vpn I want to include search domains