From: Sebastian Wagner Date: Sun, 3 Jul 2016 09:05:00 +0000 (+0200) Subject: doc: we dont read /etc/hosts X-Git-Tag: v1.15.0~26^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a923720ca5a29dc515a001da5bf026c9898e1ee3;p=thirdparty%2Fdnspython.git doc: we dont read /etc/hosts closes #149 Signed-off-by: Sebastian Wagner --- diff --git a/README.md b/README.md index d8c4cde1..5cac3456 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,9 @@ manipulation of DNS zones, messages, names, and records. To see a few of the ways dnspython can be used, look in the examples/ directory. +dnspython is a utility to work with DNS, `/etc/hosts` is thus not used. +For simple forward DNS lookups, better use `socket.gethostbyname()`. + dnspython originated at Nominum where it was developed to facilitate the testing of DNS software. Nominum has generously allowed it to be open sourced under a BSD-style license, and helps support its future