Подключение к VPN осуществляется нормально, и некоторые сайты разрешаются нормально.
Но для некоторых URL-адресов я не могу подключиться или проверить адрес .
Если я попрошу коллегу выполнить nslookup и отправить мне IP-адрес, я все равно не смогу пропинговать этот адрес.
Однако, если я добавлю IP-адрес и базовый URL-адрес в свой /etc/hosts< /code> он работает нормально.
Я проверил, что он не заблокирован selinux, моим брандмауэром или iptables.
Я пытаюсь понять, что происходит, IP-адрес, скорее всего, изменится, поэтому я бы не хотел, чтобы он полагаться на статический IP-адрес в файле /etc/hosts
Код: Выделить всё
> cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
123.456.789.0 work-db.com
Код: Выделить всё
> cat /etc/resolv.conf
nameserver 127.0.0.53
options edns0 trust-ad
search .
Код: Выделить всё
> iptables -L -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Код: Выделить всё
> nslookup work-db.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Name: work-db.com
Address: 123.456.789.0
Код: Выделить всё
> nslookup work-db.com
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; communications error to 127.0.0.53#53: timed out
;; no servers could be reached
Подробнее здесь: https://stackoverflow.com/questions/786 ... -resolving
Мобильная версия