Lines Matching defs:namebuf

186 	char namebuf[DNS_NAME_FORMATSIZE + 1];
209 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
214 strlcat(namebuf, ".", sizeof(namebuf));
218 result = getaddrinfo(namebuf, NULL, &hints, &ai);
219 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
231 strcasecmp(cur->ai_canonname, namebuf) != 0 &&
232 !logged(namebuf, ERR_IS_CNAME)) {
236 ownerbuf, namebuf,
240 add(namebuf, ERR_IS_CNAME);
247 if (!logged(namebuf, ERR_NO_ADDRESSES)) {
251 ownerbuf, namebuf);
252 add(namebuf, ERR_NO_ADDRESSES);
258 if (!logged(namebuf, ERR_LOOKUP_FAILURE)) {
261 namebuf, gai_strerror(result));
262 add(namebuf, ERR_LOOKUP_FAILURE);
285 if (!match && !logged(namebuf, ERR_EXTRA_A)) {
288 ownerbuf, namebuf,
291 add(namebuf, ERR_EXTRA_A);
315 if (!match && !logged(namebuf, ERR_EXTRA_AAAA)) {
318 ownerbuf, namebuf,
321 add(namebuf, ERR_EXTRA_AAAA);
333 if (!logged(namebuf, ERR_MISSING_GLUE)) {
365 ownerbuf, namebuf, type,
374 add(namebuf, ERR_MISSING_GLUE);
387 char namebuf[DNS_NAME_FORMATSIZE + 1];
399 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
404 strlcat(namebuf, ".", sizeof(namebuf));
408 result = getaddrinfo(namebuf, NULL, &hints, &ai);
409 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
421 strcasecmp(cur->ai_canonname, namebuf) != 0) {
425 if (!logged(namebuf, ERR_IS_MXCNAME)) {
430 ownerbuf, namebuf,
432 add(namebuf, ERR_IS_MXCNAME);
445 if (!logged(namebuf, ERR_NO_ADDRESSES)) {
449 ownerbuf, namebuf);
450 add(namebuf, ERR_NO_ADDRESSES);
456 if (!logged(namebuf, ERR_LOOKUP_FAILURE)) {
459 namebuf, gai_strerror(result));
460 add(namebuf, ERR_LOOKUP_FAILURE);
473 char namebuf[DNS_NAME_FORMATSIZE + 1];
485 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
490 strlcat(namebuf, ".", sizeof(namebuf));
494 result = getaddrinfo(namebuf, NULL, &hints, &ai);
495 dns_name_format(name, namebuf, sizeof(namebuf) - 1);
507 strcasecmp(cur->ai_canonname, namebuf) != 0) {
511 if (!logged(namebuf, ERR_IS_SRVCNAME)) {
515 ownerbuf, namebuf,
517 add(namebuf, ERR_IS_SRVCNAME);
530 if (!logged(namebuf, ERR_NO_ADDRESSES)) {
534 ownerbuf, namebuf);
535 add(namebuf, ERR_NO_ADDRESSES);
541 if (!logged(namebuf, ERR_LOOKUP_FAILURE)) {
544 namebuf, gai_strerror(result));
545 add(namebuf, ERR_LOOKUP_FAILURE);