-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DNS settings #46
Comments
It may be more appropriate to add another field and merge them later in the client configuration Client DNS Servers |
with macos client it also work |
@h44z do you know if wireguard it self on client allows domains like that? this feature is definitely something i would need at my work so we can route internal hostnames. |
@zyxep Yes it's not wg-portal feature. This is undocumented feature wireguard client configuration itself. Just add you desired search domains to client config DNS line as shown up. That work with win, linux, macos |
Great, makes sense that h44z has added it f or enhancement and for v2, so the settings are generated for client configs to download. I tried the settings on my mac but didn't seem to do any changes on my M1 laptop. |
@zyxep |
it is, and i can connect to our internal hostnames if i write the FQDN :) |
ok. I see on my intel mac /etc/resolv.conf |
Thanks for sharing! There was not native app for M1 macos, so it's might be a problem to run this thru amd64/x86 emulation. But i confirm that its was working on intel's macos at least with Catalina and Wireguard App version: 1.0.15 (26) |
I've just tested it on my old macbook pro 13".. /etc/resolv.conf in Big Sur is not getting updated. But i couldn't ping internal company hostnames.. little bit weird. |
My config file look like: PrivateKey = ...= DNS = 192.168.1.100, 192.168.1.101, myinternaldomain.home [Peer] I think you need import changed config to wireguard after manual update DNS line |
@zyxep |
Initial alpha codebase for version 2 of WireGuard Portal. This version is considered unstable and incomplete (for example, no public REST API)! Use with care! Fixes/Implements the following issues: - OAuth support #154, #1 - New Web UI with internationalisation support #98, #107, #89, #62 - Postgres Support #49 - Improved Email handling #47, #119 - DNS Search Domain support #46 - Bugfixes #94, #48 --------- Co-authored-by: Fabian Wechselberger <wechselbergerf@hotmail.com>
v2 now support setting search domains |
Is it possible to allow strings in client DNS conf. That is important because it allows to use DNS search domain option.
DNS = 192.168.1.100, 192.168.1.101, 192.168.1.104
MTU = 1450
to use like
DNS = 192.168.1.100, 192.168.1.101, 192.168.1.104, mydomain.com
MTU = 1450
At least its working with windows wireguard client
The text was updated successfully, but these errors were encountered: