Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 565
    • Issues 565
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 93
    • Merge requests 93
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #2513
Closed
Open
Issue created Feb 22, 2021 by Jakub@Jaricek

Random resolve problem query.c:7274

Summary

Random resolve problem.

BIND version used

root@cnc-dns-internal-01:/var/log/named# named -V
BIND 9.16.12-Ubuntu (Stable Release) <id:aeb943d>
running on Linux x86_64 5.8.0-43-generic #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021
built by make with '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=/usr/include' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=/usr/lib/x86_64-linux-gnu' '--libexecdir=/usr/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' '--libdir=/usr/lib/x86_64-linux-gnu' '--sysconfdir=/etc/bind' '--with-python=python3' '--localstatedir=/' '--enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-gost=no' '--with-openssl=/usr' '--with-gssapi=/usr' '--with-libidn2' '--with-json-c' '--with-lmdb=/usr' '--with-gnu-ld' '--with-maxminddb' '--with-atf=no' '--enable-ipv6' '--enable-rrl' '--enable-filter-aaaa' '--disable-native-pkcs11' '--enable-dnstap' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/build/bind9-EkwSA3/bind9-9.16.12=. -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -fno-delete-null-pointer-checks -DNO_VERSION_DATE -DDIG_SIGCHASE' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2'
compiled by GCC 9.3.0
compiled with OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
linked to OpenSSL version: OpenSSL 1.1.1f  31 Mar 2020
compiled with libuv version: 1.38.1
linked to libuv version: 1.38.1
compiled with libxml2 version: 2.9.10
linked to libxml2 version: 20910
compiled with json-c version: 0.13.1
linked to json-c version: 0.13.1
compiled with zlib version: 1.2.11
linked to zlib version: 1.2.11
linked to maxminddb version: 1.4.2
compiled with protobuf-c version: 1.3.3
linked to protobuf-c version: 1.3.3
threads support is enabled

default paths:
  named configuration:  /etc/bind/named.conf
  rndc configuration:   /etc/bind/rndc.conf
  DNSSEC root key:      /etc/bind/bind.keys
  nsupdate session key: //run/named/session.key
  named PID file:       //run/named/named.pid
  named lock file:      //run/named/named.lock
  geoip-directory:      /usr/share/GeoIP

SYSTEM:
VERSION="20.04.2 LTS (Focal Fossa)"

Steps to reproduce

This is a recursive request to translate a domain from our internal servers. This problem occurs randomly with multiple independent domains.

What is the current bug behavior?

Domain is not resolve.

What is the expected correct behavior?

Resolve domains correctly.

Relevant configuration files

options {

        listen-on port 53 { 127.0.0.1; XXX;};

        directory "/var/cache/bind";
        dump-file "/var/cache/bind/cache_dump.db";
        statistics-file "/var/cache/bind/named.stats";
        memstatistics-file "/var/cache/bind/named.mem.stats";

        //dnssec-enable yes;
        dnssec-validation no;
        empty-zones-enable no;  

        allow-recursion {                               
                        XXX/16;
                        localhost;
        };

        allow-query     { any; };                       

        allow-notify { none; };                         
        allow-update { none; };                          
        allow-transfer { XXX; };               
        also-notify { XXX; };                  
        minimal-responses yes;                          
        notify explicit;                                
       
        lame-ttl        10;                             
        max-ncache-ttl  30;                             
        max-cache-ttl   10;                            
        max-cache-size  512M;                           
 
        masterfile-format text;                         /
        listen-on-v6 { none; };
};

include "/etc/bind/rndc.key";

controls {
        inet 127.0.0.1  allow { 127.0.0.1; } keys { rndc-key; };
};

Relevant logs and/or screenshots

/var/log/named/default.log.1:21-Feb-2021 13:00:13.280 client @0x7f25d0032c68 172.29.55.122#41055 (app.smartemailing.cz): query failed (failure) for app.smartemailing.cz/IN/A at query.c:7274
/var/log/named/default.log.1:21-Feb-2021 13:00:13.280 fetch completed at resolver.c:4276 for app.smartemailing.cz/A in 0.036000: failure/success [domain:smartemailing.cz,referral:0,restart:7,qrysent:6,timeout:0,lame:0,quota:0,neterr:6,badresp:0,adberr:0,findfail:0,valfail:0]
Edited Feb 22, 2021 by Mark Andrews
Assignee
Assign to
Time tracking