Pi-Hole Configuration

Hi everybody,

I’ve got troubles with the Pi-Hole add-on…
I don’t understund some settings because I have errors:

nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address in use)
nginx: [emerg] still could not bind()

My settings are:

{
  "log_level": "info",
  "password": "XXXXX",
  "update_lists_on_start": false,
  "http_port": 80,
  "https_port": 443,
  "dns_port": 53,
  "ssl": false,
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem",
  "interface": "eth0",
  "ipv6": false,
  "ipv4_address": "",
  "ipv6_address": "",
  "virtual_host": "",
  "hosts": []
}

I don’t know I should write as settings… Could you help me please ?

Thank you !

The error is pretty clear on this subject. Port 80 is already in use by another thing.
So choose a different port in the Hass.io panel for this add-on (or the add-on using port 80 at this moment).

Ok,

I understand… I tried with the port 81, and I’ have no error any more.
Nevertheless, I always have advertisements in the websites !

Does it a problem to have nginx ?

Thank you !!

Have you updated your clients to use pihole as the DNS server? I’ve also found that after I make changes on pihole, I often have to renew my network connection to pick everything up fresh.

I’m afraid I don’t know how to do… :flushed:

Go to your router interface and look for “DNS” (Might be near DHCP). Typically you can set two DNS server IP’s on your router. When clients connect via DHCP it tells the clients to use those DNS servers.

I’ve set my hassio as the main and OpenDNS as backup(If the Pi dies etc), works great for me.