Fix some minor spelling errors

This commit is contained in:
Damien Ready 2020-12-18 09:37:02 -06:00 committed by Karan Sharma
parent 90fee8799e
commit 99e53d5e0a
4 changed files with 9 additions and 9 deletions

View file

@ -39,8 +39,8 @@ func main() {
// Resolver Options
f.Int("timeout", 5, "Sets the timeout for a query to T seconds. The default timeout is 5 seconds.")
f.Bool("search", true, "Use the search list provided in resolv.conf. It sets the `ndots` parameter as well unless overriden by `ndots` flag.")
f.Int("ndots", 0, "Specify the ndots paramter. Default value is taken from resolv.conf and fallbacks to 1 if ndots statement is missing in resolv.conf")
f.Bool("search", true, "Use the search list provided in resolv.conf. It sets the `ndots` parameter as well unless overridden by `ndots` flag.")
f.Int("ndots", 0, "Specify the ndots parameter. Default value is taken from resolv.conf and fallbacks to 1 if ndots statement is missing in resolv.conf")
f.BoolP("ipv4", "4", false, "Use IPv4 only")
f.BoolP("ipv6", "6", false, "Use IPv6 only")

View file

@ -57,7 +57,7 @@ func (hub *Hub) prepareQuestions() ([]dns.Question, error) {
hub.Logger.WithFields(logrus.Fields{
"domain": d,
"ndots": hub.QueryFlags.Ndots,
}).Debug("Attmepting to resolve")
}).Debug("Attempting to resolve")
question := dns.Question{
Name: d,
}