func (D *DNS) Version() string {
	return "0.1"
}
Version : Version  getter
package dns
import (
	"encoding/gob"
	"fmt"
	"log"
	"math/rand"
	"os"
	"path/filepath"
	"strings"
	"time"
	"github.com/BurntSushi/toml"
	"github.com/miekg/dns"
	"github.com/netm4ul/netm4ul/core/communication"
	"github.com/netm4ul/netm4ul/core/config"
	"github.com/netm4ul/netm4ul/core/database/models"
	"github.com/netm4ul/netm4ul/core/events"
	"github.com/netm4ul/netm4ul/modules"
)
type Result struct {
	Types map[string][]string
}
type ConfigDNS struct {
	RandomDNS bool `toml:"randomDNS"`
}
type DNS struct {
	ConfigDNS ConfigDNS
	Config    config.ConfigToml
}
func NewDNS() modules.Module {
	gob.Register(Result{})
	var d modules.Module
	d = &DNS{}
	return d
}
func (D *DNS) Name() string {
	return "Dns"
}
func (D *DNS) Author() string {
	return "Rzbaa"
}