花井@京都です.
From: KYUSHIMA Masahiro <sheemer@xxxxxxxxxxxx>
> 使っているホストSが、ふたつの異なるネットワークに接続します。その度に
<略>
> ネットワークAにおいて、別ホストMからこのホストSへsshで入ろうとすると、
> 認証前に数十秒待ちます。etherealを使ってこのタイミングでパケットモニタを
> したところ、ホストSが**ネットワークXでの**DNSのIPアドレスへ向けて
> ホストMの逆引きをしていました。
nscd が動いているのではないでしょうか?
man nscd に
NOTES
Nscd doesn't know anything about the underlaying protocols for a serュ
vice. This also means, that if you change /etc/resolv.conf for DNS
queries, nscd will continue to use the old one if you have configured
/etc/nsswitch.conf(5) to use DNS for host lookups. In such a case, you
need to restart nscd.
とあります.
ところで,nscd のご利益って何でしょう?
よくわからないから,いつも,インストール,即,止めてます.