about name services



Hi all,

Our nsswitch.conf file contains files dns for hosts database. According to
that line, when I ping any host with hostname, it looks up files and after
dns. However, if I ping the host via IP not via hostname. It also uses the
nsswitch.conf's lookup-order. If there is no entry on both, it is pinging as
IP. So, is there any way to get rid of nsswitch.conf lookups, if I ping the
hosts via IP. The disadvantage of that, the ping request are coming from in
60ms. Due to that, some monitors tools see the systems in down state. We would
like to overcome that situation.



Regards,



Asiye Yigit
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Cant ping by hostname only by IP address
    ... I just installed RHEL WS 3.0 and I can ping other hosts in my subnet ... by IP address but not by hostname. ... hosts: files dns ...
    (RedHat)
  • Re: DNS not working well on ubuntu8
    ... see in the /etc/resolv.conf file that the nameservers are listed ... I am able to ping the machines by hostname in my ... similar entry for hosts: ...
    (comp.os.linux.networking)
  • Re: Sendmail Error
    ... hostname hostname.mydomain.com ... And ...see /etc/nsswitch.conf for the resolution order. ... $ grep hosts /etc/nsswitch.conf ... hosts: files dns ...
    (comp.unix.bsd.freebsd.misc)
  • RE: Cant ping by hostname only by IP address
    ... If you add one of the other machines in your local /etc/hosts with its ip ... address you should then be able to ping that machine by name. ... Can't ping by hostname only by IP address ... I just installed RHEL WS 3.0 and I can ping other hosts in my subnet ...
    (RedHat)
  • Re: DNS across domains
    ... Can you do an nslookup on those hosts that you can ping by IP but not by ... vs. their A record is there but you still can't ping by it. ... * Is there any other unifying element between those machines you can ping ... by hostname vs. those you can ping by IP only? ...
    (microsoft.public.windows.server.dns)