A bit off topic, but note that the method names are misleading: the methods in fact manage writing the host name **to /etc/hosts**, which is another way to **resolve** names, parallel to **DNS**.