Lokale Namensauflösung

Hey Leute

Hab folgendes Problem:

Wenn ich PI-Hole aufrufen möchte gibt es mehrere wege.

IP:
https://xx.xx.xx.xx/admin (Funktioniert)
Warum auch immer:
https://pi.hole/admin (Funktioniert)

Hostname:
https://pihole/admin (Funktioniert aber hat dann im Web GUI Fehler)

Fehler:
DataTables warning: table id=messagesTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

Domainname:
https://pihole.xxxxxx.xxx/admin (Funktioniert aber hat dann im Web GUI Fehler)

Fehler:
DataTables warning: table id=messagesTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

Eigentlich will ich das man das WebGUI nur über den Domainname oder die IP erreicht.

Außerdem würde ich gerne wissen warum er das pi.hole auflöst und ob man das ändern oder entfernen kann.

Die ganze SSl Geschichte spielt vorerst keine rolle.

Systeminfo:
Proxmox lastest
LXC Debian 11 x86_64

Hab PI-Hole schon Länger im Einsatz und soweit keine anderen Probleme.

Danke im Voraus für eure Antworten.

5 Zeilen sind einfach zu wenig um meine fehler zu beschreiben xD
Danke im Voraus für eure Antworten.

If I want to call PI-Hole there are several ways.

IP address:
https://xx.xx.xx.xx/admin (Works)
For whatever reason:
https://pi.hole/admin (Works)

Are you using https? Or http?

Pi-hole is not configured by default for SSL on the web admin page.

Bitte lade ein Debug Log hoch und poste hier anschliessend nur die Token-URL.
Das Token generierst Du über

pihole -d

wobei Du die Frage nach dem Upload bejahst, oder Du machst das über die Weboberfläche:
Tools > Generate Debug Log

Debug log removed by moderator and made private.

Danke für die rasche Antwort. Sorry aber will meinen privaten IP Bereich, Domain und MAC nicht unbedingt teilen. Das feature ist aber gut hab übersehen die MTU size in dem Container wieder richtig anzupassen. xD Ist Jetzt wider 1500 in diesem Netzt. Der Fehler den er da bei NGINX anzeigt passt nicht ganz da PI-Hole bei mir über Port 8080 local leuft. SSL spielt aber vorerst mal keine rolle. Englisch lesen ist OK für mich nur Antworten nicht so. xD thx

We don't ask that you post the log itself. We want just the token URL, and then only a few members of the Pi-hole team can access your log, and the log expires in 48 hours.

We need all the details of your network setup that are contained in the log, with no redaction of IP's.

Your debug token is: https://tricorder.pi-hole.net/Uckd3dyI/

I have edit the file:

/etc/lighttpd/external.conf
setenv.add-environment = ( "VIRTUAL_HOST" => "invalid.example.com" )

Now the error no longer occurs.
(DataTables warning: table id=messagesTable - Invalid JSON response.)

I have edit the file:
/etc/pihole/pihole-FTL.conf

PIHOLE_PTR=false
PIHOLE_PTR=invalid.example.com

Now:

nslookup invalid.example.com:

Server: invalid.example.com
Address: xx.xx.xx.xx

Name: invalid.example.com
Address: xx.xx.xx.xx

everything looks just fine but

nslookup pi.hole:
Server: invalid.example.com
Address: xx.xx.xx.xx

Name: pi.hole
Addresses: xxxx:xxxx:xxxx:xxxx
xx.xx.xx.xx

The name is still pi.hole an he is still resolving.

Can I change this or stop it?

I don't think so. pi.hole is hardcoded into Pi-hole, requests are always answered:

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