Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Dnsmasq IPset behaviour
« previous
next »
Print
Pages: [
1
]
Author
Topic: Dnsmasq IPset behaviour (Read 192 times)
REB00T
Newbie
Posts: 35
Karma: 1
Dnsmasq IPset behaviour
«
on:
September 10, 2024, 11:21:38 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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
Dnsmasq IPset behaviour