unsigned char buffer[MAX_NAME_LEN];
char *host = service_name("local");
int len = dn_comp(host, buffer, MAX_NAME_LEN, NULL, NULL);
unsigned char buffer[MAX_NAME_LEN];
char *host = service_name("local");
int len = dn_comp(host, buffer, MAX_NAME_LEN, NULL, NULL);