Just a DNS utility.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 587e61a Jun 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
codeblocks Bug fixing Feb 26, 2017
codeblocks_win New binaries Jun 26, 2018
test Fixed bugs with socks5 Oct 15, 2017
.gitignore Bug fixing Feb 15, 2017
AUTHORS Nothing Jan 17, 2017
COPYING Unfinished Feb 10, 2017
ChangeLog Nothing Jan 17, 2017
INSTALL Nothing Jan 17, 2017
LICENSE Nothing Jan 17, 2017
NEWS Nothing Jan 17, 2017
README Nothing Jan 17, 2017
README.md Update README.md Dec 25, 2017
StatisticTemplate.html Nothing Jan 17, 2017
aclocal.m4 `make' can now be used to make Windows executables May 10, 2018
addresslist.c Minor improvements May 11, 2018
addresslist.h Nothing Jan 22, 2017
array.c Nothing Jan 22, 2017
array.h Nothing Jan 22, 2017
bst.c Nothing Jan 22, 2017
bst.h Nothing Dec 21, 2016
cacheht.c Nothing Jan 22, 2017
cacheht.h Nothing Jan 17, 2017
cachettlcrtl.c Nothing Jan 17, 2017
cachettlcrtl.h Nothing Jan 17, 2017
common.h `make' can now work with MinGW-w64 May 10, 2018
compile Nothing Jan 17, 2017
config.h.in Minor improvements May 11, 2018
configure Fix some error with make Jun 4, 2018
configure.ac Fix some error with make Jun 4, 2018
default.config Bug fixing Sep 2, 2017
default.en.config Bug fixing Sep 2, 2017
depcomp Nothing Jan 17, 2017
dnscache.c Minor improvements May 12, 2018
dnscache.h Nothing Jan 19, 2017
dnsgenerator.c Bug fixing Sep 2, 2017
dnsgenerator.h Nothing Jan 6, 2017
dnsparser.c Bug fixing Jan 24, 2017
dnsparser.h Bug fixing Feb 15, 2017
dnsrelated.c Nothing Jan 22, 2017
dnsrelated.h Nothing Jan 17, 2017
domainstatistic.c Improvements Feb 14, 2017
domainstatistic.h Nothing Jan 20, 2017
downloader.c First available version Jan 23, 2017
downloader.h Fix compilation failure Apr 5, 2018
dynamichosts.c Nothing Mar 19, 2017
dynamichosts.h Nothing Jan 6, 2017
filter.c Nothing Jan 20, 2017
filter.h Nothing Jan 17, 2017
goodiplist.c Improvements Mar 10, 2017
goodiplist.h Nothing Jan 17, 2017
hcontext.c First available version Jan 23, 2017
hcontext.h Nothing Jan 6, 2017
hosts.c Nothing Feb 24, 2017
hosts.h Nothing Jan 19, 2017
hostscontainer.c Bug fixing Sep 2, 2017
hostscontainer.h Nothing Jan 6, 2017
hostsutils.c Nothing Jan 19, 2017
hostsutils.h Nothing Jan 6, 2017
iheader.c Improvements Feb 3, 2017
iheader.h Improvements Feb 3, 2017
install-sh Nothing Jan 17, 2017
ipchunk.c Nothing Jan 22, 2017
ipchunk.h Nothing Dec 21, 2016
ipmisc.c Bug fixing Feb 15, 2017
ipmisc.h Bug fixing Feb 15, 2017
linkedqueue.c Nothing Dec 16, 2016
linkedqueue.h Nothing Jan 17, 2017
logs.c Bug fixing Feb 15, 2017
logs.h Nothing Jan 22, 2017
main.c Minor improvements May 11, 2018
makefile.am Bug fixing Feb 15, 2017
makefile.in `make' can now be used to make Windows executables May 10, 2018
mcontext.c Improvements Feb 3, 2017
mcontext.h Nothing Jan 20, 2017
missing Nothing Jan 17, 2017
mmgr.c Improvements Mar 3, 2017
mmgr.h Nothing Jan 22, 2017
oo.h Nothing Dec 19, 2016
pipes.c Nothing Jan 17, 2017
pipes.h Nothing Jan 17, 2017
ptimer.c First available version Jan 23, 2017
ptimer.h First available version Jan 23, 2017
querydnslistentcp.c Nothing Jan 22, 2017
querydnslistentcp.h Nothing Jan 17, 2017
readconfig.c Improvements Feb 17, 2017
readconfig.h Bug fixing Feb 15, 2017
readline.c Nothing Jan 17, 2017
readline.h Nothing Jan 17, 2017
rwlock.h First available version Jan 23, 2017
simpleht.c Nothing Jan 22, 2017
simpleht.h Nothing Jan 17, 2017
socketpool.c Nothing Jan 22, 2017
socketpool.h Nothing Jan 22, 2017
socketpuller.c Minor improvements May 11, 2018
socketpuller.h Nothing Jan 22, 2017
stablebuffer.c Nothing Jan 22, 2017
stablebuffer.h Nothing Dec 2, 2016
statichosts.c Nothing Jan 6, 2017
statichosts.h Nothing Jan 6, 2017
stringchunk.c Bug fixing Sep 2, 2017
stringchunk.h Bug fixing Sep 2, 2017
stringlist.c Bug fixing Feb 15, 2017
stringlist.h Nothing Dec 2, 2016
tcpm.c Minor improvements May 11, 2018
tcpm.h Improvements Feb 3, 2017
timedtask.c Nothing Jan 17, 2017
timedtask.h Nothing Jan 4, 2017
tlsm.c Fixed bugs with socks5 Oct 15, 2017
tlsm.h Fixed bugs with socks5 Oct 15, 2017
tlsserver.c Fixed bugs with socks5 Oct 15, 2017
tlsserver.h Fixed bugs with socks5 Oct 15, 2017
udpfrontend.c Improvements Feb 17, 2017
udpfrontend.h Improvements Feb 17, 2017
udpm.c Improvements Jul 9, 2017
udpm.h Improvements Jul 9, 2017
utils.c Minor improvements May 11, 2018
utils.h Nothing Feb 26, 2017
winmsgque.c First available version Jan 23, 2017
winmsgque.h Nothing Jan 17, 2017

README.md

dnsforwarder

一个简单的 DNS 转发代理

主要功能:

  1. 指定不同的域名使用不同的服务器(支持非标准端口)、不同的协议(UDP、TCP)进行查询;
  2. DNS 缓存及相关的控制(支持自定义 TTL);
  3. 屏蔽包含指定的 IP 的 DNS 数据包;
  4. Hosts 功能(支持通配符、CName 指定、网络 Hosts);
  5. 屏蔽指定的域名查询请求(广告屏蔽?);
  6. 跨平台(Windows、Linux);

此版本保留了大部分 5 版本的功能,习惯 5 版本的朋友们可以到“5”分支内获取。

安装和部署

捐助比特币支持此项目:1KwWqEkxcMXprwn8aTtV4qhqt1ZkBYqzra

A simple DNS forwarder

Main Fetures:

  1. Forwarding queries to customized domains (and their subdomains) to specified servers over a specified protocol (UDP or TCP). non-standard ports are supported;
  2. DNS cache and its controls (including modifying TTL for different domains);
  3. Ignoring DNS responses from upstream servers containing particular IPs;
  4. Loading hosts from file (including the support for wildcards, CName redirections and remote hosts files);
  5. Refusing queries to specified domains (for ads blocking?);
  6. Cross-platform (Windows, Linux);

Installation & Deployment

License :

GPL v3

Dependencies :

For Linux:

pthread;
libcurl (optional);

For Windows:

None.

Macros needed to be declared while compiling :

For Linux:

None.

For Windows x86 (at least Windows XP)

WIN32

For Windows x86-64 (at least Windows Vista):

WIN32
WIN64

Consider donation?

Bitcoin address : 1KwWqEkxcMXprwn8aTtV4qhqt1ZkBYqzra

Thanks!