Richard Lowe writes: > Will Fiveash <William.Fiveash at Sun.COM> writes: > >> - Perhaps it would be good to test a couple more internal hosts if > >> sunweb is down? > > It's a DNS lookup. I would assume that if you can't resolve sunweb > you'd be unable to resolve anything else swan-specific you may wish to > use(?). > > Is there a better way to check for SWAN connectivity other than trying > and seeing whether it succeeds?
No, I don't think so. This is one of the annoying problems with detecting network location; there are no canonical "you are here" signs, so the best you can do is guess -- and provide switches or options to allow a user to override in the cases where the guess turns out to be wrong. -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677