The OVPN client connects to the server by a public DNS name of the server(i.e pubName.my.router), instead of an ip since the ip of the server is dynamic.
Can I(and how to) add a local entry of the server(i.e privateName.in.vpn) to the resolver of the client?
Because OpenVPN would resolve and cache the ip of the pubName.my.router before it starts connecting, I believe that the local entry added later will not disturb the traffic of OVPN self.
Basically, I think I have three questions:
- I'm prefer to do in a manner come with OVPN, if any(But I didn't found).
- If it can not be done with OVPN, how to add such an entry into my local resolver?
- What is the kind of the resolver of my Kubuntu box by default(So I can search more documents)?