From owner-freebsd-questions@freebsd.org Wed Mar 21 13:58:36 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BBAEF6A33B for ; Wed, 21 Mar 2018 13:58:36 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from mx-p1.obspm.fr (mx-p1.obspm.fr [145.238.193.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "*.obspm.fr", Issuer "TERENA SSL CA 3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EB6B370963 for ; Wed, 21 Mar 2018 13:58:35 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from io.chezmoi.fr (io-p2.obspm.fr [145.238.197.205]) (authenticated bits=0) by mx-p1.obspm.fr (8.14.4/8.14.4/DIO Observatoire de Paris - 15/04/10) with ESMTP id w2LDwW7O367882 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 21 Mar 2018 14:58:33 +0100 Date: Wed, 21 Mar 2018 14:58:37 +0100 From: Albert Shih To: freebsd-questions@freebsd.org Subject: Problem with resolving name Message-ID: <20180321135837.GH13706@io.chezmoi.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.9.4 (2018-02-28) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (mx-p1.obspm.fr [145.238.193.20]); Wed, 21 Mar 2018 14:58:33 +0100 (CET) X-Virus-Scanned: clamav-milter 0.99.3 at mx-p1.obspm.fr X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2018 13:58:36 -0000 Hi everyone I've got a very strange problem, first time since I'm using FreeBSD (from 3 I think). After a fresh install (freebsd 11.1-P8) I got a very strange behavior, if I dot ssh/ping fqdn I got a (after long time) ssh: Could not resolve hostname fqdn: hostname nor servname provided, or not known but if I do host fqdn I got the correct answer(instantly), and after that the ... sometime ... ssh/ping work fine, sometime ssh still not working. So I track with tcdump+wireshark, it seem the host try to resolv a AAAA record, but my server fqdn don't have a AAAA record (only V4 server), the host try 3 times after (3 time with AAAA). Instead a hosts fqdn do the correct dns request. I can use ssh -4 (and it's working), but it's seem every command who need a name resolution try the same thing and failed after some time, so lots of command become very slow. Inside my rc.conf no v6 configuration. Regards -- Albert SHIH DIO bātiment 15 Observatoire de Paris xmpp: jas@obspm.fr Heure local/Local time: Wed Mar 21 14:36:27 CET 2018