Created
September 30, 2020 01:37
-
-
Save wheel5up/81b07454bfbeb192c1912c35c6cb7481 to your computer and use it in GitHub Desktop.
Restart dns on pihole
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@pi-hole2:~ $ ls -lasrt /var/log |tail -10 | |
76 -rw-r----- 1 root adm 70204 Sep 29 06:25 syslog.1 | |
4 -rw-r----- 1 root adm 314 Sep 29 06:25 messages | |
12152 -rw-r--r-- 1 pihole pihole 12441230 Sep 30 00:00 pihole.log.1 | |
4 -rw-r--r-- 1 pihole pihole 559 Sep 30 00:00 pihole-FTL.log.1 | |
0 -rw-r--r-- 1 pihole pihole 0 Sep 30 00:00 pihole-FTL.log | |
4 drwxr-xr-x 9 root root 4096 Sep 30 00:00 . | |
84 -rw-r----- 1 root adm 79311 Sep 30 02:10 auth.log | |
60 -rw-r----- 1 root adm 53494 Sep 30 02:15 syslog | |
76 -rw-r----- 1 root adm 73162 Sep 30 02:15 daemon.log | |
1160 -rw-r--r-- 1 pihole pihole 1179982 Sep 30 02:16 pihole.log | |
pi@pi-hole2:~ $ pihole restartdns | |
[✓] Restarting DNS server | |
pi@pi-hole2:~ $ ls -lasrt /var/log |tail -10 | |
76 -rw-r----- 1 root adm 70204 Sep 29 06:25 syslog.1 | |
12152 -rw-r--r-- 1 pihole pihole 12441230 Sep 30 00:00 pihole.log.1 | |
4 -rw-r--r-- 1 pihole pihole 559 Sep 30 00:00 pihole-FTL.log.1 | |
4 drwxr-xr-x 9 root root 4096 Sep 30 00:00 . | |
1160 -rw-r--r-- 1 pihole pihole 1180366 Sep 30 02:16 pihole.log | |
80 -rw-r----- 1 root adm 75936 Sep 30 02:16 daemon.log | |
84 -rw-r----- 1 root adm 80478 Sep 30 02:17 auth.log | |
8 -rw-r--r-- 1 pihole pihole 6392 Sep 30 02:18 pihole-FTL.log | |
108 -rw-r----- 1 root adm 106342 Sep 30 02:18 syslog | |
52 -rw-r----- 1 root adm 50172 Sep 30 02:18 messages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment