Mx is compiling and working
This commit is contained in:
parent
90735e313c
commit
ad2dc6d664
|
@ -7,8 +7,6 @@ import (
|
||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
var privatealg = "7.nsec4.nlnetlabs.nl."
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
if len(os.Args) != 2 {
|
if len(os.Args) != 2 {
|
||||||
fmt.Printf("%s DOMAIN\n", os.Args[0])
|
fmt.Printf("%s DOMAIN\n", os.Args[0])
|
||||||
|
@ -24,7 +22,7 @@ func main() {
|
||||||
m.MsgHdr.RecursionDesired = true
|
m.MsgHdr.RecursionDesired = true
|
||||||
|
|
||||||
// Simple sync query, nothing fancy
|
// Simple sync query, nothing fancy
|
||||||
r, err := c.Exchange(m, config.Servers[0])
|
r, err := c.Exchange(m, config.Servers[0] + ":" + config.Port)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("%s\n", err.Error())
|
fmt.Printf("%s\n", err.Error())
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|
Loading…
Reference in New Issue