lib/param: change name resolve order to include lmhosts as per the docs