Categories
Welcome Center
Education & Development
Discussions
Certification Preparation
Recent Posts
Groups
Free Resources
Ebooks
Free Workshops
Trending Certifications Infographic
Infosec Training
IT & Security Training
Live Boot Camps
Security Awareness Training
About Infosec Institute
Home
Certification Preparation
Microsoft
DNS - recursion/forwarding
VantageUK
Simple question.
What is the difference between recursion and forwarding in DNS?
As far as I can see (MS Press) they both send DNS queries from a client that the local server can't resolve on to upstream DNS servers and then pass on the reply to the requesting client.
Can anyone clarify the difference, if there is one?
Cheers
Charlie.
Find more posts tagged with
Save $250 on 2025 certification boot camps from Infosec!
Book now with code EOY2025
Button
Comments
dynamik
Basically, recursion occurs if the 2003 DNS server cannot resolve the name itself and doesn't have it in it's cache. It'll start at the root zone and work it's way down. For example, if you're trying to get to support.microsoft.com, it'll query the root zone (.), which will refer it to a dns server responsible for com, which will finally refer it to the dns server responsible for microsoft.com.
Forwarding basically just sends a DNS to another DNS server, such as your ISPs. Then that server will either resolve queries, refer to it's cache, or perform recursion itself. Forwarding can have security and/or performance benefits.
There's a lot more information (with diagrams) here:
http://technet2.microsoft.com/windowsserver/en/library/0bcd97e6-b75d-48ce-83ca-bf470573ebdc1033.mspx?mfr=true
http://technet2.microsoft.com/windowsserver/en/library/0104be3c-0405-4455-b011-6950875c04461033.mspx?mfr=true
royal
Also, you can set a forwarder, and if the forwarder can't resolve it, you can have your DNS server still provide recursion via root hints (default).
VantageUK
And lo, it all became clear!
Thanks both.
Charlie.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Best Of
INFOSEC Boot Camps
$250
OFF
Use code
EOY2025
to receive $250 off your 2025 certification boot camp!
BROWSE BOOT CAMPS