Ich habe ein komisches Phänomen unter Solaris 10. Pinge ich einen host der nicht in /etc/hosts eingetragen ist, kann es schonmal 5-10 sekunden dauern, bis ich das "... is alive" bekomme. Steht der host in /etc/hosts, geht es sofort. Namensauflösung klappt aber einwandfrei. Pinge ich auf den FQDN des hosts geht auch einwandfrei schnell, auch wenn der host nicht in /etc/hosts steht.
meine nsswitch.conf sieht so aus:
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
# /etc/nsswitch.dns:
#
# An example file that could be copied over to /etc/nsswitch.conf; it uses
# DNS for hosts lookups, otherwise it does not use any other naming service.
#
# "hosts:" and "services:" in this file are used only if the
# /etc/netconfig file has a "-" for nametoaddr_libs of "inet" transports.
# DNS service expects that an instance of svc:/network/dns/client be
# enabled and online.
passwd: files winbind
group: files winbind
# You must also set up the /etc/resolv.conf file for DNS name
# server lookup. See resolv.conf(4).
hosts: files dns
# Note that IPv4 addresses are searched for in all of the ipnodes databases
# before searching the hosts databases.
ipnodes: files dns
networks: files
protocols: files
rpc: files
ethers: files
netmasks: files
bootparams: files
publickey: files
# At present there isn't a 'files' backend for netgroup; the system will
# figure it out pretty quickly, and won't use netgroups at all.
netgroup: files
automount: files nis
aliases: files
services: files
printers: user files
auth_attr: files
prof_attr: files
project: files
tnrhtp: files
tnrhdb: files