[Dnsmasq-discuss] Force host->ip via external script

Clodo clodo at clodo.it
Sat Mar 7 13:03:48 GMT 2015


I have a very big and very dynamic list of domain->ip force, and using
'address' option of dnsmasq.conf or updating an hosts file every time
isn't a good solution.

It's possible to execute a bash script for custom resolution?

It seem that PowerDNS have this kind of feature:
https://doc.powerdns.com/md/authoritative/backend-pipe/



It's possible out-of-the-box with dnsmasq?

Otherwise if i found the point in dnsmasq sources where the 'address'
option are checked, i can insert in that point a shell to a bash script
for my 'custom resolution'. But i need help on that, i don't understand
so well the sources.

Thanks for any feedback.







More information about the Dnsmasq-discuss mailing list