Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Having problems understand/implementing LOCAL DNS.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Having problems understand/implementing LOCAL DNS. (Read 559 times)
fbeye
Full Member
Posts: 124
Karma: 1
Having problems understand/implementing LOCAL DNS.
«
on:
March 29, 2023, 03:05:11 am »
Hello!
So I have latest OPNSense, Aguard (plugin) and Unbound DNS all enabled and works like a charm.
What I am trying to set up though is LOCAL DNS.
When I was using PiHole +Swag, my LOCAL DNS would work fine, if the internet went down I could still connect (so I know it was working correctly) but I notice that ALL my SWAG .confs are available via Internet, so I wanted to REMOVE SWAG and just make my hosts available LOCALLY ONLY for when I connect through VPN (via Wireguard plugin).
I guess I am confused... The Adguard Plugin / page config... Would I do this via DNS REWRITE? Or would it be on Opnsense under Unbound DNS?
I did some on DNS REWRITE and it seemed to not work.... When I was using Pihole/SWAG I would have x.duckdns.org to 192.168.5.181 and SWAG would Port redirect... Am I still needing SWAG? I mean, how would Adguard know what Port I wanted?
Sorry I know this sounds ignorant.. I really have been trying to google.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Having problems understand/implementing LOCAL DNS.