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
erik.gh
erik.gh4w ago
@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?
BurningPho3nix
BurningPho3nixOP3w ago
I tried and it doesn't work
erik.gh
erik.gh3w ago
are you able to ping your dns server from the client
BurningPho3nix
BurningPho3nixOP3w ago
from the internal one, yes the one connected over vpn, no
erik.gh
erik.gh3w ago
what type of vpn are you using?
BurningPho3nix
BurningPho3nixOP3w ago
wireguard and now and then tailscale
erik.gh
erik.gh3w ago
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.

Did you find this page helpful?