r18234: DNS failures are too common to log at level zero or 1.
authorJeremy Allison <jra@samba.org>
Thu, 7 Sep 2006 21:08:29 +0000 (21:08 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:51:17 +0000 (11:51 -0500)
Jeremy.
(This used to be commit 943e21d5da2a8aadab1b2c3d700a9b8b880582f2)

source3/libads/dns.c

index d5c851d5ca8dd100457f99f156d6e3d4a2e17793..063665d136b06708d490d4c3c9d5474c7cad7ebc 100644 (file)
@@ -287,7 +287,7 @@ static NTSTATUS dns_send_req( TALLOC_CTX *ctx, const char *name, int q_type,
                }
 
                if ( (resp_len = res_query(name, C_IN, q_type, buffer, buf_len)) < 0 ) {
-                       DEBUG(1,("ads_dns_lookup_srv: Failed to resolve %s (%s)\n", name, strerror(errno)));
+                       DEBUG(3,("ads_dns_lookup_srv: Failed to resolve %s (%s)\n", name, strerror(errno)));
                        TALLOC_FREE( buffer );
                        return NT_STATUS_UNSUCCESSFUL;
                }
@@ -323,7 +323,7 @@ static NTSTATUS ads_dns_lookup_srv( TALLOC_CTX *ctx, const char *name, struct dn
 
        status = dns_send_req( ctx, name, T_SRV, &buffer, &resp_len );
        if ( !NT_STATUS_IS_OK(status) ) {
-               DEBUG(0,("ads_dns_lookup_srv: Failed to send DNS query (%s)\n",
+               DEBUG(3,("ads_dns_lookup_srv: Failed to send DNS query (%s)\n",
                        nt_errstr(status)));
                return status;
        }
@@ -471,7 +471,7 @@ NTSTATUS ads_dns_lookup_ns( TALLOC_CTX *ctx, const char *dnsdomain, struct dns_r
           
        status = dns_send_req( ctx, dnsdomain, T_NS, &buffer, &resp_len );
        if ( !NT_STATUS_IS_OK(status) ) {
-               DEBUG(0,("ads_dns_lookup_ns: Failed to send DNS query (%s)\n",
+               DEBUG(3,("ads_dns_lookup_ns: Failed to send DNS query (%s)\n",
                        nt_errstr(status)));
                return status;
        }