├── .gitignore ├── LICENSE ├── README.MD ├── backends ├── memory.go └── record.go ├── conf ├── default.conf ├── hosts.conf ├── nameserver.conf └── resolver.conf ├── dnsgo.go ├── go.mod ├── go.sum ├── handles ├── dns.go ├── server.go └── utils.go ├── logger └── log.go └── service ├── counter.go ├── hosts.go ├── init.go ├── reader.go ├── resolver.go ├── sfx_tree.go └── utils.go /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .DS_Store 3 | *.swp 4 | dnsgo 5 | conf/ 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/LICENSE -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/README.MD -------------------------------------------------------------------------------- /backends/memory.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/backends/memory.go -------------------------------------------------------------------------------- /backends/record.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/backends/record.go -------------------------------------------------------------------------------- /conf/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/conf/default.conf -------------------------------------------------------------------------------- /conf/hosts.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/conf/hosts.conf -------------------------------------------------------------------------------- /conf/nameserver.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/conf/nameserver.conf -------------------------------------------------------------------------------- /conf/resolver.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/conf/resolver.conf -------------------------------------------------------------------------------- /dnsgo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/dnsgo.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/go.sum -------------------------------------------------------------------------------- /handles/dns.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/handles/dns.go -------------------------------------------------------------------------------- /handles/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/handles/server.go -------------------------------------------------------------------------------- /handles/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/handles/utils.go -------------------------------------------------------------------------------- /logger/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/logger/log.go -------------------------------------------------------------------------------- /service/counter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/service/counter.go -------------------------------------------------------------------------------- /service/hosts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/service/hosts.go -------------------------------------------------------------------------------- /service/init.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/service/init.go -------------------------------------------------------------------------------- /service/reader.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/service/reader.go -------------------------------------------------------------------------------- /service/resolver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/service/resolver.go -------------------------------------------------------------------------------- /service/sfx_tree.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/service/sfx_tree.go -------------------------------------------------------------------------------- /service/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grt1st/dnsgo/HEAD/service/utils.go --------------------------------------------------------------------------------