* fix: explicitly specify ipv4 addresses
This change fixes the AdGuard Home generation script by disabling the return of ipv6 addresses. This would have been causing issues for users who are running dual stack with the addresses that accept both ipv4 and ipv6 traffic.
* fix: explicitly block returning on ipv6 queries
This change addresses some general housecleaning for CDN hosts:
* Removing all hosts that do not resolve
* Only including the Steam CDN trigger address
This change addresses some general housecleaning for CDN hosts:
* Removing all hosts that do not resolve
* Removing any rogue whitespaces in CDN `.txt` files
* Removing hirez CDN (as the only host could not be resolved)
[Dnsmasq version >= 2.86](https://thekelleys.org.uk/dnsmasq/CHANGELOG) supports passing multiple IP addresses via the `address=` syntax now.
>Major rewrite of the DNS server and domain handling code. The change makes multiple addresses associated with a domain work address=/example.com/1.2.3.4 address=/example.com/5.6.7.8.
This allows us to simplify the script and the `.hosts` file workaround is no longer necessary.
#149 introduced a minor regression which included duplicates for the Unbound generation script.
While this does not have a technical impact it may cause confusion for users, this PR will ignore duplicate entries.
While #140 added support for round-robin DNS the script needs a slight modification to ensure that wildcard domains are still added with the old method due to dnsmasq limitations.
This change will include all wildcard domains in the generated `lancache.conf` along with all the `addn-hosts=` entries.
This change is a continuation of #54, it modifies the output of the dnsmasq script to host file format which allows round robin DNS entries.
There is a caveat with round robin DNS entries in dnsmasq, they only supports a single address for wildcard domains, for example: *.cdn.blizzard.com.
If previously you had the generated .conf files dumped into a directory where dnsmasq automatically loaded on start-up, you will need to create config that loads all the host files, for example:
**lancache.conf**
```conf
addn-hosts=/etc/dnsmasq/conf.d/blizzard.hosts
addn-hosts=/etc/dnsmasq/conf.d/steam.hosts
addn-hosts=/etc/dnsmasq/conf.d/uplay.hosts
```
Closes#107.