I
I
Ivan Semenov2019-10-04 12:34:32
Domain Name System
Ivan Semenov, 2019-10-04 12:34:32

How to set up ping by short name through vpn?

Good afternoon!
While vpn is not connected, ping to the server by the short name passes, nslookup works, there is access to network resources. As soon as a person connects vpn (mpd5), then the ping to the server disappears, as well as access to network resources.
On the computer at the main connection, dhcp issues a dns suffix, but the connection on the vpn does not have a suffix.
Tell me where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2019-10-04
@vitaly_il1

As far as I understand, the problem you have is not only in DNS, but I will limit myself to DNS.
Linux resolv.conf contains DNS server(s) and parameters.
Among the parameters, you can specify domain and search, which allow you to search for "short" hostnames.
Example:
resolv.conf:
domain example.com
host test - will return the address for test.example.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question