func GenServiceID(service, name, proto string) (string, error) {
	h, _ := os.Hostname()
	d := strings.SplitN(h, ".", 2)
	if len(d) != 2 {
		return "", fmt.Errorf("Unable to determine FQDN, only got short name.")
	}
	return fmt.Sprintf("_%s-%s._%s.%s", service, name, proto, d[1]), nil
}
func GenServiceID(service, name, proto string) (string, error) {
	h, _ := os.Hostname()
	d := strings.SplitN(h, ".", 2)
	if len(d) != 2 {
		return "", fmt.Errorf("Unable to determine FQDN, only got short name.")
	}
	return fmt.Sprintf("_%s-%s._%s.%s", service, name, proto, d[1]), nil
}
//TODO: need to remove the hack to add IAD3 identifier -- What hack? Not sure
// what this refers to.