Blocklist does not accept IPv6 addresses

I updated to the latest pihole version and when got some error messages from gravity.

  [i] Analyzed 168834 domains, 15 domains invalid!
      Sample of invalid domains:
      - 0.0.0.0
      - broadcasthost
      - fe
      - ff

  [i] Target: https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Alternate%20versions%20Anti-Malware%20List/AntiMalwareHosts.txt
  [✓] Status: Retrieval successful
  [i] Analyzed 12696 domains, 2 domains invalid!
      Sample of invalid domains:
      - 2600:1f18:43d1:2a04:ee05:261e:d408:7ba1
      - 2a02:1668:1034::2

I do understand that single labels are not domains, but why are IPv6 addresses invalid? There are IPv4 addresses in the same file, which are excepted. And why would 0.0.0.0 be rejected?

IP addresses are never valid domains, regardless whether they are IPv4 or IPv6.
I'd expect any IP to be reported if it would appear as a domain.

The blocklist you are using is indeed sporting quite a few IP addresses as domains.
You are correct in pointing out that not all of them get reported.

The code for analysing domains during blocklist imports has seen some recent changes.
I'll forward this to development.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.