[Dnsmasq-discuss] issue when combined using addn-hosts= and nftset=

sam floatinsky at 126.com
Wed Aug 21 02:12:42 UTC 2024


Hello,

I have settings with both addn-hosts= and nftset=, and hoping hosts in addn-hosts will be added to nft set.

Here is my configs




# /etc/dnsmasq/dnsmasq.conf

nftset=/myems-test.com/4#ip#test#vpn4




# /etc/dnsmasq/dnsmasq.d/domain_address.conf

addn-hosts=/etc/dnsmasq/dnsmasq.d/domain_address




# /etc/dnsmasq/dnsmasq.d/domain_address

192.168.4.200 myems-test.com




but the ip address 192.168.4.200 was not be added to nft set,  it seems the logics to handle the nftset were bypassed for local answer.

my question is why can't handle nftset/ipset for local answer and is it a behavior by designed? if so then what is the reason behind it.




Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20240821/cfbc76a9/attachment.htm>


More information about the Dnsmasq-discuss mailing list