This is a tiny DNS server with simple JSON config written in C.
- filesize is just only 20Kb!
- cache DNS queries for boost internet connection
- resolve own domains from config
- resolve multidomains like *.example.com
- server can work on IPv6 address
- if you use Archlinux, you may install tinydns from AUR
- for compile just run
make
- after install you need to write your IP address in
/etc/tinydns.conf
- you may also use
systemctl
for start and stop service
- 原版基础上增加了端口的配置,可以在配置文件 /etc/tinydns.conf 中指定
- 修改了Makefile文件,可以 make CC=arm-openwrt-linux-gcc 进行跨平台编译
- 本地侧修改为epoll方式实现
- 远程侧修改为多线程方式实现,可以通过配置文件中 multi_thread 参数开启或关闭
主要是用来做DNS缓存服务器用