Add priorities to hostfile entries.