[PROXYPER] more than 1 Porxy in the .ini file?

Chris Hodson (Cotelligent Consultant) cmh at fpk.hp.com
Wed Mar 1 18:20:39 EST 2000

Peter Cordes wrote:
> On Wed, Mar 01, 2000 at 12:54:28PM -0800, Jeff Lawson wrote:
> > FWIW, Windows NT/2000 support hosts files that are placed within the
> > directory %SystemRoot%\system32\drivers\etc\.  Within that directory, you
> > should probably find a sample file (hosts.sam) demonstrating the syntax of
> > the file. I have not verified whether its implementation will accomodate
> > multiple IP addresses that map to the same hostname.  Note that
> > nslookup.exe is not always an accurate test of resolvability, since it
> > seems to generate raw DNS queries bypassing the normal socket resolution
> > flow control.
>  That's how nslookup on Unix works, too.  I usually use ping as a program
> that uses the normal resolver, to check that I've got the whole system set
> up to correctly return IP addresses to normal programs.  It seems that all
> the DNS tools talk to the DNS directly or something instead of using
> gethostbyname.  Hmm, I should write a wrapper around gethostbyname...

Not on every unix.  On HP-UX, for example, nslookup respects the wishes
of /etc/nsswitch.conf, which determines the order of lookups.  Perhaps
you need a better version of nslookup.

I don't mean this a an OS/flavor war. :)

Christopher M. Hodson
System Administrator (Consultant)
Hewlett-Packard - EIAL
cmh at fpk.hp.com
To unsubscribe, send 'unsubscribe proxyper' to majordomo at lists.distributed.net

More information about the proxyper mailing list