Hi,

On Wed, Nov 10, 2021 at 10:18:02PM +0000, lejeczek via Openvpn-users wrote:
> I have, I'd like to think a "regular" server setup where 
> clients from Windowze and Macs do get name resolution work 
> apparently very well, whereas Linux client - all clients do 
> use almost identical config - seems pretty broken.
> Linux client seems to take notice of what server pushes, 
> namely DNS server & domains but, really nothing comes out of it.
> It cannot be some limitation of Linuxes - I'm on latest 
> Fedora - I must be missing something and what that might be, 
> if you care to suggest, I'll appreciate.
> many thanks, L.

On Linux, OpenVPN does not modify the DNS servers itself (unlike Windows).

There's two ways to make it happen

 - use Network Manager to run OpenVPN - it will parse the server reply,
   and set up DNS accordingly

 - add an "up $script" to your client config to do the DNS setup - 
   we ship a sample script ("pull-resolv-conf") to do that, but I'm 
   not sure if Fedora integrates that, or uses something else - ask
   rpm what is in the openvpn package.

gert
-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to