Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
How to configure Dnsmasq to AdGuard upstream?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to configure Dnsmasq to AdGuard upstream? (Read 1202 times)
DannyK
Newbie
Posts: 6
Karma: 0
How to configure Dnsmasq to AdGuard upstream?
«
on:
April 26, 2024, 03:54:50 pm »
Hello guys,
i am trying to set up AdGuard plugin to cooperate with Dnsmasq, but cant get it working properly.
Right now i have Dnsmasq as main DNS on port 53. In General settings i have set DNS server to 1.1.1.1 and 8.8.8.8.
AdGuard runs also on OPNsense machine on port 5353.
Problem is, i am not able to achieve some kind of configuration so Dnsmasq upstreams request via AdGuard.
Either i am not able to set port in General settings DNS server like 192.168.1.1:5353 (it wont let me specify port), or when i am trying to set Domain override to empty/#/* domain, then with IP and port to AdGuard, then again i am getting invalid domain validation.
So, is there some way how to properly configure Dnsmasq to upstream to AdGuard on same host in OPNsense? Even through some kind manual config editation?
Thanks for help.
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: How to configure Dnsmasq to AdGuard upstream?
«
Reply #1 on:
April 26, 2024, 04:05:20 pm »
Since AdGuard Home always needs an upstream resolver, why not have AGH forward to DNSmasq?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
DannyK
Newbie
Posts: 6
Karma: 0
Re: How to configure Dnsmasq to AdGuard upstream?
«
Reply #2 on:
April 26, 2024, 04:49:43 pm »
I have been thinking about this as well, only thing is that i have set a lot of host overrides in Dnsmasq already that i would have to migrate, but i am not sure if AdGuard supports host override of domainless type (like only
https://opnsense
) as i had several issues before to get it working properly.
Logged
Patrick M. Hausen
Hero Member
Posts: 6812
Karma: 572
Re: How to configure Dnsmasq to AdGuard upstream?
«
Reply #3 on:
April 26, 2024, 07:03:41 pm »
Why? Any request AGH does not have cached it would forward to DNSmasq which would serve the request according to your host overrides. AGH is not authoritative for any domain. It forwards
everything
.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
DannyK
Newbie
Posts: 6
Karma: 0
Re: How to configure Dnsmasq to AdGuard upstream?
«
Reply #4 on:
April 26, 2024, 08:34:22 pm »
You are right, realized it right after i answered before.
Maybe i will go that way or i will move to AdGuard entirely and disable Dnsmasq.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
How to configure Dnsmasq to AdGuard upstream?