diff options
-rw-r--r-- | dns/proxy.go | 6 | ||||
-rw-r--r-- | server.go | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dns/proxy.go b/dns/proxy.go index f74aa14..dc325a9 100644 --- a/dns/proxy.go +++ b/dns/proxy.go @@ -16,11 +16,11 @@ const ( TypeA = dns.TypeA // TypeAAAA represents the resource record type AAAA, an IPv6 address. TypeAAAA = dns.TypeAAAA - // LogDiscard disables logging of DNS requests + // LogDiscard disables logging of DNS requests. LogDiscard = iota - // LogAll logs all DNS requests + // LogAll logs all DNS requests. LogAll - // LogHijacked only logs hijacked DNS requets + // LogHijacked only logs hijacked DNS requests. LogHijacked ) @@ -163,7 +163,7 @@ func (s *Server) loadHosts() { s.logger.Printf("loaded %d hosts in total", len(hs)) } -// Reload reloads the configuration of this server +// Reload reloads the configuration of this server. func (s *Server) Reload() { s.loadHosts() } // Close terminates all active operations and shuts down the DNS server. |