{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/pi-hole/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/pi-hole/", "feed_url": "https://matoken.org/blog/tag/pi-hole/feed/json/", "language": "ja", "title": "Pi-hole – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "http://matoken.org/blog/?p=2079", "url": "https://matoken.org/blog/2018/09/01/try-pi-hole-of-dns-cache-server-ad-blocker/", "title": "DNS\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u306a\u30a2\u30c9\u30d6\u30ed\u30c3\u30ab\u30fc\u306ePi-hole\u3092\u8a66\u3059", "content_html": "
2018-08-18 \u306e\u9e7f\u5150\u5cf6Linux\u52c9\u5f37\u4f1a 2018.08 \u3067\u767a\u8868\u3057\u305f\u3082\u306e\u306b\u52a0\u7b46\u4fee\u6b63\u3057\u305f\u3082\u306e\uff0e
\n\u5e83\u544a\u3092\u30d6\u30ed\u30c3\u30af
\n\u30d6\u30e9\u30a6\u30b6\u306e\u62e1\u5f35\u6a5f\u80fd\u306a\u3069\u3067\u5b9f\u73fe\u3059\u308b\u306e\u304c\u4e00\u822c\u7684(\u91cd\u3044&\u30d6\u30e9\u30a6\u30b6\u6bce\u306b\u8a2d\u5b9a\u304c\u5fc5\u8981)
\nuBlock Origin\u7b49
\n\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30d6\u30e9\u30a6\u30b8\u30f3\u30b0\u30e2\u30fc\u30c9\u3067\u306f(\u57fa\u672c\u7684\u306b)\u5229\u7528\u3067\u304d\u306a\u3044
\n\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306f?
\nroot\u306a\u3069\u304c\u5fc5\u8981(\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b8\u30f3\u30b0\u306f\u62e1\u5f35\u6a5f\u80fd\u3084\u5e83\u544a\u30d6\u30ed\u30c3\u30af\u6a5f\u80fd\u306e\u3042\u308b\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u306a\u3069\u3067\u56de\u907f\u53ef\u80fd)
\n
DNS\u30ad\u30e3\u30c3\u30b7\u30e5\u30b5\u30fc\u30d0\u3068\u3057\u3066\u52d5\u4f5c\u3057\u3066\u5e83\u544a\u3092DNS\u30d9\u30fc\u30b9\u3067\u30d6\u30ed\u30c3\u30af
\nPC\u5074\u3067\u306f\u8a2d\u5b9a\u4e0d\u8981 or DNS\u8a2d\u5b9a\u306e\u307f
\n\u8efd\u3044
\nWeb\u30d9\u30fc\u30b9\u306e\u7ba1\u7406\u753b\u9762\u304c\u5229\u7528\u53ef\u80fd
\nDNS\u4ee5\u5916\u306bDHCP\u30b5\u30fc\u30d0\u6a5f\u80fd\u3082\u5229\u7528\u53ef\u80fd
\n\u540d\u524d\u306bPi\u3068\u3064\u3044\u3066\u3044\u308b\u3057\u4e8b\u4f8b\u304c\u591a\u3044\u304cRaspberry Pi\u4ee5\u5916\u3067\u3082\u52d5\u4f5c\u3059\u308b
\nHardware\r\nPi-hole is very lightweight as it only handles DNS queries and returns a blank HTML file so it doesn\u2019t need much processing power.\r\n\r\n~52MB of free space\r\n512 MB RAM\r\nSoftware\r\nPi-hole will run on most Debian-based distro\u2019s and is the preferred platform for it.\r\n\r\nWe officially support the following:\r\n\r\nRaspbian: Jessie/Stretch\r\nUbuntu: 16.04 / 16.10\r\nDebian: 8 / 9\r\nFedora 26\r\nCentOS: 7 (not ARM)\n\u304a\u624b\u8efd\u306a\u30a4\u30f3\u30b9\u30c8\u30fc\u30ebscript\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b
\n\u516c\u5f0f\u30da\u30fc\u30b8\u3067\u306f\uff0c
curl -sSL https://install.pi-hole.net | bash\n\u3068\u306f\u3044\u3048\u6016\u3044\u306e\u3067\uff0c\u3053\u3093\u306a\u611f\u3058\u3067\u5165\u308c\u305f
\n$ wget -O basic-install.sh https://install.pi-hole.net\r\n$ lv basic-install.sh\r\n$ sudo porg -lp pi-hole bash ./basic-install.sh\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u306fTUI\u3067\u3044\u304f\u3064\u304b\u306e\u9078\u629e\u80a2\u304c\u8868\u793a\u3055\u308c\u308b
\n\u8a2d\u5b9a\u306f\u3053\u306e\u3042\u305f\u308a\u306b/etc/pihole/setupVars.conf
\u30a2\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3082\u3064\u3044\u3066\u3044\u308b\u304c\uff0c\u30d1\u30c3\u30b1\u30fc\u30b8\u5468\u308a\u3068\u304b\u9762\u5012(\u5c0e\u5165\u6e08\u307f\u3060\u3063\u305f\u304b\u3069\u3046\u304b\u95a2\u4fc2\u306a\u304f\u95a2\u9023\u30d1\u30c3\u30b1\u30fc\u30b8\u30921\u3064\u3065\u3064\u78ba\u8a8d\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044)\u306a\u306e\u3067chroot\u74b0\u5883\u306a\u3069\u3067\u8a66\u3057\u305f\u307b\u3046\u304c\u826f\u3044
\nPublic DNS\u5404\u7a2e\u3082\u3057\u304f\u306fCustom\u304b\u3089\u4efb\u610f\u306eDNS\u304c\u6307\u5b9a\u53ef\u80fd
\n\u4eca\u56de\u306f\u81ea\u5206\u306e\u5bb6\u306eUnbound\u3092\u6307\u5b9a
\n\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u81ea\u52d5\u3067\u5c0e\u5165\u3055\u308c\u308b
\n$ pihole -a -p\r\nEnter New Password (Blank for no password):\r\nConfirm Password:\r\n [\u2713] New password set\nDHCP\u30b5\u30fc\u30d0\u304b\u3089\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u308bDNS\u60c5\u5831\u3092Pi-hole\u306e\u3082\u306e\u306b\u5dee\u3057\u66ff\u3048\u308b
\nor
\nDHCP\u30b5\u30fc\u30d0\u3092Pi-hole\u306b\u5207\u308a\u66ff\u3048\u308b
\nPi-hole\u306eDHCPD\u306f\u7ba1\u7406\u753b\u9762\u306eSettings \u2192 DHCP\u304b\u3089\u6709\u52b9\u306b\u3067\u304d\u308b
\n\u304b\u3089\u6709\u52b9\u306b\u3067\u304d\u308b
\n\u81ea\u5206\u306f\u5916\u3067\u306f VPN \u3092\u4f7f\u3046\u304c\uff0c\u305d\u306e\u3068\u304d\u3053\u306e nameserver \u3092\u6307\u5b9a\u3059\u308b\u3068\u643a\u5e2f\u56de\u7dda\u3067\u3082\u30d1\u30b1\u30c3\u30c8\u306e\u6d88\u8cbb\u304c\u6291\u3048\u3089\u308c\u308b\u52b9\u679c\u3082\u3042\u308b
\n$ dig example.com|grep -i server\r\n;; SERVER: 192.168.2.211#53(192.168.2.211)\npihole command\u304c\u5b58\u5728\u3059\u308b
\n$ pihole --help\r\nUsage: pihole [options]\r\nExample: 'pihole -w -h'\r\nAdd '-h' after specific commands for more information on usage\r\n\r\nWhitelist/Blacklist Options:\r\n -w, whitelist Whitelist domain(s)\r\n -b, blacklist Blacklist domain(s)\r\n --wild, wildcard Wildcard blacklist domain(s)\r\n --regex, regex Regex blacklist domains(s)\r\n Add '-h' for more info on whitelist/blacklist usage\r\n\r\nDebugging Options:\r\n -d, debug Start a debugging session\r\n Add '-a' to enable automated debugging\r\n -f, flush Flush the Pi-hole log\r\n -r, reconfigure Reconfigure or Repair Pi-hole subsystems\r\n -t, tail View the live output of the Pi-hole log\r\n\r\nOptions:\r\n -a, admin Web interface options\r\n Add '-h' for more info on Web Interface usage\r\n -c, chronometer Calculates stats and displays to an LCD\r\n Add '-h' for more info on chronometer usage\r\n -g, updateGravity Update the list of ad-serving domains\r\n -h, --help, help Show this help dialog\r\n -l, logging Specify whether the Pi-hole log should be used\r\n Add '-h' for more info on logging usage\r\n -q, query Query the adlists for a specified domain\r\n Add '-h' for more info on query usage\r\n -up, updatePihole Update Pi-hole subsystems\r\n Add '--check-only' to exit script before update is performed.\r\n -v, version Show installed versions of Pi-hole, Web Interface & FTL\r\n Add '-h' for more info on version usage\r\n uninstall Uninstall Pi-hole from your system\r\n status Display the running status of Pi-hole subsystems\r\n enable Enable Pi-hole subsystems\r\n disable Disable Pi-hole subsystems\r\n Add '-h' for more info on disable usage\r\n restartdns Restart Pi-hole subsystems\r\n checkout Switch Pi-hole subsystems to a different Github branch\r\n Add '-h' for more info on checkout usage\n\n$ pihole -up --check-only\r\nChecking for updates...\r\nPi-hole Core: up to date\r\nWeb Interface: up to date\r\nFTL: up to date\r\n\r\nEverything is up to date!\r\n
\n$ pihole -up\r\n
$ pihole updateGravity\r\n [i] Neutrino emissions detected...\r\n [\u2713] Pulling blocklist source list into range\r\n\r\n [i] Target: raw.githubusercontent.com (hosts)\r\n [\u2713] Status: Retrieval successful\r\n\r\n [i] Target: mirror1.malwaredomains.com (justdomains)\r\n [\u2713] Status: No changes detected\r\n\r\n [i] Target: sysctl.org (hosts)\r\n [\u2713] Status: No changes detected\r\n\r\n [i] Target: zeustracker.abuse.ch (blocklist.php?download=domainblocklist)\r\n [\u2713] Status: No changes detected\r\n\r\n [i] Target: s3.amazonaws.com (simple_tracking.txt)\r\n [\u2713] Status: No changes detected\r\n\r\n [i] Target: s3.amazonaws.com (simple_ad.txt)\r\n [\u2713] Status: No changes detected\r\n\r\n [i] Target: hosts-file.net (ad_servers.txt)\r\n [\u2713] Status: No changes detected\r\n\r\n [\u2713] Consolidating blocklists\r\n [\u2713] Extracting domains from blocklists\r\n [i] Number of domains being pulled in by gravity: 157918\r\n [\u2713] Removing duplicate domains\r\n [i] Number of unique domains trapped in the Event Horizon: 134681\r\n [i] Number of whitelisted domains: 0\r\n [i] Number of blacklisted domains: 0\r\n [i] Number of regex filters: 0\r\n [\u2713] Parsing domains into hosts format\r\n [\u2713] Cleaning up stray matter\r\n\r\n [\u2713] Force-reloading DNS service\r\n [\u2713] DNS service is running\r\n [\u2713] Pi-hole blocking is Enabled\n# Pi-hole\u5e83\u544a\u30c9\u30e1\u30a4\u30f3\u30ea\u30b9\u30c8\u66f4\u65b0\r\n7 3 * * * pihole updateGravity | tee >$(telegram-msg-cron)\r\n# Pi-hole \u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30c1\u30a7\u30c3\u30af\r\n11 3 * * * if [ $(pihole -up --check-only|tail -1|grep -c 'Everything is up to date!') ]; then echo ''; else echo \"${HOSTNAME} : please Pi-hole update!\" | tee >$(telegram-msg-cron) ; fi\n$ echo 'https://280blocker.net/files/280blocker_host.txt' | sudo tee -a /etc/pihole/adlists.list\r\nhttps://280blocker.net/files/280blocker_host.txt\r\n$ pihole -g\n\u691c\u7d22\u3059\u308b\u3068\u69d8\u3005\u306a\u30c9\u30e1\u30a4\u30f3\u30ea\u30b9\u30c8\u304c\u5b58\u5728\u3059\u308b\uff0e\u7528\u9014\u306b\u5408\u308f\u305b\u3066\u767b\u9332\u3059\u308b\u3068\u826f\u3055\u305d\u3046\uff0e
\n\u30e1\u30ea\u30c3\u30c8
\n\u8efd\u91cf\u3067\u52d5\u4f5c\u8981\u4ef6\u3082\u4f4e\u3044
\nDNS\u30d9\u30fc\u30b9\u306a\u306e\u3067\u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\u306a\u3069\u3067\u3082OK!(\u30a2\u30d7\u30ea\u5185\u306e\u5e83\u544a\u30d6\u30ed\u30c3\u30af\u3082)
\n\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u306e\u5834\u5408\u3067\u3082\u7aef\u672b\u3084\u30d6\u30e9\u30a6\u30b6\u6bce\u306b\u500b\u5225\u306b\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u306a\u3044
\n\u8a2d\u5b9a\u3082\u7c21\u5358\u3067\u52d5\u4f5c\u3082\u7ba1\u7406\u753b\u9762\u3067\u78ba\u8a8d\u3057\u3084\u3059\u3044
\n\u8ee2\u9001\u91cf\u3082\u6e1b\u308b
\n\u30c7\u30e1\u30ea\u30c3\u30c8
\nuBlock Origin\u306b\u6bd4\u3079\u308b\u3068\u5e83\u544a\u306e\u30d6\u30ed\u30c3\u30af\u7387\u304c\u4f4e\u3044?(\u898b\u3066\u3044\u308bsite\u306b\u3082\u4f9d\u308b\u304b\u3082)
\n\u62e1\u5f35\u6027\u304c\u3042\u308b\u306e\u3067\u597d\u307f\u306e\u30ea\u30b9\u30c8\u3092\u8ffd\u52a0\u3059\u308c\u3070\u826f\u3055\u305d\u3046
\n\u4eca\u898b\u3048\u3066\u3044\u308b\u5e83\u544a\u3092\u30d6\u30ed\u30c3\u30af\u3057\u305f\u3044\u3068\u3044\u3063\u305f\u3068\u304d\u306b\u306f\u30d6\u30e9\u30a6\u30b6\u306e\u62e1\u5f35\u6a5f\u80fd\u306e\u307b\u3046\u304c\u4fbf\u5229
\n\u5e83\u544a\u306e\u52d5\u304d\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306fDNS\u3092\u5207\u308a\u66ff\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u9762\u5012
\nnm-applet\u3060\u3068Pi-hole\u3068\u901a\u5e38DNS\u306e\u8a2d\u5b9a\u3092\u305d\u308c\u305e\u308c\u4f5c\u3063\u3066\u304a\u304f\u3068\u30ef\u30f3\u30bf\u30c3\u30c1\u3067\u5207\u308a\u66ff\u3048\u3089\u308c\u3066\u4fbf\u5229
\n
PC \u2192 Pi-hole \u2192 Unbound \u2192 ISP
\nPC \u2192 Unbound \u2192 ISP
\nWi-Fi AP \u3092 Pi-hole \u5229\u7528\u3068\u305d\u3046\u3067\u306a\u3044\u3082\u306e\u306e2\u3064\u7528\u610f\u3059\u308b
\n\u5bb6\u5ead\u3084\u5c0f\u898f\u6a21\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5411\u3051?
\nPi-hole\u306ead list\u3092\u305d\u306e\u307e\u307eor\u6574\u5f62\u3057\u3066/etc/hosts\u306b\u7a81\u3063\u8fbc\u3081\u3070\u3068\u308a\u3042\u3048\u305ablock\u3067\u304d\u308b
\n(Unbound\u3084Dnsmasq\u3068\u304b\u306b\u5165\u308c\u3066\u3082)
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts\r\nhttps://mirror1.malwaredomains.com/files/justdomains\r\nhttp://sysctl.org/cameleon/hosts\r\nhttps://zeustracker.abuse.ch/blocklist.php?download=domainblocklist\r\nhttps://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt\r\nhttps://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt\r\nhttps://hosts-file.net/ad_servers.txt\n$ wget -q -O - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | lv\r\n :\r\n0.0.0.0 1493361689.rsc.cdn77.org\r\n0.0.0.0 30-day-change.com\r\n0.0.0.0 2468.go2cloud.org\r\n0.0.0.0 adservice.google.nl\r\n0.0.0.0 adsmws.cloudapp.net\r\n :\r\n$ wget -q -O - https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts|lv\r\namazon.co.uk.security-check.ga\r\nautosegurancabrasil.com\r\ndadossolicitado-antendimento.sad879.mobi\r\nhitnrun.com.my\r\nmaruthorvattomsrianjaneyatemple.org\r\n :\n\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b8\u30f3\u30b0\u6642\u306b\u5e83\u544a\u3060\u3051\u3067\u306a\u304f\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u306a\u3069\u3082\u8003\u616e
\n\u3053\u306e\u3042\u305f\u308a\u306f\u3053\u307e\u3081\u306b\u8a2d\u5b9a\u304c\u5fc5\u8981\u306a\u306e\u3067\u4e00\u62ec\u7ba1\u7406\u306f\u96e3\u3057\u305d\u3046
\u5e83\u544a\u30d6\u30ed\u30c3\u30af
\n\n\u30c8\u30e9\u30c3\u30ad\u30f3\u30b0\u9632\u6b62
\nscript block
\n\u5c0e\u5165\u304c\u7c21\u5358
\n\u30ea\u30bd\u30fc\u30b9\u5c11\u306a\u3081
\n\u7ba1\u7406\u753b\u9762\u304c\u308f\u304b\u308a\u3084\u3059\u3044
\n\u5bb6\u5ead\u3084\u5c0f\u898f\u6a21\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u5411\u3051?
\n\n\n\n\n\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u78ba\u8a8d\u3068\u5c0e\u5165\u5468\u308a\u3068\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u8a2d\u5b9a\u3042\u305f\u308a\u3092\u5408\u308f\u305b\u308c\u3070\u3044\u3051\u308b\u306e\u3067\u306f?
\n
\n\u3067\u3082hosts\u3084Unbound\u306a\u3069\u3067\u8a2d\u5b9a\u3057\u305f\u307b\u3046\u304c\u304d\u3063\u3068\u697d
\n\n\n\nip\u30a2\u30c9\u30ec\u30b9\u3092 Pi-hole \u306e Block list \u306b\u767b\u9332\u3057\u3066\u307f\u305f\u3089\u767b\u9332\u3067\u304d\u305f\uff0e\u3057\u304b\u3057\u30d6\u30ed\u30c3\u30af\u306f\u3067\u304d\u306a\u304b\u3063\u305f\uff0eiptables\u306a\u3069\u3067\u30d6\u30ed\u30c3\u30af\u3059\u308b\u611f\u3058?
\n