Question about DNS
Hey, I was setting up a DNS server for private use.
My question is if anybody knows how to use the DNS trough a vpn that is installed on another device on the network the DNS is in.
Thanks in advance
7 Replies
@BurningPho3nix given that your vpn server is on the same network and connected clients may reach the dns server just set the dns server of the client to your dns?
I tried and it doesn't work
are you able to ping your dns server from the client
from the internal one, yes
the one connected over vpn, no
what type of vpn are you using?
wireguard
and now and then tailscale
ok could you please provide more information on what the actual problem is. I understand that the ultimate goal is to have your vpn clients use your internal dns but what exactly is not working. You said you were using Wireguard or Tailscale but which one are we talking about in this situation? Is your vpn already working in other situations? Does it expose the whole subnet the dns is part of? Are clients already allowed to and can reach said subnet? Could you share your configs (with sensible information redacted ofc)? If you want me to take a look at your live system you can also dm me.