fantasticmao / dnshooks

A simple DNS proxy, with support for some hooks (such as webhooks).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNSHooks Actions Status codecov image

A simple DNS proxy, with support for some hooks (such as webhooks).

DNSHooks-Proxy

DNSHooks-Proxy's inbound/outbound channel handler pipeline in Netty:

+--------+                                                     +--------------------+
|        | --> DatagramDnsQueryDecoder                         | +----------------+ |
| DNS    |                     DnsProxyServerClientHandler --> | | DNSHooks Proxy | |
| Client |                                                     | | Server         | |
|        |                  DnsProxyServerDisruptorHandler <-- | +----------------+ |
|        | <-- DatagramDnsResponseEncoder     |                |      A     |       |                                       +--------+
+--------+                                    |                |      |     V       |                                       |        |
                                              |                | +----------------+ | --> ProxyQueryEncoder --------------> | DNS    |
                                              |                | | DNSHooks Proxy | |                                       | Server |
                                              V                | | Client         | |              ProxyResponseDecoder <-- |        |
                                       +-------------+         | +----------------+ | <-- ObtainMessageChannelHandler       |        |
                                      /             /|         +--------------------+                                       +--------+
                                     +-------------+ |
                                     | Disruptor   | |
                                     | Ring Buffer |/
                                     +-------------+
                                        |   |   |
                                        V   V   V
                                      Hook Hook Hook

DNS Related RFC

About

A simple DNS proxy, with support for some hooks (such as webhooks).

License:GNU General Public License v3.0


Languages

Language:Java 100.0%