Pi-Hole edits /etc/hosts?

Nothing broken, but weird…

admin@arkadi:~$ cat /etc/hosts       localhost       MiWiFi-R3-srv.yunohost.org      MiWiFi-R3-srv

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters    arkadi.one #Added by pihole#    blog.arkadi.one #Added by pihole#    searx.arkadi.one #Added by pihole#

I’m wondering why Pihole is editing Hosts file. Also, that IP is invalid. I checked in all settings of Pihole and I’m not sure where it’s still getting that information.

Anybody have any insight into this?

It’s doing it here : https://github.com/YunoHost-Apps/pihole_ynh/blob/master/scripts/install#L274

But don’t know why it has to …

1 Like

Thanks. So strange.

I guess that’s why it still has that IP. That was the first IP I had for this box when I first installed Yunohost ages ago.