DNS and BIND Other Resources from O’Reilly

Total Page:16

File Type:pdf, Size:1020Kb

DNS and BIND Other Resources from O’Reilly DNS and BIND Other resources from O’Reilly Related titles DNS and BIND Cookbook™ DNS on Windows Server 2003 oreilly.com oreilly.com is more than a complete catalog of O’Reilly books. You’ll also find links to news, events, articles, weblogs, sample chapters, and code examples. oreillynet.com is the essential portal for developers interested in open and emerging technologies, including new platforms, pro- gramming languages, and operating systems. Conferences O’Reilly brings diverse innovators together to nurture the ideas that spark revolutionary industries. We specialize in document- ing the latest tools and systems, translating the innovator’s knowledge into useful skills for those in the trenches. Visit con- ferences.oreilly.com for our upcoming events. Safari Bookshelf (safari.oreilly.com) is the premier online refer- ence library for programmers and IT professionals. Conduct searches across more than 1,000 books. Subscribers can zero in on answers to time-critical questions in a matter of seconds. Read the books on your Bookshelf from cover to cover or sim- ply flip to the page you need. Try it today for free. FIFTH EDITION DNS and BIND Cricket Liu and Paul Albitz Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo DNS and BIND, Fifth Edition by Cricket Liu and Paul Albitz Copyright © 2006, 2001, 1998, 1997, 1992 O’Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or [email protected]. Editor: Mike Loukides Cover Designer: Edie Freedman Production Editor: Matt Hutchinson Interior Designer: David Futato Copyeditor: Mary Anne Weeks Mayo Cover Illustrator: Karen Montgomery Proofreader: Matt Hutchinson Illustrators: Robert Romano and Jessamyn Read Indexer: Ellen Troutman-Zaig Printing History: October 1992: First Edition. January 1997: Second Edition. September 1998: Third Edition. April 2001: Fourth Edition. May 2006: Fifth Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. DNS and BIND, the image of grasshoppers, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. This book uses RepKover™, a durable and flexible lay-flat binding. ISBN: 978-0-596-10057-5 [M] [7/09] Table of Contents Preface . xi 1. Background . 1 A (Very) Brief History of the Internet 1 On the Internet and Internets 2 The Domain Name System, in a Nutshell 4 The History of BIND 9 Must I Use DNS? 9 2. How Does DNS Work? . 11 The Domain Namespace 11 The Internet Domain Namespace 17 Delegation 21 Nameservers and Zones 22 Resolvers 26 Resolution 27 Caching 34 3. Where Do I Start? . 37 Getting BIND 37 Choosing a Domain Name 41 4. Setting Up BIND . 53 Our Zone 53 Setting Up Zone Data 54 Setting Up a BIND Configuration File 65 Abbreviations 68 Hostname Checking 71 v Tools 73 Running a Primary Nameserver 74 Running a Slave Nameserver 81 Adding More Zones 88 What’s Next? 88 5. DNS and Electronic Mail . 89 MX Records 90 Movie.edu’s Mail Server 92 What’s a Mail Exchanger, Again? 92 The MX Algorithm 94 DNS and Email Authentication 96 6. Configuring Hosts . 100 The Resolver 100 Resolver Configuration 101 Sample Resolver Configurations 112 Minimizing Pain and Suffering 114 Additional Configuration Files 119 The Windows XP Resolver 120 7. Maintaining BIND . 127 Controlling the Nameserver 127 Updating Zone Datafiles 136 Organizing Your Files 143 Changing System File Locations 147 Logging 148 Keeping Everything Running Smoothly 158 8. Growing Your Domain . 177 How Many Nameservers? 177 Adding More Nameservers 185 Registering Nameservers 189 Changing TTLs 192 Planning for Disasters 195 Coping with Disaster 198 vi | Table of Contents 9. Parenting . 201 When to Become a Parent 202 How Many Children? 202 What to Name Your Children 203 How to Become a Parent: Creating Subdomains 204 Subdomains of in-addr.arpa Domains 214 Good Parenting 220 Managing the Transition to Subdomains 223 The Life of a Parent 225 10. Advanced Features . 226 Address Match Lists and ACLs 226 DNS Dynamic Update 228 DNS NOTIFY (Zone Change Notification) 235 Incremental Zone Transfer (IXFR) 240 Forwarding 244 Views 247 Round-Robin Load Distribution 250 Nameserver Address Sorting 253 Preferring Nameservers on Certain Networks 255 A Nonrecursive Nameserver 256 Avoiding a Bogus Nameserver 257 System Tuning 258 Compatibility 267 The ABCs of IPv6 Addressing 268 Addresses and Ports 270 11. Security . 282 TSIG 283 Securing Your Nameserver 287 DNS and Internet Firewalls 300 The DNS Security Extensions 322 12. nslookup and dig . 349 Is nslookup a Good Tool? 349 Interactive Versus Noninteractive 351 Option Settings 352 Avoiding the Search List 355 Common Tasks 355 Table of Contents | vii Less Common Tasks 358 Troubleshooting nslookup Problems 366 Best of the Net 370 Using dig 371 13. Reading BIND Debugging Output . 376 Debugging Levels 376 Turning On Debugging 379 Reading Debugging Output 380 The Resolver Search Algorithm and Negative Caching (BIND 8) 393 The Resolver Search Algorithm and Negative Caching (BIND 9) 394 Tools 395 14. Troubleshooting DNS and BIND . 396 Is NIS Really Your Problem? 396 Troubleshooting Tools and Techniques 397 Potential Problem List 409 Transition Problems 426 Interoperability and Version Problems 427 TSIG Errors 431 Problem Symptoms 432 15. Programming with the Resolver and Nameserver Library Routines . 438 Shell Script Programming with nslookup 438 C Programming with the Resolver Library Routines 445 Perl Programming with Net::DNS 470 16. Architecture . 474 External, Authoritative DNS Infrastructure 474 Forwarder Infrastructure 478 Internal DNS Infrastructure 480 Operations 481 Keeping Up with DNS and BIND 482 viii | Table of Contents 17. Miscellaneous . 483 Using CNAME Records 483 Wildcards 488 A Limitation of MX Records 489 Dial-up Connections 489 Network Names and Numbers 494 Additional Resource Records 496 ENUM 501 Internationalized Domain Names 504 DNS and WINS 506 DNS, Windows, and Active Directory 508 A. DNS Message Format and Resource Records . 517 B. BIND Compatibility Matrix . 537 C. Compiling and Installing BIND on Linux . 538 D. Top-Level Domains . 543 E. BIND Nameserver and Resolver Configuration . 548 Index . 589 Table of Contents | ix Preface1 You may not know much about the Domain Name System—yet—but whenever you use the Internet, you use DNS. Every time you send electronic mail or surf the World Wide Web, you rely on the Domain Name System. You see, while you, as a human being, prefer to remember the names of computers, computers like to address each other by number. On an internet, that number is 32 bits long, or between 0 and 4 billion or so.* That’s easy for a computer to remember because computers have lots of memory ideal for storing numbers, but it isn’t nearly as easy for us humans. Pick 10 phone numbers out of the phone book at random and then try to remember them. Not easy? Now flip to the front of the phone book and attach random area codes to the phone numbers. That’s about how difficult it would be to remember 10 arbitrary internet addresses. This is part of the reason we need the Domain Name System. DNS handles mapping between hostnames, which we humans find convenient, and internet addresses, which computers deal with. In fact, DNS is the standard mechanism on the Internet for advertising and accessing all kinds of information about hosts, not just addresses. And DNS is used by virtually all internetworking software, including electronic mail, remote terminal programs such as ssh, file transfer programs such as ftp, and web browsers such as Microsoft’s Internet Explorer. Another important feature of DNS is that it makes host information available all over the Internet. Keeping information about hosts in a formatted file on a single com- puter only helps users on that computer. DNS provides a means of retrieving infor- mation remotely from anywhere on the network. More than that, DNS lets you distribute the management of host information among many sites and organizations. You don’t need to submit your data to some central site or periodically retrieve copies of the “master” database. You simply make sure * And, with IP version 6, it’s a whopping 128 bits long, or between 0 and a 39-digit decimal number. xi This is the Title of the Book, eMatter Edition Copyright © 2009 O’Reilly & Associates, Inc. All rights reserved. your section, called a zone, is up to date on your nameservers. Your nameservers make your zone’s data available to all the other nameservers on the network. Because the database is distributed, the system also needs to be able to locate the data you’re looking for by searching a number of possible locations. The Domain Name System gives nameservers the intelligence to navigate through the database and find data in any zone. Of course, DNS does have a few problems. For example, the system allows more than one nameserver to store data about a zone, for redundancy’s sake, but inconsis- tencies can crop up between copies of the zone data.
Recommended publications
  • DNS Zones Overview
    DNS Zones Overview A DNS zone is the contiguous portion of the DNS domain name space over which a DNS server has authority. A zone is a portion of a namespace. It is not a domain. A domain is a branch of the DNS namespace. A DNS zone can contain one or more contiguous domains. A DNS server can be authoritative for multiple DNS zones. A non-contiguous namespace cannot be a DNS zone. A zone contains the resource records for all of the names within the particular zone. Zone files are used if DNS data is not integrated with Active Directory. The zone files contain the DNS database resource records that define the zone. If DNS and Active Directory are integrated, then DNS data is stored in Active Directory. The different types of zones used in Windows Server 2003 DNS are listed below: Primary zone Secondary zone Active Directory-integrated zone Reverse lookup zone Stub zone A primary zone is the only zone type that can be edited or updated because the data in the zone is the original source of the data for all domains in the zone. Updates made to the primary zone are made by the DNS server that is authoritative for the specific primary zone. Users can also back up data from a primary zone to a secondary zone. A secondary zone is a read-only copy of the zone that was copied from the master server during zone transfer. In fact, a secondary zone can only be updated through zone transfer. An Active Directory-integrated zone is a zone that stores its data in Active Directory.
    [Show full text]
  • Domain Name System 1 Domain Name System
    Domain Name System 1 Domain Name System The Domain Name System (DNS) is a hierarchical distributed naming system for computers, services, or any resource connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. A Domain Name Service translates queries for domain names (which are easier to understand and utilize when accessing the internet) into IP addresses for the purpose of locating computer services and devices worldwide. An often-used analogy to explain the Domain Name System is that it serves as the phone book for the Internet by translating human-friendly computer hostnames into IP addresses. For example, the domain name www.example.com translates to the addresses 192.0.43.10 (IPv4) and 2620:0:2d0:200::10 (IPv6). The Domain Name System makes it possible to assign domain names to groups of Internet resources and users in a meaningful way, independent of each entity's physical location. Because of this, World Wide Web (WWW) hyperlinks and Internet contact information can remain consistent and constant even if the current Internet routing arrangements change or the participant uses a mobile device. Internet domain names are easier to remember than IP addresses such as 208.77.188.166 (IPv4) or 2001:db8:1f70::999:de8:7648:6e8 (IPv6). Users take advantage of this when they recite meaningful Uniform Resource Locators (URLs) and e-mail addresses without having to know how the computer actually locates them. The Domain Name System distributes the responsibility of assigning domain names and mapping those names to IP addresses by designating authoritative name servers for each domain.
    [Show full text]
  • DNS) Administration Guide
    Edgecast Route (DNS) Administration Guide Disclaimer Care was taken in the creation of this guide. However, Edgecast cannot accept any responsibility for errors or omissions. There are no warranties, expressed or implied, including the warranty of merchantability or fitness for a particular purpose, accompanying this product. Trademark Information EDGECAST is a registered trademark of Verizon Digital Media Services Inc. About This Guide Route (DNS) Administration Guide Version 2.40 8/28/2021 ©2021 Verizon Media. All rights reserved. Table of Contents Route ............................................................................................................................................................. 1 Introduction .............................................................................................................................................. 1 Scope ......................................................................................................................................................... 1 Module Comparison ................................................................................................................................. 2 Managed (Primary) or Secondary DNS Module .................................................................................... 2 DNS Health Checks Module .................................................................................................................. 3 Billing Activation ......................................................................................................................................
    [Show full text]
  • DNS) Deployment Guide
    Archived NIST Technical Series Publication The attached publication has been archived (withdrawn), and is provided solely for historical purposes. It may have been superseded by another publication (indicated below). Archived Publication Series/Number: NIST Special Publication 800-81 Revision 1 Title: Secure Domain Name System (DNS) Deployment Guide Publication Date(s): April 2010 Withdrawal Date: September 2013 Withdrawal Note: SP 800-81 Revision 1 is superseded in its entirety by the publication of SP 800-81-2 (September 2013). Superseding Publication(s) The attached publication has been superseded by the following publication(s): Series/Number: NIST Special Publication 800-81-2 Title: Secure Domain Name System (DNS) Deployment Guide Author(s): Ramaswamy Chandramouli, Scott Rose Publication Date(s): September 2013 URL/DOI: http://dx.doi.org/10.6028/NIST.SP.800-81-2 Additional Information (if applicable) Contact: Computer Security Division (Information Technology Lab) Latest revision of the SP 800-81-2 (as of August 7, 2015) attached publication: Related information: http://csrc.nist.gov/ Withdrawal N/A announcement (link): Date updated: ƵŐƵƐƚϳ, 2015 Special Publication 800-81r1 Sponsored by the Department of Homeland Security Secure Domain Name System (DNS) Deployment Guide Recommendations of the National Institute of Standards and Technology Ramaswamy Chandramouli Scott Rose i NIST Special Publication 800-81r1 Secure Domain Name System (DNS) Deployment Guide Sponsored by the Department of Homeland Security Recommendations of the National Institute of Standards and Technology Ramaswamy Chandramouli Scott Rose C O M P U T E R S E C U R I T Y Computer Security Division/Advanced Network Technologies Division Information Technology Laboratory National Institute of Standards and Technology Gaithersburg, MD 20899 April 2010 U.S.
    [Show full text]
  • Measurements and Laboratory Simulations of the Upper DNS Hierarchy
    Measurements and Laboratory Simulations of the Upper DNS Hierarchy 1 2 2 2 Duane Wessels , Marina Fomenkov , Nevil Brownlee , and kc claffy 1 The Measurement Factory, Inc. [email protected] 2 CAIDA, San Diego Supercomputer Center, University of California, San Diego fmarina, nevil, [email protected] Abstract. Given that the global DNS system, especially at the higher root and top-levels, experiences significant query loads, we seek to answer the following questions: (1) How does the choice of DNS caching software for local resolvers affect query load at the higher levels? (2) How do DNS caching implementations spread the query load among a set of higher level DNS servers? To answer these questions we did case studies of workday DNS traffic at the University of California San Diego (USA), the University of Auckland (New Zealand), and the University of Colorado at Boulder (USA). We also tested var- ious DNS caching implementations in fully controlled laboratory experiments. This paper presents the results of our analysis of real and simulated DNS traffic. We make recommendations to network administrators and software developers aimed at improving the overall DNS system. 1 Background The Domain Name System (DNS) is a fundamental component of the modern Inter- net [1], providing a critical link between human users and Internet routing infrastructure by mapping host names to IP addresses. The DNS hierarchical name space is divided into zones and coded in the widespread “dots” structure. For example, com is the parent zone for microsoft.com, cnn.com, and approximately 20 million other zones. The DNS hierarchy’s root zone is served by 13 nameservers, known collectively as the DNS root servers.
    [Show full text]
  • Understanding Implications of DNS Zone Provisioning
    Understanding Implications of DNS Zone Provisioning Andrew J. Kalafut Craig A. Shue Minaxi Gupta [email protected] [email protected] [email protected] Computer Science Department Indiana University Bloomington, IN ABSTRACT a domain need to synchronize with each other in their view DNS is a critical component of the Internet. This paper of the zone. The DNS provides a special query for that, takes a comprehensive look at the provisioning of Internet called the zone transfer query. In this work, we leverage the domains and its impact on the availability of various services. zone transfer query to capture detailed information about To gather data, we sweep 60% of the Internet’s domains DNS zones in the Internet. During a three month period, for zone transfers. 6.6% of them allow us to transfer their we swept 60% of the Internet for zone transfers. In order to complete information. We find that carelessness in handling increase our data beyond those zones allowing zone trans- DNS records can lead to reduced availability of name servers, fer, we walked the zones of the second-level domains known email, and Web servers. It also undermines anti-spam efforts to deploy DNSSEC [2] (DNS Security Extensions). This is and the efforts to shut down phishing sites or to contain a slow process since it involves making a large number of malware infections. queries, but its net effect is the same as a zone transfer. Us- ing the two data sets, we examined the DNS zones in our two data sets. The key findings of our study are the following: Categories and Subject Descriptors C.2.2 [Network protocols]: Applications—DNS 1.
    [Show full text]
  • When Parents and Children Disagree: Diving Into DNS Delegation Inconsistency
    When parents and children disagree: Diving into DNS delegation inconsistency Raffaele Sommese1, Giovane C.M. Moura2, Mattijs Jonker1, Roland van Rijswijk-Deij1;3, Alberto Dainotti4, K.C. Claffy4, and Anna Sperotto1 1 University of Twente 2 SIDN Labs 3 NLnet Labs 4 CAIDA Abstract. The Domain Name System (DNS) is a hierarchical, decen- tralized, and distributed database. A key mechanism that enables the DNS to be hierarchical and distributed is delegation [7] of responsibil- ity from parent to child zones—typically managed by different entities. RFC1034 [12] states that authoritative nameserver (NS) records at both parent and child should be “consistent and remain so”, but we find in- consistencies for over 13M second-level domains. We classify the type of inconsistencies we observe, and the behavior of resolvers in the face of such inconsistencies, using RIPE Atlas to probe our experimental do- main configured for different scenarios. Our results underline the risk such inconsistencies pose to the availability of misconfigured domains. 1 Introduction The Domain Name System (DNS) [12] is one of the most critical components of the Internet, used by virtually every user and application. DNS is a distributed, hierarchical database that maps hosts, services and applications to IP addresses and various other types of records. A key mechanism that enables the DNS to be hierarchical and distributed is delegation [7]. In order for delegation to work, the DNS hierarchy is organized in parent and child zones—typically managed by different entities—that need to share common information (NS records) about which are the authoritative name servers for a given domain.
    [Show full text]
  • A Longitudinal, End-To-End View of the DNSSEC Ecosystem
    A Longitudinal, End-to-End View of the DNSSEC Ecosystem Taejoong Chung Roland van Rijswijk-Deij Northeastern University University of Twente and SURFnet Balakrishnan Chandrasekaran David Choffnes Dave Levin TU Berlin Northeastern University University of Maryland Bruce M. Maggs Alan Mislove Duke University and Akamai Technologies Northeastern University Christo Wilson Northeastern University Abstract To address these problems, DNS Security Extensions (DNSSEC) [20] were introduced nearly two decades ago. The Domain Name System’s Security Extensions At its core, DNSSEC is a hierarchical public key infras- (DNSSEC) allow clients and resolvers to verify that tructure (PKI) that largely mirrors the DNS hierarchy and DNS responses have not been forged or modified in- is rooted at the root DNS zone. To enable DNSSEC, the flight. DNSSEC uses a public key infrastructure (PKI) owner of a domain signs its DNS records and publishes to achieve this integrity, without which users can be sub- the signatures along with its public key; this public key is ject to a wide range of attacks. However, DNSSEC can then signed by its parent domain, and so on up to the root operate only if each of the principals in its PKI prop- DNS zone. A resolver validates a signed DNS record erly performs its management tasks: authoritative name by recursively checking the associated signatures until it servers must generate and publish their keys and signa- reaches the well-known root zone trusted key. tures correctly, child zones that support DNSSEC must Largely in response to powerful attacks such as the be correctly signed with their parent’s keys, and resolvers Kaminsky Attack [28], DNSSEC adoption has increased must actually validate the chain of signatures.
    [Show full text]
  • DNS for Rocket Scientists Section 1 Overview
    DNS for Rocket Scientists This Open Source Guide is about DNS and (mostly) BIND 9.x on Linux (REDHAT Versions 6.x and 7.x) and the BSD's (FreeBSD, OpenBSD and NetBSD). It is meant for newbies, Rocket Scientist wannabees and anyone in between. This Guide was born out of our first attempts a number of years ago at trying to install a much needed DNS service on an early Redhat Linux system. We completed the DNS 'rite of passage' and found it a pretty unedifying and pointless experience. Health Warning: This is still a work-in-progress. If you have expertise in something - contribute some text. If you find errors don't grumble - tell us. Look at our to do list and if you want to contribute something please do so. And for all that hard work we promise only a warm sense of well-being and an acknowledgment of your work in the licence. Section 1 Overview What's new in Guide version 0.1.27 1. Boilerplate and Terminology 1.1 Objectives and Scope 1.2 How to read this Guide 1.3 Terminology and Conventions used 1.4 Acknowledgements 1.5 Copyright and License 2. DNS - Overview 2.1 A brief History of Name Servers 2.2 DNS Concepts & Implementation 2.2.1 DNS Overview 2.2.2 Domains and Delegation 2.2.3 DNS Organization and Structure 2.2.4 DNS System Components 2.2.5 Zones and Zone Files 2.2.6 DNS Queries 2.2.6.1 Recursive Queries 2.2.6.2 Iterative Queries 2.2.6.3 Inverse Queries 2.2.7 Zone Updates 2.2.7.1 Full Zone Transfer (AXFR) 2.2.7.2 Incremental Zone Transfer (IXFR) 2.2.7.3 Notify (NOTIFY) 2.2.7.4 Dynamic Zone Updates 2.2.7.5 Alternative Dynamic DNS Approaches 2.3 DNS Security Overview 2.3.1 Security Threats 2.3.2 Security Types 2.3.3 Local Security 2.3.4 Server-Server (TSIG Transactions) 2.3.5 Server-Client (DNSSEC) 3.
    [Show full text]
  • ICANN's Root Name Service Strategy and Implementation
    ICANN’s Root Name Service Strategy and Implementation ICANN Office of the Chief Technology Officer OCTO-016 26 October 2020 ICANN | ICANN’s Root Name Service Strategy and Implementation | OCTO-016 | October 2020 | 1 TABLE OF CONTENTS EXECUTIVE SUMMARY 3 1 INTRODUCTION 3 2 GOALS OF THE STRATEGY 4 2.1 Support the Internet Community by Placing Root Server Instances in Diverse Locations 4 2.2 Protect the Confidentiality, Integrity, and Availability of the Root Server System During Attack 4 3 IMRS PLACEMENT 5 3.1 Increasing Deployment of IMRS singles 6 3.2 Enhancing Root System Monitoring 6 4 RESILIENCE WHEN UNDER ATTACK 7 4.1 Availability Attacks and their Mitigation 7 4.1.1 Investigation into IMRS Cloud 8 4.1.2 Supporting Root Service Decentralization with Hyperlocal 8 4.2 Integrity Attacks and Mitigation 9 4.2.1 Encouraging DNSSEC Validation 10 4.3 Confidentiality Attacks and Mitigation 10 4.3.1 Encouraging Implementation and Deployment of Technologies to Reduce DNS Data Leakage 11 5 CONCLUSION 11 This document is part of ICANN’s Office of the Chief Technical Officer (OCTO) document series. Please see the OCTO publication page for a list of documents in the series. If you have questions or suggestions on any of these documents, please send them to [email protected]. ICANN | ICANN’s Root Name Service Strategy and Implementation | OCTO-016 | October 2020 | 2 Executive Summary This document describes, at a high level, the ICANN organization’s strategy and implementation plans for the ICANN Managed Root Server (IMRS). The strategy has two goals, which are associated with its implementation plans.
    [Show full text]
  • The Importance of Proper DNS
    The Importance of Proper DNS Questions? Call us at (855) 272-7638 and ask for the I.T. Team, or email [email protected]. BS&A Software’s new .NET software is a highly integrated suite of applications. Each application is integrated with multiple applications in the suite. But more than that, each application is integrated with and relies on base level Windows components included in Microsoft’s .NET Framework. For all of these applications and Windows components to interact properly, flawless DNS resolution is critical. This paper will outline the basics of DNS resolution in Windows networking, point out common pitfalls to avoid, and outline some overall best practices. DNS Name Resolution Historically, specifically back in the days of Windows 9.x operating systems, DNS was the last or nearly the last method of name resolution an operating system would use. Somewhere around the year 2000 that was all turned on its head. As outlined in Microsoft KB article 172218, DNS is now used for name resolution before Netbios methods like Wins/LMHosts/Broadcast. DNS is integrated tightly with Active Directory. An Active Directory Domain cannot be set up without it. It is therefore critical that a network should be running a properly configured internal DNS server. Internal DNS Server When a host PC boots, it uses DNS to locate its logon server. Configuring a Windows host PC to use an external DNS server renders the host incapable of accomplishing that effectively. There is no way an external (i.e., the isp) DNS server can answer queries related to the internal network.
    [Show full text]
  • Lesson 9: Configuring DNS Records
    Lesson 9: Configuring DNS Records MOAC 70-411: Administering Windows Server 2012 Overview • Exam Objective 3.2: Configure DNS Records • Configuring DNS Record Types • Using the DNSCMD Command to Manage Resource Records • Troubleshooting DNS Problems © 2013 John Wiley & Sons, Inc. 2 Configuring DNS Record Types Lesson 9: Configuring DNS Records © 2013 John Wiley & Sons, Inc. 3 DNS Records • A DNS zone database is made up of a collection of resource records, which are used to answer DNS queries. • Each resource record (RR) specifies information about a particular object. • Each record has a type, an expiration time limit, and some type-specific data. © 2013 John Wiley & Sons, Inc. 4 DNS Records Many of the resource records are automatically created: • Clients or the DHCP servers create the host and Pointer (PTR) records. • When you install a DNS server, NS records are usually created. • When you install domain controllers, Service Location (SRV) records are created. © 2013 John Wiley & Sons, Inc. 5 Creating and Configuring DNS Resource Records Different properties define different accounts: • First name, last name, and login name for a user account • Name of the printer and location for a printer in Active Directory Just as you have different types of objects in Active Directory, you also have different types of resource records in DNS, with different fields. © 2013 John Wiley & Sons, Inc. 6 Creating and Configuring DNS Resource Records When you create a new zone, two types of records are automatically created: • Specifies authoritative SOA information about a DNS zone • Specifies an authoritative NS name server for the host © 2013 John Wiley & Sons, Inc.
    [Show full text]