Skip to content

Just a DNS utility. My personal mod for daily use ~

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

gitv2ray/dnsforwarder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dnsforwarder

一个简单的 DNS 转发代理

主要功能:

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

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

安装和部署

参考 default.config

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

Read default.en.config.

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

About

Just a DNS utility. My personal mod for daily use ~

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 86.8%
  • Shell 10.0%
  • HTML 2.1%
  • M4 1.1%