G
G
GiGaBy2014-12-04 14:11:37
Domain Name System
GiGaBy, 2014-12-04 14:11:37

How to specify the DNS suffix of a pptp client on Mikrotik?

In general, I created a client pptp connection to the vpn of the enterprise on the router, turned on nat on the interface, set up routes, it all works well, everything is available by ip address. However, there is no access to DNS names, and I just can’t figure out how to specify the dns suffix in the router, when creating a connection on a computer, in Windows the suffix is ​​written automatically and everything works fine.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Armenian Radio, 2014-12-04
@gbg

Does the router have DNS?
If yes, and if it is bind, you need to add a zone of type forwarding (redirection), where you specify the enterprise dns as the target dns. In /etc/named.conf add:

zone "kontora.local" in {
        type forward;
        forwarders {IP_КОРПОРАТИВНОГО_ДНС;};
        forward only;
};

G
GiGaBy, 2014-12-05
@GiGaBy

The fact is that on mikrotik only caching DNS and this will not work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question