Why Error Message?

160 views
Skip to first unread message

Steve Burrus

unread,
Apr 20, 2015, 6:55:57 PM4/20/15
to golan...@googlegroups.com
Why am I consistently getting this error message when I try to run Go?

"C:\Go>go run hello.go
DNS server not authoritative for zone."

Chris Manghane

unread,
Apr 20, 2015, 6:59:57 PM4/20/15
to Steve Burrus, golan...@googlegroups.com
I think we'd need to know what's in "hello.go."

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Chris Manghane

unread,
Apr 20, 2015, 9:26:17 PM4/20/15
to Steve Burrus, golan...@googlegroups.com
How did you install Go and which version of the Go is it? I'd recommend retrying the instructions at https://golang.org/doc/install and reporting back if you still have this problem. This is not a Go problem, but instead appears to be an issue caused by interacting with the command line on a windows machine.

On Mon, Apr 20, 2015 at 6:14 PM Steve Burrus <steveb...@gmail.com> wrote:
Thanx for responmding Chris. wEll there Isn't much in the, actually, steve.go file. Here is the perpetual error message :

"c:\Go>go run steve.go
DNS server not authoritative for zone."

and here is my code :

package main

import "fmt"

func main(){
  fmt.Println("Hey It's Me Steve Burrus")
 }
 
just what is wrong here?

Egon

unread,
Apr 21, 2015, 4:51:08 AM4/21/15
to golan...@googlegroups.com

peterGo

unread,
Apr 21, 2015, 9:50:46 AM4/21/15
to golan...@googlegroups.com
Steve,

I don't see a problem.

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\go>go version
go version devel +c0fa9e3 Tue Apr 21 10:01:53 2015 +0000 windows/amd64
C:\go>type steve.go

package main

import "fmt"

func main() {
        fmt.Println("Hey It's Me Steve Burrus")
}

C:\go>go run steve.go

Hey It's Me Steve Burrus
C:\go>

Peter
Reply all
Reply to author
Forward
0 new messages