]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
doc: we dont read /etc/hosts
authorSebastian Wagner <sebix@sebix.at>
Sun, 3 Jul 2016 09:05:00 +0000 (11:05 +0200)
committerSebastian Wagner <sebix@sebix.at>
Sun, 3 Jul 2016 09:32:12 +0000 (11:32 +0200)
closes #149

Signed-off-by: Sebastian Wagner <sebix@sebix.at>
README.md

index d8c4cde149847f1e00daaa64d1adb8f2cd7e03a3..5cac345610081405560f55c47eaa2d4978b0dadb 100644 (file)
--- 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