README ¶ Reverse DNS Shell Extension for coredns Add tunnelshell in plugin.cfg for coredns and rebuild it, for example, after hosts plugin.cfg hosts:hosts tunnelshell:github.com/adc/coredns-tunnelshell then type make Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Tunnel func New() *Tunnel func (t *Tunnel) Name() string func (t *Tunnel) ServeDNS(ctx context.Context, rw dns.ResponseWriter, r *dns.Msg) (int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Tunnel ¶ type Tunnel struct { Next plugin.Handler PendingOutbound []string Conns []net.Conn OutCounter int InCounter int sync.Mutex } func New ¶ func New() *Tunnel func (*Tunnel) Name ¶ func (t *Tunnel) Name() string Name implements the Handler interface. func (*Tunnel) ServeDNS ¶ func (t *Tunnel) ServeDNS(ctx context.Context, rw dns.ResponseWriter, r *dns.Msg) (int, error) Source Files ¶ View all Source files setup.go tunnel.go Click to show internal directories. Click to hide internal directories.