I want to see if the program is being run in EC2 or not.

One way is to run `hostname -d` in EC2 to get the `DNS domain name`.

How do I get this DNS domain name in Go.

I looked at the `net` package using <http://golang.org/pkg/net/#LookupNS>

But I need to pass an argument.

How do I check if it's in EC2 or not?

Thanks