Received: from mail-ej1-f42.google.com (mail-ej1-f42.google.com [209.85.218.42]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 95E7D782B71 for <~alpine/users@lists.alpinelinux.org>; Thu, 4 Mar 2021 18:51:05 +0000 (UTC) Received: by mail-ej1-f42.google.com with SMTP id jt13so51527195ejb.0 for <~alpine/users@lists.alpinelinux.org>; Thu, 04 Mar 2021 10:51:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:reply-to:to:cc:date:references:mime-version :content-transfer-encoding; bh=7Ou3irz97QlZf+h/tihALr3wCxuTeoLORO1K0eFsKv8=; b=FdlP1vkIcCttE0qu9I8txMmUyMHCqXFvVpMBSpMMOATHTlEcUZ6kFXtrsXEBrLTp0K KlzTULg4rH/i7Uta+RuRY7O8FtNfOlEDS/G7iNn4udzWxp2Egr3ufYlTP0I5/STqXoLg iME8U2gDN3Ah9AUTWX+IZOqQRjHQe8BZXzh24GFpJNdmtb4tKgDrVmk4loQ8/3ivpei4 RJMLNzATqq46RwX9fJAsEWArKeC3xHjqBRImlK45zBDBm6rMMHdfxQkfC1y29/AC9r71 y1gJmqzII8yYtF/N9ocmoZOEXPRSGKwNAt0Fhe4EQnEJtMDZzzpXu9MkGoi6txEsc4vl eUPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :references:mime-version:content-transfer-encoding; bh=7Ou3irz97QlZf+h/tihALr3wCxuTeoLORO1K0eFsKv8=; b=uJSqoDZ+mJqNLQnVEbZ5kCpoL+24AHNpumP1NMph5A3NQl9JvPh/84Rvx479RCAPDE +Jy/j2XJJcc+pjuN/lHw6GcddkTa7JPfZtfpVS8NCjXiC4A4nqLxS1T0OdVz1uLu4W3r r678j01QlTYIRrIfTUWplxE8mPNKFXnYMYRBFOYzy2xH+DB70EKiz3d1jrlR5gEV/VtK CDrzP5+ROgyUisZkikXZZ1q0Lb6Q34vFtqiw/5L33ISWbIZWVygGlxzxeukcpJbbz7C4 ZctOEqbLDTZSJztWJs325lZhbQPtv8dP9jPiFesOeuTVCHwp0RFYFQ0sjEMCNcFdRiSd cAoA== X-Gm-Message-State: AOAM531q+UKLSJLQxeXTWbGWL+pN5x9xK+/9EyK90UolK+FxfC4sF/5X dC4MEPcHyqnrfFws9D4qGyUO0bTKn//fVA== X-Google-Smtp-Source: ABdhPJyzC8xaI3raKkppGSs2DOjXwjXKA0EWOAUBm1ncw0PMe2xn20ES6BwA1oUfkuUx7dwhSDTzBg== X-Received: by 2002:a17:907:2513:: with SMTP id y19mr5820309ejl.241.1614883864790; Thu, 04 Mar 2021 10:51:04 -0800 (PST) Received: from [10.0.2.15] ([173.38.220.44]) by smtp.googlemail.com with ESMTPSA id v11sm143906eds.14.2021.03.04.10.51.04 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Mar 2021 10:51:04 -0800 (PST) Message-ID: <2c1646e0529866946924514f25e299d00028cb6d.camel@gmail.com> Subject: Re: name resolution problem From: Sebastian Lusenti Reply-To: CALODqpqum5pRkfFQACSYF5xci-DLD2m6NRSTVyi+4GCZh_O6ew@mail.gmail.com To: ~alpine/users@lists.alpinelinux.org Cc: banibrata.dutta@gmail.com Date: Thu, 04 Mar 2021 19:51:03 +0100 References: <1a40d7d7f8bd3675da5a953d1c739a6f9c22ff21.camel@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit hi all, I've notice that nslookup took a very short time befor output "no answer from the server" and exit. I used tcpdump to check what's going on and I found that sometimes dns took more then a sec to respond, so I tried to edit /etc/resolv.conf with some options (please see below) but nothing heppen and morover, the nslookup doesn't respect the timeout option nor the attemps option written in the file. alpine@alpibox ~> time nslookup some.host.local Server: x.x.x.1 Address: x.x.x.1:53 *** Can't find some.host.local: No answer ________________________________________________________ Executed in 62.15 millis fish external usr time 294.00 micros 294.00 micros 0.00 micros sys time 627.00 micros 78.00 micros 549.00 micros alpine@alpibox ~> cat /etc/resolv.conf nameserver x.x.x.1 nameserver x.x.x.2 nameserver x.x.x.3 options timeout:3 options attempts:2