Related to the https://github.com/golang/go/issues/13705
In previous recommendations microsoft in our organization uses a
first-level domain of .local.
(https://support.microsoft.com/en-us/kb/296250):
Three practical methods to name the DNS domain are:
- Make the name a private domain nam
Could this be related to:
"The pure Go name resolution implementation now respects nsswitch.conf's
stated preference for the priority of DNS lookups compared to local file
(that is, /etc/hosts) lookups."
On 20/07/2016 08:20, Runix wrote:
I use the library github.com/jmckaskill/gokerb/khttp in
I use the library github.com/jmckaskill/gokerb/khttp in its code (short code):
package main
import (
"log"
"net"
)
func main() {
cname, addrs, err := net.LookupSRV("kerberos", "udp", "DOMAIN.LOCAL")
log.Printf("cname: %#v\n\naddrs: %#v\n---\nerr: %#v", cname,
addrs, err)