Home:ALL Converter>VPN Cisco IPSec change DNS

VPN Cisco IPSec change DNS

Ask Time:2019-04-02T22:42:25         Author:vaja sinauridze

Json Formatter

When I make connection vpn on macos (10.14.4) my dns will be change. with normal wifi connection:

# bash-3.2# cat /etc/resolv.conf
# macOS Notice
#
# This file is not consulted for DNS hostname resolution, address
# resolution, or the DNS query routing mechanism used by most
# processes on this system.
#
# To view the DNS configuration used by this system, use:
#   scutil --dns
#
# SEE ALSO
#   dns-sd(1), scutil(8)
#
# This file is automatically generated.
#
nameserver 8.8.8.8
nameserver 8.8.4.4

with vpn connection:

bash-3.2# cat /etc/resolv.conf
#
# macOS Notice
#
# This file is not consulted for DNS hostname resolution, address
# resolution, or the DNS query routing mechanism used by most
# processes on this system.
#
# To view the DNS configuration used by this system, use:
#   scutil --dns
#
# SEE ALSO
#   dns-sd(1), scutil(8)
#
# This file is automatically generated.
#
nameserver 10.80.3.1

I don't want change nameserver. I wonder why does it change and how to fix?

Author:vaja sinauridze,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/55477514/vpn-cisco-ipsec-change-dns
yy