On 09.11.21 22:10, Jerry Xiao wrote:
I have 30k+ lines of rules like "server=/somehost.tld/#" in my config.

holy sh...!

What I need is to use the dhcp assigned dns server for those 30k+
domains and forward the others to 1.1.1.1.

define 1.1.1.1 as default, so everything will be forwarded to 1.1.1.1

forward all those 30k+ domains to DHCP assigned server.

server=/somehost.tld/192.168.1.1
server=/google.com/192.168.1.1

so all those domains will be forwarded there.

This is not possible with your config.

it is not possible with _your_ config.

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Microsoft dick is soft to do no harm

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to