Skip to content

ScriptTiger/Hosts-Conversions

Repository files navigation

Say Thanks!

Hosts Conversions

Drag and drop a hosts file to convert it.

Compressed:
Compresses a hosts file to 9 domains per line.

DNSmasq:
Converts a hosts file to dnsmasq format.

DualServer:
Converts a hosts file to DualServer format to be inserted directly into the [DNS_HOSTS] section or called on as a separate file using @file.

FQDN:
Converts a hosts file to a simple fully qualified domain name list.

IPv6:
Converts a hosts file to support IPv4 and IPv6 blackhole addresses.

IPv6_Compressed:
Converts a hosts file to support IPv4 and IPv6 blackhole addresses, written in compressed format with 9 domains per line.

Privoxy:
Converts a hosts file to Privoxy action file format to be used with a Privoxy action file, i.e. using something like {+block{Steven Black blacklist.}}.

RPZ:
Converts a hosts file to DNS RPZ format to be inserted into a zone file.

Reduced_FQDN:
Converts a hosts file to a simple fully qualified domain name list and prunes all subdomains.

Unbound:
Converts a hosts file to Unbound format.

You can download this repo from the below link to get started:
https://github.com/ScriptTiger/Hosts-Conversions/archive/master.zip

For more ScriptTiger scripts and goodies, check out ScriptTiger's GitHub Pages website:
https://scripttiger.github.io/

Donate