VPN.DNS

arnokenis
New Contributor III

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 1

cjavallas
New Contributor

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