N
nopohack
Hello,
I am attempting to use Net:ing as part of a script to validate
entries in our automount maps. To speed the process of checking the
mount points, I am using Net:ing to contact the nfs server to make
sure it is up. I know there are a few entries that reference NFS
servers that have been decommissioned, which is causing me problems.
When I try to do a $p->ack($host) and the hostname isn't registered in
DNS Net:ing dies. Is there a trick to get the ack method to not kill
my script when the hostname lookup fails?
Currently I am thinking that I need to DNS lookups on each hostname to
verify that it resolves, but one would think that attempting to ping a
non-existant host would return undef.
TIA!
I am attempting to use Net:ing as part of a script to validate
entries in our automount maps. To speed the process of checking the
mount points, I am using Net:ing to contact the nfs server to make
sure it is up. I know there are a few entries that reference NFS
servers that have been decommissioned, which is causing me problems.
When I try to do a $p->ack($host) and the hostname isn't registered in
DNS Net:ing dies. Is there a trick to get the ack method to not kill
my script when the hostname lookup fails?
Currently I am thinking that I need to DNS lookups on each hostname to
verify that it resolves, but one would think that attempting to ping a
non-existant host would return undef.
TIA!