From aeddd3a13af3e000bad87368ab3aef068d36c6a8 Mon Sep 17 00:00:00 2001 From: jmodhiambo Date: Sun, 2 Feb 2025 04:13:50 +0300 Subject: [PATCH] Added explanation of recursive vs. iterative DNS queries --- README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rst b/README.rst index 994def02..fb16530a 100644 --- a/README.rst +++ b/README.rst @@ -223,6 +223,12 @@ DNS lookup ``ARP process`` below for the DNS server. * If the DNS server is on a different subnet, the network library follows the ``ARP process`` below for the default gateway IP. +* If the configured DNS server (e.g., ISP’s caching DNS) does not have the record, + it performs a recursive or iterative query. +* In a recursive query, the resolver contacts other DNS servers on behalf of the + client until it finds the answer. +* In an iterative query, the resolver returns a referral to another DNS server + that might have the answer, and the client follows up with additional queries. ARP process