Skip to content

๐ŸŒ DNS over UDP: receiving a request from a client and then forwarding that request to DNS Resolver to obtain the answer.

Notifications You must be signed in to change notification settings

haikelfazzani/dns-over-udp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

15 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DNS forward over UDP

๐ŸŒ DNS over UDP: receiving a request from a client and then forwarding that request to DNS Resolver to obtain the answer.

Build and Run

go build main.go && sudo ./main

Configuration

// default config
var config = &DNSConfig{
	HostsFilePath: "/etc/hosts",
	Laddr:         ":5053",
	ListRaddr:     []string{"8.8.8.8:53", "8.8.4.4:53", "1.1.1.1:53", "9.9.9.9:53"},
	UseWildCard:   true,
	Timeout:       15,
}

Test

go test

License

Apache 3.0

About

๐ŸŒ DNS over UDP: receiving a request from a client and then forwarding that request to DNS Resolver to obtain the answer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published