From a923720ca5a29dc515a001da5bf026c9898e1ee3 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sun, 3 Jul 2016 11:05:00 +0200 Subject: [PATCH] doc: we dont read /etc/hosts closes #149 Signed-off-by: Sebastian Wagner --- README.md | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.47.3