Hello
i installed pihole and working perfectly.
i want to bypass pihole by one ip address
i added 04-bypass.conf in /etc/dnsmasq.d
dhcp-host=(8C:5D:36:C1:7D:B4,set:googlesdns1
But the bypass doesnt work
i added 04-bypass.conf in /etc/dnsmasq.d
dhcp-option=tag:googlesdns1,option:dns-server,8.8.8.8
dhcp-host=8C:5D:36:C1:7D:B4,set:googlesdns1,Hostname
But the bypass doesnt work again.
pihole -d
*** [ INITIALIZING ]
[i] 2019-07-15:19:59:34 debug log has been initialized.
*** [ INITIALIZING ] Sourcing setup variables
[i] Sourcing /etc/pihole/setupVars.conf...
*** [ DIAGNOSING ]: Core version
[i] Core: v4.3.1 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.3.1-0-g1a741f6
*** [ DIAGNOSING ]: Web version
[i] Web: v4.3 (https://discourse.pi-hole.net/t/how-do-i-update-pi-hole/249)
[i] Branch: master
[i] Commit: v4.3-0-g44aff72
*** [ DIAGNOSING ]: FTL version
[✓] FTL: v4.3.1
*** [ DIAGNOSING ]: lighttpd version
[i] 1.4.45
*** [ DIAGNOSING ]: php version
[i] 7.2.19
*** [ DIAGNOSING ]: Operating system
[✓] Ubuntu 18.04.2 LTS
*** [ DIAGNOSING ]: SELinux
[i] SELinux not detected
*** [ DIAGNOSING ]: Processor
[i] x86_64
*** [ DIAGNOSING ]: Ports in use
[::1]:631 cupsd (IPv6)
127.0.0.1:631 cupsd (IPv4)
*:22 sshd (IPv4)
*:22 sshd (IPv6)
[*:80] is in use by lighttpd
[*:80] is in use by lighttpd
*:3127 squid (IPv6)
*:3128 squid (IPv6)
*:10000 miniserv.p (IPv4)
*:10000 miniserv.p (IPv6)
[*:53] is in use by pihole-FTL
[*:53] is in use by pihole-FTL
[127.0.0.1:4711] is in use by pihole-FTL
[[::1]:4711] is in use by pihole-FTL
*** [ DIAGNOSING ]: Name resolution (IPv4) using a random blocked domain and a known ad-serving domain
[✓] www.seevolution.com is 0.0.0.0 via localhost (127.0.0.1)
[✗] Failed to resolve www.seevolution.com via Pi-hole (192.168.1.180)
[✓] doubleclick.com is 172.217.169.142 via a remote, public DNS server (8.8.8.8)
*** [ DIAGNOSING ]: Pi-hole processes
[✓] lighttpd daemon is active
[✓] pihole-FTL daemon is active
*** [ DIAGNOSING ]: Setup variables
BLOCKING_ENABLED=true
DNSMASQ_LISTENING=single
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSSEC=false
CONDITIONAL_FORWARDING=false
PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.1.180/24
IPV6_ADDRESS=
PIHOLE_DNS_1=4.2.2.4#53
PIHOLE_DNS_2=
QUERY_LOGGING=true
INSTALL_WEB_SERVER=true
INSTALL_WEB_INTERFACE=true
LIGHTTPD_ENABLED=true
DHCP_ACTIVE=true
DHCP_START=192.168.4.201
DHCP_END=192.168.4.251
DHCP_ROUTER=192.168.1.1
DHCP_LEASETIME=24
PIHOLE_DOMAIN=lan
DHCP_IPv6=false
DHCP_rapid_commit=false
*** [ DIAGNOSING ]: Dashboard and block page
[✓] Block page X-Header: X-Pi-hole: A black hole for Internet advertisements.
[✓] Web interface X-Header: X-Pi-hole: The Pi-hole Web interface is working!
*** [ DIAGNOSING ]: Gravity list
-rw-r--r-- 1 root root 2680249 Tem 15 18:34 /etc/pihole/gravity.list
-----head of gravity.list------
0.0.0.0
0.nextyourcontent.com
0.r.msn.com
0.start.bz
-----tail of gravity.list------
zzz.clickbank.net
zzzezeroe.fr
zzzpooeaz-france.com
zzzrtrcm2.com
*** [ DIAGNOSING ]: contents of /etc/pihole
-rw-r--r-- 1 root root 381 Haz 7 16:46 /etc/pihole/adlists.list
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
https://mirror1.malwaredomains.com/files/justdomains
http://sysctl.org/cameleon/hosts
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt
https://hosts-file.net/ad_servers.txt
-rw-r--r-- 1 root root 0 Tem 15 19:59 /etc/pihole/blacklist.txt
-rw-r--r-- 1 root root 46 Tem 15 18:34 /etc/pihole/local.list
192.168.1.180 kadikoyfw
192.168.1.180 pi.hole
-rw-r--r-- 1 root root 238 Tem 15 18:33 /etc/pihole/logrotate
/var/log/pihole.log {
su root syslog
daily
copytruncate
rotate 5
compress
delaycompress
notifempty
nomail
}
/var/log/pihole-FTL.log {
su root syslog
weekly
copytruncate
rotate 3
compress
delaycompress
notifempty
nomail
}
-rw-r--r-- 1 root root 4 Tem 15 08:49 /etc/pihole/whitelist.txt
--l
-rw-r--r-- 1 root root 1528 Tem 15 18:49 /etc/dnsmasq.d/01-pihole.conf
addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
addn-hosts=/etc/pihole/local.list
localise-queries
no-resolv
cache-size=10000
log-queries
log-facility=/var/log/pihole.log
local-ttl=2
log-async
server=4.2.2.4
domain-needed
bogus-priv
interface=eth0
-rw-r--r-- 1 root root 485 Tem 15 19:08 /etc/dnsmasq.d/02-pihole-dhcp.conf
dhcp-authoritative
dhcp-range=192.168.4.201,192.168.4.251,24h
dhcp-option=option:router,192.168.4.180
dhcp-leasefile=/etc/pihole/dhcp.leases
domain=lan
*** [ DIAGNOSING ]: contents of /etc/lighttpd
-rw-r--r-- 1 root root 3498 Tem 15 18:33 /etc/lighttpd/lighttpd.conf
server.modules = (
"mod_access",
"mod_accesslog",
"mod_auth",
"mod_expire",
"mod_compress",
"mod_redirect",
"mod_setenv",
"mod_rewrite"
)
server.document-root = "/var/www/html"
server.error-handler-404 = "pihole/index.php"
server.upload-dirs = ( "/var/cache/lighttpd/uploads" )
server.errorlog = "/var/log/lighttpd/error.log"
server.pid-file = "/var/run/lighttpd.pid"
*** [ DIAGNOSING ]: contents of /var/log
-rw-r--r-- 1 pihole pihole 361806 Tem 15 19:59 /var/log/pihole-FTL.log
-----head of pihole-FTL.log------
[2019-07-15 00:59:45.741 6849] Resizing "/FTL-queries" from 458752 to 688128
[2019-07-15 06:53:25.674 6849] Received SIGHUP, reloading cache
[2019-07-15 06:53:25.674 6849] Blocking status is enabled
[2019-07-15 06:53:25.675 6849] Compiled 3 Regex filters and 1 whitelisted domains in 0.1 msec (0 errors)
[2019-07-15 06:53:25.716 6849] /etc/pihole/black.list: parsed 7 domains (took 0.0 ms)
[2019-07-15 06:53:25.880 6849] /etc/pihole/gravity.list: parsed 114597 domains (took 164.1 ms)
[2019-07-15 06:53:26.010 6849] Received SIGHUP, reloading cache
[2019-07-15 06:53:26.010 6849] Blocking status is enabled
[2019-07-15 06:53:26.010 6849] Compiled 3 Regex filters and 1 whitelisted domains in 0.1 msec (0 errors)
[2019-07-15 06:53:26.049 6849] /etc/pihole/black.list: parsed 5 domains (took 0.0 ms)
[2019-07-15 06:53:26.213 6849] /etc/pihole/gravity.list: parsed 114597 domains (took 164.5 ms)
[2019-07-15 06:53:26.377 6849] Received SIGHUP, reloading cache
[2019-07-15 06:53:26.377 6849] Blocking status is enabled
[2019-07-15 06:53:26.377 6849] Compiled 3 Regex filters and 1 whitelisted domains in 0.2 msec (0 errors)
[2019-07-15 06:53:26.418 6849] /etc/pihole/black.list: parsed 4 domains (took 0.0 ms)
[2019-07-15 06:53:26.582 6849] /etc/pihole/gravity.list: parsed 114597 domains (took 164.1 ms)
[2019-07-15 06:53:26.805 6849] Received SIGHUP, reloading cache
[2019-07-15 06:53:26.805 6849] Blocking status is enabled
[2019-07-15 06:53:26.806 6849] Compiled 3 Regex filters and 1 whitelisted domains in 0.2 msec (0 errors)
[2019-07-15 06:53:26.850 6849] /etc/pihole/black.list: parsed 3 domains (took 0.0 ms)
[2019-07-15 06:53:27.014 6849] /etc/pihole/gravity.list: parsed 114597 domains (took 164.7 ms)
[2019-07-15 06:53:32.167 6849] Received SIGHUP, reloading cache
[2019-07-15 06:53:32.167 6849] Blocking status is enabled
[2019-07-15 06:53:32.168 6849] Compiled 3 Regex filters and 1 whitelisted domains in 0.2 msec (0 errors)
[2019-07-15 06:53:32.211 6849] /etc/pihole/black.list: parsed 2 domains (took 0.0 ms)
[2019-07-15 06:53:32.376 6849] /etc/pihole/gravity.list: parsed 114597 domains (took 165.3 ms)
[2019-07-15 06:53:38.111 6849] Received SIGHUP, reloading cache
[2019-07-15 06:53:38.111 6849] Blocking status is enabled
[2019-07-15 06:53:38.111 6849] Compiled 3 Regex filters and 1 whitelisted domains in 0.2 msec (0 errors)
[2019-07-15 06:53:38.154 6849] /etc/pihole/black.list: parsed 3 domains (took 0.0 ms)
[2019-07-15 06:53:38.320 6849] /etc/pihole/gravity.list: parsed 114597 domains (took 165.5 ms)
[2019-07-15 07:05:57.549 6849] Received SIGHUP, reloading cache
[2019-07-15 07:05:57.549 6849] Blocking status is enabled
[2019-07-15 07:05:57.549 6849] Compiled 3 Regex filters and 1 whitelisted domains in 0.1 msec (0 errors)
[2019-07-15 07:05:57.590 6849] /etc/pihole/black.list: parsed 2 domains (took 0.0 ms)
-----tail of pihole-FTL.log------
[2019-07-15 19:59:28.703 5561] PORTFILE: Using /var/run/pihole-FTL.port
[2019-07-15 19:59:28.703 5561] SOCKETFILE: Using /var/run/pihole/FTL.sock
[2019-07-15 19:59:28.703 5561] WHITELISTFILE: Using /etc/pihole/whitelist.txt
[2019-07-15 19:59:28.703 5561] BLACKLISTFILE: Using /etc/pihole/black.list
[2019-07-15 19:59:28.703 5561] GRAVITYFILE: Using /etc/pihole/gravity.list
[2019-07-15 19:59:28.703 5561] REGEXLISTFILE: Using /etc/pihole/regex.list
[2019-07-15 19:59:28.703 5561] SETUPVARSFILE: Using /etc/pihole/setupVars.conf
[2019-07-15 19:59:28.703 5561] AUDITLISTFILE: Using /etc/pihole/auditlog.list
*** [ DIAGNOSING ]: contents of /dev/shm
-rw------- 1 pihole pihole 331776 Tem 15 19:59 /dev/shm/FTL-clients
-rw------- 1 pihole pihole 108 Tem 15 19:59 /dev/shm/FTL-counters
-rw------- 1 pihole pihole 98304 Tem 15 19:59 /dev/shm/FTL-domains
-rw------- 1 pihole pihole 20480 Tem 15 19:59 /dev/shm/FTL-forwarded
-rw------- 1 pihole pihole 48 Tem 15 19:59 /dev/shm/FTL-lock
-rw------- 1 pihole pihole 12288 Tem 15 19:59 /dev/shm/FTL-overTime
-rw------- 1 pihole pihole 458752 Tem 15 19:59 /dev/shm/FTL-queries
-rw------- 1 pihole pihole 12 Tem 15 19:59 /dev/shm/FTL-settings
-rw------- 1 pihole pihole 8192 Tem 15 19:59 /dev/shm/FTL-strings
-rw------- 1 proxy proxy 8 Tem 15 19:03 /dev/shm/squid-cf__metadata.shm
-rw------- 1 proxy proxy 8216 Tem 15 19:03 /dev/shm/squid-cf__queues.shm
-rw------- 1 proxy proxy 44 Tem 15 19:03 /dev/shm/squid-cf__readers.shm
*** [ DIAGNOSING ]: Locale
LANG=en_US.UTF-8
*** [ DIAGNOSING ]: Pi-hole log
-rw-r--r-- 1 pihole pihole 73833873 Tem 15 19:59 /var/log/pihole.log
-----head of pihole.log------
Jul 15 00:00:02 dnsmasq[6849]: query[A] spclient.wg.spotify.com from 192.168.4.51
Jul 15 00:00:02 dnsmasq[6849]: forwarded spclient.wg.spotify.com to 4.2.2.6
Jul 15 00:00:02 dnsmasq[6849]: reply spclient.wg.spotify.com is <CNAME>
Jul 15 00:00:02 dnsmasq[6849]: reply wg.spotify.com is 35.186.224.53
Jul 15 00:00:40 dnsmasq[6849]: query[A] v10.events.data.microsoft.com from 192.168.4.51
Jul 15 00:00:40 dnsmasq[6849]: /etc/pihole/gravity.list v10.events.data.microsoft.com is 0.0.0.0
Jul 15 00:03:01 dnsmasq[6849]: query[A] i2.hurimg.com from 192.168.4.51
Jul 15 00:03:01 dnsmasq[6849]: cached i2.hurimg.com is <CNAME>
Jul 15 00:03:01 dnsmasq[6849]: forwarded i2.hurimg.com to 4.2.2.6
Jul 15 00:03:01 dnsmasq[6849]: query[A] www.hurriyet.com.tr from 192.168.4.51
Jul 15 00:03:01 dnsmasq[6849]: cached www.hurriyet.com.tr is <CNAME>
Jul 15 00:03:01 dnsmasq[6849]: forwarded www.hurriyet.com.tr to 4.2.2.6
Jul 15 00:03:01 dnsmasq[6849]: query[A] s.hurriyet.com.tr from 192.168.4.51
Jul 15 00:03:01 dnsmasq[6849]: cached s.hurriyet.com.tr is <CNAME>
Jul 15 00:03:01 dnsmasq[6849]: forwarded s.hurriyet.com.tr to 4.2.2.6
Jul 15 00:03:01 dnsmasq[6849]: reply i2.hurimg.com is <CNAME>
Jul 15 00:03:01 dnsmasq[6849]: reply mr.tr.cubecdn.net is 195.201.167.178
Jul 15 00:03:01 dnsmasq[6849]: reply mr.tr.cubecdn.net is 195.244.32.55
Jul 15 00:03:01 dnsmasq[6849]: reply mr.tr.cubecdn.net is 95.216.45.108
root@xxx:/etc/pihole# dnsmasq --test
dnsmasq: syntax check OK.
Another question:is dhcp server without installing,spesific ip address can bypass pihole ?
Can you help me for two questions?
Thank you very much