传统的bing9、coredns,没有web控制台
推荐一款好用的dns服务器
TechnitiumSoftware/DnsServer
github地址:https://github.com/TechnitiumSoftware/DnsServer
API文档:https://github.com/TechnitiumSoftware/DnsServer/blob/master/APIDOCS.md
部署文档:https://github.com/TechnitiumSoftware/DnsServer/blob/master/docker-compose.yml
获取Token
浏览器访问:
http://192.168.31.223:5380/api/user/createToken?user=admin&pass=Uenpay2023&tokenName==zhengyu
{ "username": "admin", "tokenName": "=zhengyu", "token": "3bf5056348e6a5abc9524c71611f7851c44277cdb834788b95d8d16552b054f8", "status": "ok" }
查询记录
添加记录
http://localhost:5380/api/zones/records/add?token=x&domain=example.com&zone=example.com
修改记录
删除记录
清除cache