Add option to skip static localhost entries in the final hosts file.
authorIndrajit Raychaudhuri <redacted>
Tue, 19 Apr 2016 19:42:59 +0000 (14:42 -0500)
committerIndrajit Raychaudhuri <redacted>
Tue, 19 Apr 2016 19:44:39 +0000 (14:44 -0500)
commit8c089ff0efae75486cf523d17e400f67440ff8dc
tree83b770d1188645ca9a818c1ebfea3bda5578ca39
parent0a59e9147a8e568a710ae6721b2c13a8b7a92665
Add option to skip static localhost entries in the final hosts file.

This is particularly handy when you want to add the generated hosts file
as additional static 'hosts' file in DNS servers without affecting the default
`/etc/hosts`.

For example, `--addn-hosts=<file>` in dnsmasq [1] can be used exactly for this
purpose.

[1] http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
updateHostsFile.py
git clone https://git.99rst.org/PROJECT