Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2018 14:58:37 +0100
From:      Albert Shih <Albert.Shih@obspm.fr>
To:        freebsd-questions@freebsd.org
Subject:   Problem with resolving name
Message-ID:  <20180321135837.GH13706@io.chezmoi.fr>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180321135837.GH13706>