Run Plugins Before Forwarding
Question asked by D Jenson - December 25, 2015 at 11:46 PM
I would like to configure Simple DNS Plus to do the following:
1) For any domain matching in a HOSTS file, resolve to that IP
2) For all other domains, forward to a specific DNS server
My intent on my home network is use the MVPS HOSTS file which has a ton of hosts used for ad services. Those hosts shall be blocked. Then any other unresolved host is then forwarded to a family-safe DNS server I specify.
To attempt to accomplish that I setup a forward rule to forward all DNS requests to the family-safe DNS server. Then I use the HOSTS plugin to go to my MVPS HOSTS file.
Through experimenting, I found that the HOSTS file is completely ignored and all DNS requests are forwarded. I can only assume that plugins are not executed on forwarded DNS requests. If that is true I can only imagine if there was a plugin which forwarded requests, I could perhaps order it after the HOSTS plugin.
Is there a way to do what I want with Simple DNS Plus? I purchased it to perform this specific function.

1 Reply

Reply to Thread
Phil Lewis Replied
February 11, 2016 at 4:38 PM
How do you have your host file set up in the plug in?  I have hosts entries in a file that are read in, but other than my local domains everything else is forwarded.  The host entries are read ok.
How did you test your setup?

Reply to Thread