当我在 VPN 下工作时,我可以 ping 服务器并解析 IP 地址
ping someserver.com
如果我在浏览器中输入 someserver.com,它会显示“无法建立连接”。我在不同环境中尝试了相同的场景 - 一切正常。我的环境可能出了什么问题?DNS 名称可能出了问题吗?对于 VPN,我使用 PulseSecure
一些输出
cat /etc/resolv.conf
search consumer.org crinfra.net consumerreports.org
nameserver 10.22.2.14
nameserver 10.22.2.13
cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
nslookup jira.consumer.org
Server: 10.22.2.14
Address: 10.22.2.14#53
jira.consumer.org canonical name = 2oqes.x.incapdns.net.
Name: 2oqes.x.incapdns.net
Address: 199.83.128.65