NRPE starts failing to resolve hosts at random times, e.g., "check_nrpe -c some_command" returns "check_ping: Invalid hostname/address" while running the underlying check_ping command manually works fine.
So somehow being invoked from nrpe and/or launchd causes name resolution to work differently? Turning off mDNSResponder entirely with launchctl unload causes both nrpe and check_ping to not be able to resolve hosts, but host and nslookup still work fine.
Is it so much to ask that my machine should simply resolve hosts through plain old DNS instead of whatever-the-fuck crazy-assed games Apple is playing?
MacOS 10.6.8, NRPE 2.12.