Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: test for network libraries (for test only)/problems with name resolution



On Aug 22,  5:15pm, Andrej Borsenkow wrote:
} Subject: PATCH: test for network libraries (for test only)/problems with n
}
} I do not commit it for two reasons:
} 
}  - I'd like to know, that it does not break some other system

On RH5.2, I get:

[...]
checking for library containing yp_all... -lnsl
checking for library containing inet_aton... none required
checking for library containing inet_pton... none required
checking for library containing inet_ntop... none required
checking for library containing gethostbyname2... none required
checking for library containing socket... none required
[...]
checking for gethostname... yes
checking for gethostbyname2... yes
checking for getipnodebyname... no
checking for inet_aton... yes
checking for inet_pton... yes
checking for inet_ntop... yes
[...]

The build then proceeds just fine.

}  - I'm trapped on my own system. The problem is, now, when
} gethostbyname2 is correctly found, name resolution goes via resolver
} library. But this is using /etc/hosts only as fallback "if nameserver
} is not running" (at least in original bind implemetation as found
} here). Due to our infrastructure, it is unacceptable to me.

I'm not sure I understand ... do you mean that your nameserver *is*
running, but is not able to properly resolve all the names you need?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author