Is it possible to force NIS to connect using TCP instead of UDP? I've scoured the documentation for both
ypserv (to force listening on TCP only) and
ypbind (to connect over TCP only) but found nothing (only an option to specify the listening port). I'm afraid somebody is going to answer "yes, if you compile from source..."
ypserv listens on both protocols, so why doesn't
ypbind try TCP when UDP fails?
I tried Phil's solution, but it turns out that ypbind first contacts portmap on UDP port 111. If it doesn't get a UDP response it just gives up.