> Try
> address=/baddomain.*/#
root@router# cat /etc/dnsmasq.conf | grep test
address=/test.*/#
root@router# dnsmasq --test
dnsmasq: syntax check OK
saved and restarted dnsmasq (clearing its cache). As you can see from
the 5 tests here below the syntax appears not to be operational
1)
root@router# nslookup test.com
nslookup: can't resolve 'test.com'
2)
root@router# nslookup test.org
nslookup: can't resolve 'test.org'
3)
root@router# nslookup test.info
Name: test.info
Address 1: 2a06:98c1:3121::3
Address 2: 104.21.22.51
Address 3: 172.67.202.242
4)
root@router# nslookup test.co.uk
Name: test.co.uk
Address 1: 165.160.13.20
Address 2: 165.160.15.20
5)
root@router# nslookup test.fr
Name: test.fr
Address 1: 185.235.147.199 coronavirus.test.fr
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss