搭建自己的DNSLog服务器

搭建自己的DNSLog服务器

you need a public server and a domain

config domain name

image-20251015140453281

config.yaml

Http:
  host: 0.0.0.0
  port: 8000
  consoleDisable: false

User:
  #"token":"用户对应子域名"
  'adminxxxxxxxxx': 'dnslog'

Dns:
  domain: itnext.top
  ARecord:
    'www': '106.53.105.153'

run:

root@VM-12-10-ubuntu:/opt# netstat -antp |grep 53
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      954/systemd-resolve 

systemctl stop systemd-resolved  


nohup ./dnslog-linux &

test:

 ping vv.dnslog.itnext.top

result:

http://itnext.top:8000

(贴图略)

发表评论