Deployment#
mkdir -p ~/app/adguard && cd ~/app/adguard && nano docker-compose.yml
sudo docker-compose up -d # Panel port 3000
# /opt/adguardhome/letsencrypt/live/npm-1/fullchain.pem
# /opt/adguardhome/letsencrypt/live/npm-1/privkey.pem
sed -i 's/allow_unencrypted_doh: false/allow_unencrypted_doh: true/' ./conf/AdGuardHome.yaml && sudo docker-compose restart
version: '3.3'
services:
adguard:
restart: unless-stopped
volumes:
- './work:/opt/adguardhome/work'
- './conf:/opt/adguardhome/conf'
- '/root/base/NGPM/letsencrypt:/opt/adguardhome/letsencrypt'
- '/etc/localtime:/etc/localtime:ro'
image: adguard/adguardhome:latest
networks:
default:
external: true
name: ngpm
DNS Settings#
- Navigation Bar-Settings-DNS Settings
- Enable DNSSEC in DNS service configuration
DoH Settings#
- Navigation Bar-Settings-DNS Settings
- Enable encryption in Encryption
- The certificate can be set to the automatically applied certificate by npm
- Reverse proxy
/dns-query
, keep thetoken
confidential and do not leak it - There is no
/
aftertoken
, and there is a/
afterdns-query
- Fill in
https://my.com/token
in Chrome's Settings-Privacy and Security-Security-DNS - Go back to the dashboard and see if there are any DNS queries recorded