[Dnsmasq-discuss] Allow wildcard matching for TLD given a fixed 2nd level domain
Ercolino de Spiacico
bellocarico at hotmail.com
Sun Feb 6 06:04:23 UTC 2022
> Try
> address=/baddomain.*/#
root at router# cat /etc/dnsmasq.conf | grep test
address=/test.*/#
root at 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 at router# nslookup test.com
nslookup: can't resolve 'test.com'
2)
root at router# nslookup test.org
nslookup: can't resolve 'test.org'
3)
root at 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 at router# nslookup test.co.uk
Name: test.co.uk
Address 1: 165.160.13.20
Address 2: 165.160.15.20
5)
root at router# nslookup test.fr
Name: test.fr
Address 1: 185.235.147.199 coronavirus.test.fr
More information about the Dnsmasq-discuss
mailing list