This plug-in serves host (A/AAAA) and reverse (PTR) DNS records from a standard hosts file.
This can be used as a very simple way to store and host DNS records, but more commoly this is used to block ads and malicious web-sites.
You can create your own hosts file, but there are also some very kind people on the Internet who maintain hosts files for various purposes and make these publicly available. For example http://hosts-file.net and http://pgl.yoyo.org/adservers
For more advanced web-site blocking, see also the Domain Blacklist plug-in and CYBERsitter plug-in.
To setup a new Hosts File plug-in instance; in the Simple DNS Plus options dialog / Plug-ins section, select the "Hosts File" component and click the "Create new instance..." button.
On the "Plug-In Settings" tab, enter the location of the hosts file, specify if the file should be re-loaded automatically when updated, and enter the TTL to be used:
You can use multiple hosts files by setting up multiple "Hosts File" plug-in instances.
Host file line example:
Defines an A-Record (example.com -> 188.8.131.52) and a PTR-record (184.108.40.206.in-addr.arpa -> example.com).
For more information, please see the following knowledge base article:
Article ID: 119, Created On: 2/18/2013, Modified: 2/18/2013