diff --git a/pkg/query/util.go b/pkg/query/util.go index a8c07a2..0782f89 100644 --- a/pkg/query/util.go +++ b/pkg/query/util.go @@ -13,7 +13,6 @@ import ( ) func (message *Message) displayQuestion(msg *dns.Msg, opts *util.Options, opt *dns.OPT) error { - var ( name string err error @@ -40,7 +39,6 @@ func (message *Message) displayQuestion(msg *dns.Msg, opts *util.Options, opt *d } func (message *Message) displayAnswers(msg *dns.Msg, opts *util.Options, opt *dns.OPT) error { - var ( ttl any name string @@ -84,7 +82,6 @@ func (message *Message) displayAnswers(msg *dns.Msg, opts *util.Options, opt *dn } func (message *Message) displayAuthority(msg *dns.Msg, opts *util.Options, opt *dns.OPT) error { - var ( ttl any name string @@ -128,7 +125,6 @@ func (message *Message) displayAuthority(msg *dns.Msg, opts *util.Options, opt * } func (message *Message) displayAdditional(msg *dns.Msg, opts *util.Options, opt *dns.OPT) error { - var ( ttl any name string