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?