#8320: Problems with ping and gethostbyname function. -------------------------------------+------------------------------------- Reporter: dknoto | Owner: nobody Type: bug | Status: assigned Priority: normal | Milestone: R1 Component: Network & | Version: R1/Development Internet/IPv4 | Keywords: ping, gethostbyname, Resolution: | irs.conf, hosts Blocked By: | Blocking: Has a Patch: 0 | Platform: x86 -------------------------------------+------------------------------------- Comment (by Ziusudra): Adding the line {{{protocols local}}} to irs.conf fixes this. (I didn't try the test program but it can be assumed to work.) My complete irs.conf is: {{{ hosts local continue hosts dns protocols local }}} With this, the hosts file Disreali attached to #7362 works as expected for both Web+ and Terminal programs (ping/traceroute). (The MVPS hosts file mentioned by Matt fails to resolve anything. I haven't yet looked into why that may be.) The irs.conf and hosts files both have to be in {{{/boot/common/settings/network/}}}. A protocols file is not needed. No other files need to be added/modified. -- Ticket URL: <http://dev.haiku-os.org/ticket/8320#comment:2> Haiku <http://dev.haiku-os.org> Haiku - the operating system.