Sign inSign up

superxiao666/smdns

By superxiao666

•Updated about 1 month ago

简单易用的smartdns(ARM64/AMD64),支持Web-UI

Image
0

5.8K

superxiao666/smdns repository overview

⁠SmartDNS

SmartDNS 是一个本地 DNS 服务器,用于获取最快的网站 IP,以获得最佳的上网体验,支持 DoH、DoT、DoQ。

A local DNS server to obtain the fastest website IP for the best Internet experience, supporting DoT, DoH, DoQ.


⁠官方源代码地址 | Source Code

https://github.com/pymumu/smartdns⁠

⁠官方文档地址 | Document

https://pymumu.github.io/smartdns⁠


⁠支持的架构 | Supported Architecture

  • X86-64
  • ARM64

⁠镜像说明 | Image Description

  • 默认配置文件路径:/etc/smartdns/
  • 默认服务端口:53
  • 所有运行日志输出到终端

The default configuration directory for the image is /etc/smartdns/, and the default port for the image is 53. All logs will be output to the terminal.


⁠默认卷说明 | Volumes

  • /etc/smartdns:配置文件目录 | Configuration file directory
  • /var/lib/smartdns:UI 数据文件目录 | Data directory

⁠端口 | Port

  • 53:DNS 服务端口 | DNS Server Port
  • 6080:WebUI 服务端口 | WebUI Server Port

⁠配置说明 | Configuration Instructions

⁠创建基本配置文件

创建配置文件 /etc/smartdns/smartdns.conf,添加如下配置:


# 绑定本地所有 IPv6 和 IPv4 地址
bind [::]:53

# 上游 DNS 服务器
server 8.8.8.8
server 1.1.1.1

启动镜像 | Starting the Image


#Arm64------X86-64平台
docker run -d --name DNS -v /etc/smartdns/:/etc/smartdns/ -v /var/lib/smartdns:/var/lib/smartdns -p 53:53/udp -p 53:53/tcp -p 6080:6080 --restart=always  superxiao666/smdns:latest

启用SmartDNS仪表盘


#通过plugin插件参数配置,例子如下:
# 启用仪表盘
plugin smartdns_ui.so
# 设置服务端口号。
smartdns-ui.ip http://[::]:6080
#默认用户名密码为:admin/password

Tag summary

Content type

Image

Digest

sha256:bdc26916f…

Size

12.6 MB

Last updated

about 1 month ago

docker pull superxiao666/smdns