VPN Cisco IPSec更改DNS

问题描述 投票:-1回答:1

当我在macos(10.14.4)上建立连接vpn时,我的dns将会改变。与正常的WiFi连接:

# 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

与VPN连接:

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

我不想改变名称服务器。我想知道它为什么会改变以及如何解决?

macos dns vpn cisco ipsec
1个回答
-1
投票

它由思科设定,就像

username USER attributes
 vpn-group-policy POLICY

group-policy POLICY
 dns-server value 10.8.3.1

不确定你是否可以通过系统覆盖它 - >网络 - >你的-vpn - >选项 - > dns ..

© www.soinside.com 2019 - 2024. All rights reserved.