Call of gethostbyname fails in scripts on Linux.


Check hostname configuration:

Test on command line: nslookup machine_name

Sort out configuration in files /etc/hosts ; /etc/resolv.conf ; /etc/nsswitch.conf





Show Form
No comments yet. Be the first to add a comment!