OpenVPN DNS Settings getting Removed on changing Proxy Settings/ DNS Settings on any Adapter on System
Posted: Wed Jan 05, 2022 4:51 pm
The DNS Config that is pushed by the Access Server to the OpenVPN Mac Client gets deleted when I apply any DNS/ Proxy settings on System
I connected the OpenVPn Client and this is the value of the OpenVPN DNS Dcitionary in scutil
Now if I either append one DNS Server in the DNS Settings of my Wifi or Change Proxy Settings (like I applied new pac file in Automatic proxy Configuration) then if u check openVPN dictionary again. You will see the Access Server Pushed DNS Server and DNS Suffix is removed.
Below is the output when I added 3.3.3.3 in my system DNS. Same issue happens on changing proxy settings as well
I connected the OpenVPn Client and this is the value of the OpenVPN DNS Dcitionary in scutil
Code: Select all
> show State:/Network/Service/OpenVPNConnect/Info
<dictionary> {
PrimaryService : 6788E5E1-1D47-40EC-A0A8-314E9FF0AEC2
}
>
>
> show Setup:/Network/Service/6788E5E1-1D47-40EC-A0A8-314E9FF0AEC2/DNS
<dictionary> {
OpenVPNConnectOrigSearchDomains : OpenVPNConnectDeleteValue
OpenVPNConnectOrigSearchOrder : OpenVPNConnectDeleteValue
OpenVPNConnectOrigServerAddresses : <array> {
0 : 8.8.8.8
}
SearchDomains : <array> {
0 : corp.zscaler.com
}
SearchOrder : 5000
ServerAddresses : <array> {
0 : 1.1.1.1
1 : 8.8.4.4
}
}
Below is the output when I added 3.3.3.3 in my system DNS. Same issue happens on changing proxy settings as well
Code: Select all
> show Setup:/Network/Service/6788E5E1-1D47-40EC-A0A8-314E9FF0AEC2/DNS
<dictionary> {
ServerAddresses : <array> {
0 : 8.8.8.8
1 : 3.3.3.3
}
}