Andrej Podzimek wrote: > I flushed the caches with 'nscd -i <cache name>' (hosts, ipnodes). In > fact I had to do that in order to force the query generated by ping to > get resolved by DNS (so that Wireshark can capture it).
Try "pfexec svcadm restart name-service-cache" just to be sure. >> Do you see the same anomalous results if you do "getent ipnodes >> host.name.here"? > > $ getent ipnodes www.sun.com > 2002:5f52:81a4:1::1 www.sun.com www.sun.com.podzimek.org > 137.254.16.57 www.sun.com www.sun.com.podzimek.org > > $ getent hosts www.sun.com > 137.254.16.57 www.sun.com > > Well, I have no idea where the 'podzimek.org' suffix comes from. I believe it's the search path that the resolver (likely nscd) is using. This could have something to do with the problem. Here's what I see on my system: % getent ipnodes www.sun.com.podzimek.org 95.82.129.164 charon.podzimek.org www.sun.com.podzimek.org 2002:5f52:81a4::1 charon.podzimek.org www.sun.com.podzimek.org % getent ipnodes www.sun.com 137.254.16.57 www.sun.com % In other words, I don't have the same search path you do. -- James Carlson 42.703N 71.076W <[email protected]> _______________________________________________ networking-discuss mailing list [email protected]
