pi-hole搭建DNS服务器

pi hole 为互联网广告准备的黑洞.

Software Env

MacOS 10.15 Catalina
RaspberryPi 4B

步骤

  1. 进入树莓派,执行一键安装脚本 curl -sSL https://install.pi-hole.net | bash

  2. 安装过程中选择需要安装的插件,如可视化界面等

    安装成功后信息如下:可登录web 界面查看 dashboard

    1
    2
    3
    4
    5
    6
    7
    8
    Configure your devices to use the Pi-hole as their DNS server
    using:
    IPv4: 192.168.0.100
    IPv6: Not Configured
    If you set a new IP address, you should restart the Pi.
    The install log is in /etc/pihole.
    View the web interface at http://pi.hole/admin or http://192.168.0.100/admin
    Your Admin Webpage login password is xxxxxxxx
  3. 使用 DNS 服务器,有三种方法:How do I configure my devices to use Pi-hole as their DNS server?,在这里我选择第三种方法(Manually configure each device)

参考

  1. 家用网络环境折腾 篇一:在家用环境中利用NAS建立DNS缓存服务器Pi-hole
  2. 安装Pi-hole,让树莓派为你过滤家中广告!
  3. pi-hole 官网
  4. pi-hole github

坚持原创技术分享,您的支持将鼓励我继续创作!