|
@@ -2157,7 +2157,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
|
|
|
ret = dns_add_A(packet, type, domain, ttl, addr);
|
|
|
if (ret < 0) {
|
|
|
- tlog(TLOG_ERROR, "add A failed, %s", domain);
|
|
|
+ tlog(TLOG_DEBUG, "add A failed, %s", domain);
|
|
|
return -1;
|
|
|
}
|
|
|
} break;
|
|
@@ -2172,7 +2172,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
|
|
|
ret = dns_add_CNAME(packet, type, domain, ttl, cname);
|
|
|
if (ret < 0) {
|
|
|
- tlog(TLOG_ERROR, "add CNAME failed, %s", domain);
|
|
|
+ tlog(TLOG_DEBUG, "add CNAME failed, %s", domain);
|
|
|
return -1;
|
|
|
}
|
|
|
} break;
|
|
@@ -2186,7 +2186,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
|
|
|
ret = dns_add_SOA(packet, type, domain, ttl, &soa);
|
|
|
if (ret < 0) {
|
|
|
- tlog(TLOG_ERROR, "add SOA failed, %s", domain);
|
|
|
+ tlog(TLOG_DEBUG, "add SOA failed, %s", domain);
|
|
|
return -1;
|
|
|
}
|
|
|
} break;
|
|
@@ -2200,7 +2200,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
|
|
|
ret = dns_add_NS(packet, type, domain, ttl, ns);
|
|
|
if (ret < 0) {
|
|
|
- tlog(TLOG_ERROR, "add NS failed, %s", domain);
|
|
|
+ tlog(TLOG_DEBUG, "add NS failed, %s", domain);
|
|
|
return -1;
|
|
|
}
|
|
|
} break;
|
|
@@ -2214,7 +2214,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
|
|
|
ret = dns_add_PTR(packet, type, domain, ttl, name);
|
|
|
if (ret < 0) {
|
|
|
- tlog(TLOG_ERROR, "add PTR failed, %s", domain);
|
|
|
+ tlog(TLOG_DEBUG, "add PTR failed, %s", domain);
|
|
|
return -1;
|
|
|
}
|
|
|
} break;
|
|
@@ -2228,7 +2228,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
|
|
|
ret = dns_add_AAAA(packet, type, domain, ttl, addr);
|
|
|
if (ret < 0) {
|
|
|
- tlog(TLOG_ERROR, "add AAAA failed, %s", domain);
|
|
|
+ tlog(TLOG_DEBUG, "add AAAA failed, %s", domain);
|
|
|
return -1;
|
|
|
}
|
|
|
} break;
|
|
@@ -2275,7 +2275,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
|
|
|
ret = _dns_add_RAW(packet, type, qtype, domain, ttl, raw_data, rr_len);
|
|
|
if (ret < 0) {
|
|
|
- tlog(TLOG_ERROR, "add raw failed, %s", domain);
|
|
|
+ tlog(TLOG_DEBUG, "add raw failed, %s", domain);
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
@@ -2285,7 +2285,7 @@ static int _dns_decode_an(struct dns_context *context, dns_rr_type type)
|
|
|
}
|
|
|
|
|
|
if (context->ptr - start != rr_len) {
|
|
|
- tlog(TLOG_ERROR, "length mismatch, %s, %ld:%d", domain, (long)(context->ptr - start), rr_len);
|
|
|
+ tlog(TLOG_DEBUG, "length mismatch, %s, %ld:%d", domain, (long)(context->ptr - start), rr_len);
|
|
|
return -1;
|
|
|
}
|
|
|
|