Fixed panic with dns output file usage
@@ -46,6 +46,7 @@ func NewDNSExecutor(options *DNSOptions) *DNSExecutor {
template: options.Template,
dnsRequest: options.DNSRequest,
writer: options.Writer,
+ outputMutex: &sync.Mutex{},
}
return executer
}
