Skip to main content

Problem:

  • Product: VisiBroker
  • Product Version: 7.0
  • Platform: HP-UX 11.11

If the OS network files are not configured correctly, it can cause significant delay when invoking the getAddrInfo() system call.  VisiBroker call the getAddrInfo() system call to resolve the host name.

Resolution:

The getAddrInfo system call rely on the following network configuration file:

nsswitch.conf & etc/hosts

files to determine whether to resolve the host through the DNS or host file. This system call is designed for dual stack machine.  If the resolution is through the DNS, the HP implementation will try IPv6 first before using IPv4 stack.

Refer the URL below for more information:
http://h20564.www2.hp.com/bc/docs/support/SupportManual/c02261504/c02261504.pdf


When a getAddrInfo() system call is invoked on the HP-UX 11.11, the OS tries to resolve the local host name through the DNS instead of the host addr file.  If it is not configured correctly, it may cause significant delays in your request/reply.

If you do not need to query the DNS, the nsswitch.conf in the etc directory must add the following line:

ipnodes:      files

for the getAddrInfo() call to query the etc/hosts file, instead.

For more information in configuring network address resolution, please refer to this link:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02285246/c02285246.pdf


#VisiBroker
#getaddrinfo
#Security