proxy

package
v0.0.0-...-9cf6a42 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package proxy provides a Serve function for starting the DNS proxy.

Conf variable is used for storing configuration.

Proxy doesn't claim itself to be Authoritative, but maybe it should.

Proxy checks domain names for blockage only for the requests, not responses.

Proxy doesn't set UDPSize, leaving it at the minumum, but maybe it should.

Index

Constants

This section is empty.

Variables

View Source
var Conf configuration

Functions

func Here

func Here() string

func Query

func Query(name string, server net.IP, question uint16) *dns.Msg

func ReadConfiguration

func ReadConfiguration(path string) configuration

func Serve

func Serve()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL