Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Logger *logrus.Logger Version string QueryFlags models.QueryFlags Questions []dns.Question Resolvers []resolvers.Resolver ResolverOpts resolvers.Options Nameservers []models.Nameserver }
App represents the structure for all app wide configuration.
func (*App) LoadFallbacks ¶
func (app *App) LoadFallbacks()
LoadFallbacks sets fallbacks for options that are not specified by the user but necessary for the resolver.
func (*App) LoadNameservers ¶
LoadNameservers reads all the user given nameservers and loads to App.
func (*App) Output ¶
Output takes a list of `dns.Answers` and based on the output format specified displays the information.
func (*App) PrepareQuestions ¶
func (app *App) PrepareQuestions()
PrepareQuestions takes a list of query names, query types and query classes and prepare a question for each combination of the above.
Click to show internal directories.
Click to hide internal directories.