Skip to content

new pi-hole server v6 results in 404 error #5113

Open
@xorinzor

Description

@xorinzor

What happened: external-dns started reporting a 404 error.

time="2025-02-21T11:11:49Z" level=debug msg="Fetching new token from https://<pi-hole-server-address>/admin/index.php?login"
time="2025-02-21T11:11:49Z" level=fatal msg="received non-200 status code from request: 404 Not Found"

What you expected to happen:
A non-error

How to reproduce it (as minimally and precisely as possible):
Use pi-hole docker image 2025.02.0 or higher

Anything else we need to know?:
Started happening since (I think) my pi-hole server got updated to docker tag 2025.02.0. Which now is based on the new pi-hole server v6.

It appears that pi-hole now uses the endpoint /api/auth for authentication instead: https://docs.pi-hole.net/api/auth/

Environment:

  • External-DNS version (use external-dns --version): helm chart 1.15.2 reports image registry.k8s.io/external-dns/external-dns:v0.15.1
  • DNS provider: pi-hole
  • Others: pi-hole docker image 2025.02.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions