Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Virtual private networks
»
[Moved] Dnsmasq wildcard dns based routing woes
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Moved] Dnsmasq wildcard dns based routing woes (Read 373 times)
REB00T
Newbie
Posts: 35
Karma: 1
[Moved] Dnsmasq wildcard dns based routing woes
«
on:
September 01, 2024, 03:36:39 am »
I have configured dnsmasq via a custom .conf file to resolve certain domains using a specified server using the `server` directive and to also add the results in an already configured alias of type external via the `ipset` directive. The problem I am facing is that while the first connection will **not** match the rule configured with said ipset as the destination, after resetting the states (or waiting for them to expire, as long as the DNS response's ttl is higher than the connection timeout) the rule will match. It seems to me like dnsmasq is responding with the result before actually appending said result to the configured ipset. Is this intended behaviour or should these actions be happening the other way around? If it is intended behaviour, does anyone have any ideas on how to work around this?
I should note that this especially becomes a problem with very low ttl values as the response after each connection expiry is different.
Edit: Moved to Release as it doesn't explicitly concern VPNs
«
Last Edit: September 10, 2024, 11:20:16 am by REB00T
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Virtual private networks
»
[Moved] Dnsmasq wildcard dns based routing woes