[2018-03-28 13:34:38.260] Error: failed to read /etc/pihole/list.preEventHorizon
Mar 28 13:34:35 dnsmasq[31553]: failed to load names from /etc/pihole/local.list: No such file or directory
Mar 28 13:34:35 dnsmasq[31553]: failed to load names from /etc/pihole/black.list: No such file or directory
Mar 28 13:34:35 dnsmasq[31553]: failed to load names from /etc/pihole/gravity.list: No such file or directory
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; disabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/dnsmasq.service.d
└─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
Active: inactive (dead)
Mar 29 18:01:16 MezelBFG10kL systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
Mar 29 18:02:21 MezelBFG10kL systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
Mar 29 18:02:44 MezelBFG10kL systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
Mar 29 18:03:53 MezelBFG10kL systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
Mar 29 18:04:13 MezelBFG10kL systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
Mar 29 18:04:13 MezelBFG10kL systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Mar 29 18:04:13 MezelBFG10kL dnsmasq[10685]: dnsmasq: syntax check OK.
Mar 29 18:04:13 MezelBFG10kL systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
Mar 30 10:44:06 MezelBFG10kL systemd[1]: Stopping dnsmasq - A lightweight DHCP and caching DNS server...
Mar 30 10:44:06 MezelBFG10kL systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
FTL
● pihole-FTL.service - LSB: pihole-FTL daemon
Loaded: loaded (/etc/init.d/pihole-FTL; bad; vendor preset: enabled)
Active: active (exited) since Fri 2018-03-30 10:44:08 MDT; 4min 0s ago
Docs: man:systemd-sysv-generator(8)
Mar 30 10:44:08 MezelBFG10kL systemd[1]: Starting LSB: pihole-FTL daemon...
Mar 30 10:44:08 MezelBFG10kL pihole-FTL[8991]: Not running
Mar 30 10:44:08 MezelBFG10kL pihole-FTL[8991]: chown: cannot access '/etc/pihole/dhcp.leases': No such file or directory
Mar 30 10:44:08 MezelBFG10kL pihole-FTL[8991]: FTL started!
Mar 30 10:44:08 MezelBFG10kL systemd[1]: Started LSB: pihole-FTL daemon.
Everything looks OK when running the commands and checking dnsmasq and FTL.
One thing that I noticed.
Regardless of the version that I install (master or dev) the installer always shows:
pihole status returns:
pihole restardns
however runnung pihole status shows the above state.
I don’t have /tcp/ under dev so this will return that is NOT running.
53 is open
Starting Nmap 7.01 ( https://nmap.org ) at 2018-03-31 07:56 MDT
Nmap scan report for MezelBFG10kL (127.0.0.1)
Host is up (0.00016s latency).
PORT STATE SERVICE
53/tcp open domain
Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds
Have you actually tried it? /dev/{tcp,udp} are only bash internals and do not really exist on the file system... see also
/dev/tcp/host/port
If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding TCP socket.
/dev/udp/host/port
If host is a valid hostname or Internet address, and port is an integer port number or service name, Bash attempts to open the corresponding UDP socket.
Oh yes, if your system doesn't even know how to translate localhost, then it is clear that our test fails. I have not tried this, but would
127.0.0.1 host.name
127.0.0.1 localhost
help? In my imagination this might return the host.name for reverse queries (as it is the first one in the list) while still also describing what localhost should point at.