Categorygithub.com/skyleaworlder/DNS-Relay.go
repositorypackage
0.0.0-20210219125733-e34f03f14612
Repository: https://github.com/skyleaworlder/dns-relay.go.git
Documentation: pkg.go.dev

# README

:earth_asia: DNS-Relay.go

FOSSA Status Build Status

  • RFC-1035 / RFC-2535 Learning "Note", a Simple Toy about DNS;
  • My First Executable Application Code in Golang;
  • My First Socket Programming Experience;

Usage

Change DNS address on PC:

// Administrator Mode on Win10-Terminal
C:\User\UserName> netsh
netsh> interface
netsh interface> ipv4
netsh interface ipv4> set dnsserver "WLAN" static 127.0.0.1

Execute main.go:

go run main.go

success

PC gets the IP address of tools.ietf.org from localhost:53. "RFC-1036" on the left side is the result of DNS-Relay. It might be slow... But it work at that moment.

Test

go test -run ^Test -v github.com/skyleaworlder/DNS-Relay.go

License

FOSSA Status