summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Wagner <sebix@sebix.at>2016-07-03 11:05:00 +0200
committerSebastian Wagner <sebix@sebix.at>2016-07-03 11:32:12 +0200
commita923720ca5a29dc515a001da5bf026c9898e1ee3 (patch)
tree585bd490211327f9c67d73f784300936d1671be0
parentf6b91add2af058d370ccc9276cb25c7686670c11 (diff)
downloaddnspython-a923720ca5a29dc515a001da5bf026c9898e1ee3.tar.gz
doc: we dont read /etc/hosts
closes #149 Signed-off-by: Sebastian Wagner <sebix@sebix.at>
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index d8c4cde..5cac345 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