跳转至主内容

MikroTik

MikroTik routers use the open source RouterOS operating system, which provides routing, wireless networking and firewall services for home and small office networks.

Configure DNS-over-HTTPS

  1. Access your MikroTik router:
    • Open your web browser and go to your router's IP address (usually 192.168.88.1)
    • Alternatively, you can use Winbox to connect to your MikroTik router
    • Enter your administrator username and password
  2. Import root certificate:
    • Download the latest bundle of trusted root certificates: https://curl.se/docs/caextract.html
    • Navigate to Files. Click Upload and select the downloaded cacert.pem certificate bundle
    • Go to System → Certificates → Import
    • In the File Name field, choose the uploaded certificate file
    • Click Import
  3. Configure DNS-over-HTTPS:
    • Go to IP → DNS
    • In the Servers section, add the following AdGuard DNS servers:
      • 94.140.14.49
      • 94.140.14.59
    • Set Allow Remote Requests to Yes (this is crucial for DoH to function)
    • In the Use DoH server field, enter the URL of the private AdGuard DNS server: https://d.adguard-dns.com/dns-query/*******
    • Click OK
  4. Create Static DNS Records:
    • In the DNS Settings, click Static
    • Click Add New
    • Set Name to d.adguard-dns.com
    • Set Type to A
    • Set Address to 94.140.14.49
    • Set TTL to 1d 00:00:00
    • Repeat the process to create an identical entry, but with Address set to 94.140.14.59
  5. Disable Peer DNS on DHCP Client:
    • Go to IP → DHCP Client
    • Double-click the client used for your Internet connection (usually on the WAN interface)
    • Uncheck Use Peer DNS
    • Click OK
  6. Link your IP.
  7. Test and verify:
    • You might need to reboot your MikroTik router for all changes to take effect
    • Clear your browser's DNS cache. You can use a tool like https://www.dnsleaktest.com to check if your DNS requests are now routed through AdGuard

使用路由器管理面板

如果您的 Keenetic 路由器不支持 DNS-over-HTTPS 或 DNS-over-TLS 配置,请使用以下指示说明:

  1. 打开路由器管理面板。 可以通过 192.168.1.1192.168.0.1 访问。
  2. 输入管理员用户名(通常是「admin」)和路由器密码。
  3. Open WebfigIPDNS.
  4. Select Servers and enter one of the following DNS server addresses.
    • IPv4 地址:94.140.14.4994.140.14.59
    • IPv6 地址:2a10:50c0:0:0:0:0:ded:ff2a10:50c0:0:0:0:0:dad:ff
  5. 请保存设置。
  6. 关联 IP 地址(如果您有团队版订阅,也可以关联您的专用 IP 地址)。