[Dnsmasq-discuss] Behavior change of upstream servers set via DBus

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Nov 9 16:23:12 UTC 2021


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, uhlar at 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



More information about the Dnsmasq-discuss mailing list