I'm here to ask you help to diagnose a problem on a ubuntu 18.04.
I'm working on a VM so I createad a snpshot before installation of pihole.
The problem can be summarized s:
before installation I can ping google.it
after installation I cannot ping
It's the third VM I setup with pihole, but this is the first with this problem. I am sure I'm doing wrong something in the setup of the VM, so I'd like an help to understand what I am doing that is able to break something while pihole is installing.
dig pihole3.ismyservice.space
; <<>> DiG 9.11.3-1ubuntu1.1-Ubuntu <<>> pihole3.ismyservice.space
;; global options: +cmd
;; connection timed out; no servers could be reached
The following file is not changed, it was the same before of installation.
realtebo@192.168.1.224:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.
nameserver 127.0.0.53
search homenet.telecomitalia.it
Also, my ip addr infos was not changes
realtebo@192.168.1.224:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:50:56:2d:ed:31 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.224/24 brd 192.168.1.255 scope global dynamic ens33
valid_lft 19752sec preferred_lft 19752sec
inet6 fe80::250:56ff:fe2d:ed31/64 scope link
valid_lft forever preferred_lft forever
What else ?
realtebo@pihole3:/etc/pihole$ cat install.log
[✓] Installing scripts from /etc/.pihole
[i] Installing configs from /etc/.pihole...
[✓] No dnsmasq.conf found... restoring default dnsmasq.conf...
[✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf
[✓] Installing latest Cron script
[✓] Installing latest logrotate script
[i] FTL Checks...
[✓] Detected x86_64 architecture
[i] Checking for existing FTL binary...
[✓] Downloading and Installing FTL
[i] Skipping firewall configuration
[✓] man pages installed and database updated
realtebo@pihole3:/etc/pihole$ cat setupVars.conf
PIHOLE_INTERFACE=ens33
IPV4_ADDRESS=0.0.0.0
IPV6_ADDRESS=
PIHOLE_DNS_1=8.8.8.8
PIHOLE_DNS_2=8.8.4.4
QUERY_LOGGING=true
INSTALL_WEB_SERVER=false
INSTALL_WEB_INTERFACE=false
LIGHTTPD_ENABLED=false
realtebo@pihole3:/etc/pihole$
I see in that log of installation that is not able to install FTL.
The previous setup was done manually, choosing to do not install web gui and do not install lighthttpd
Doing a normal installation, with webgui and lighthttpd all is working.
I'm trying to understand which point of the installation causes the breaking of name resolution.
I'm too new in linux to be able to understand it alone.
In first thread you linked me, I understand that it's due to the absence of dhcpd5 but that it can be resolved with a manual -r ?!?!?! I don't understand,
Also ... why I can make it works installing all the optional webserver, web interface and lighttpd?
If there is a problem with a prerequisite, it must fail any wat... or not?
I'll try the second link idea: add multiverse to apt. I'll update you
installation of dhcpd5 and dialog works fine without altering apt sources.list
Anyway, I can ping until 90% of the installation process... the suddenly , no name can be resolved...
Today i'll try to run with -x option ... I really really think that some developer should take care of the problem.
I've 10 nodes with ubuntu 18.04 running happily, but this new one no... Obviously I cannot compare file by file what make the new VM different from the previous....
Narrowing the problem I found that the problem is changing #DNSStubListener=yes to DNSStubListener=no
The line changing the config is this:
I know that this is really good and needed and well documented.
I cannot understand why I need to NOT disable the DNSStubListener in my specific case. What have I done so wrong to break a good behaviour of pi-hole ?