NEWS
PiHole-Fritzbox-Proxmox
-
@KleinesA was zeigt
cat /etc/resolv.conf
-
@crunchip Da kommt was:
domain fritz.box
search fritz.box
nameserver 192.168.178.37 -
@KleinesA ja und die .37 ist dein Pihole
-
@crunchip Ja
-
@KleinesA
du könntest die resolv.conf ändern, aber die wird wahrscheinlich nach einem neustart wieder überschrieben werden.
Hatte damals auch das Problem.
Probier mal das so
änder die resolv.conf auf die Ip-Adresse deiner Fritzbox
und bei
/etc/network/interfaces
trägst du direkt unter
iface ens18 inet dhcp
dns-nameservers 192.168.178.1
ein -
@crunchip
Also in /etc/network/interfaces bleibt der Eintrag dns-nameserver 192.168.178.1 stehen.
Der Eintrag /etc/resolv.conf wird wieder überschrieben mit der ip vom Pi-Hole
Und ioBroker feuert wieder Anfragen nach fritz.box ohne Ende raus. -
@KleinesA du könntest deinen Iobroker von dhcp auf statische ip stellen
dazu musst du in/etc/network/interfaces
folgendes ändern
iface ens18 inet static
address 192.168.178.x
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 192.168.178.1 -
@crunchip Danke. Werde ich heute Abend mal testen.
-
@crunchip
Hallo also unter /etc/resolv.conf steht
domain fritz.box
search fritz.box
nameserver 192.168.178.37192.168.178.37 ist der pihole. Auch wenn ich dort die IP der FB schreibe, nach einem Reboot steht dort wieder Pihole.
Unter /etc/network/interfaces steht:
This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
The loopback network interface
auto lo
iface lo inet loopback
iface ens18 inet static
address 192.168.178.32
netmask 255.255.255.0
gateway 192.168.178.1The primary network interface
allow-hotplug ens18
#####iface ens18 inet dhcp
dns-nameserver 192.168.178.1Nach einem Reboot ist ioBroker per http nicht mehr erreichbar.
-
@KleinesA trag das mal so ein
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /etc/network/interfaces.d/* # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug ens18 iface ens18 inet static address 192.168.178.32 netmask 255.255.255.0 gateway 192.168.178.1 dns-nameservers 192.168.178.1 # This is an autoconfigured IPv6 interface iface ens18 inet6 auto
-
@crunchip Danke. Das werde ich.
-
@crunchip sagte in PiHole-Fritzbox-Proxmox:
This file describes the network interfaces available on your system
and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
The loopback network interface
auto lo
iface lo inet loopbackThe primary network interface
allow-hotplug ens18
iface ens18 inet static
address 192.168.178.32
netmask 255.255.255.0
gateway 192.168.178.1
dns-nameservers 192.168.178.1This is an autoconfigured IPv6 interface
iface ens18 inet6 auto
Scheint zu klappen. Danke