Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MohamedBassem/fuzzy-dns
/ functions
Functions
13 in github.com/MohamedBassem/fuzzy-dns
⨍
Functions
13
◇
Types & classes
4
↓ 3 callers
Method
trimOrigin
(name string)
main.go:30
↓ 2 callers
Method
ARecords
ARecords returns all the records of type A.
context.go:67
↓ 2 callers
Method
fuzzyMatchHost
(name string, rs Records)
main.go:34
↓ 2 callers
Method
handleCNAMERecords
(originalName string, rec bool)
main.go:76
↓ 1 callers
Method
CNAMERecords
CNAMERecords returns all the records of type CNAME.
context.go:78
↓ 1 callers
Method
LoggedRequest
LoggedRequest is a DNS handler function to wrap the original handler with a query logger
main.go:140
↓ 1 callers
Function
NewContextFromFile
NewContextFromFile function reads and parses the config file.
context.go:28
↓ 1 callers
Function
NewServer
NewServer creates a new server instance
main.go:23
↓ 1 callers
Method
handleARecords
(originalName string)
main.go:57
↓ 1 callers
Method
handleQuestion
(q dns.Question)
main.go:119
↓ 1 callers
Method
validateAndNormalizeRecords
()
context.go:88
Method
HandleRequest
HandleRequest is the main request handler. It recieves, parses and responds to the DNS queries.
main.go:149
Function
main
()
main.go:168