https://github.com/dem0ns/dnslogger
git clone --depth=1 https://github.com/dem0ns/dnslogger_binary.git
docker-compose up -d
[CentOS] firewall-cmd --add-port 53/udp --permanent && firewall-cmd --reload
DNS Records: 1. [NS] log
-> ns1.yourdomain.com
, 2. [A] ns1
-> server ip
.
- 使用Ubuntu系统,必须先停止
systemd-resolved
(systemctl stop systemd-resolved.service
),并建议禁用此服务(systemctl disable systemd-resolved.service
),最后在/etc/resolve.conf
中将nameserver
指定到正常的DNS地址。