You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When not connected to the VPN, I use the following nameserver to map hostnames to IP addresses:
$ dig ucsf.edu | grep SERVER
;; SERVER: 127.0.0.53#53(127.0.0.53) (UDP)
This is because:
$ cat /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).# Do not edit.
...
# See man:systemd-resolved.service(8) for details about the supported modes of# operation for /etc/resolv.conf.
nameserver 127.0.0.53
options edns0 trust-ad
search .
Connected to VPN
When connected to the VPN, I see:
$ dig ucsf.edu | grep SERVER
;; SERVER: 128.218.xxx.xxx#53(128.218.xxx.xxx) (UDP)
which is because:
#@VPNC_GENERATED@ -- this file is generated by vpnc# and will be overwritten by vpnc# as long as the above mark is intact# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).# Do not edit.
...
options edns0 trust-ad
nameserver 128.218.xxx.xxx
nameserver 128.218.xxx.xxx
search . ucsf.edu
Comment: I've masked the exact IP numbers.
The text was updated successfully, but these errors were encountered:
HenrikBengtsson
changed the title
NOTES: DNS without and with VPN
NOTES: DNS without and with VPN + how to preserve local behavior when connected
May 22, 2024
Disconnected from VPN
When not connected to the VPN, I use the following nameserver to map hostnames to IP addresses:
This is because:
Connected to VPN
When connected to the VPN, I see:
which is because:
Comment: I've masked the exact IP numbers.
The text was updated successfully, but these errors were encountered: