Hostdb: the Best Damn Host2dns/DHCP Script Ever Written Thomas Limoncelli – Cibernet Corp

Total Page:16

File Type:pdf, Size:1020Kb

Hostdb: the Best Damn Host2dns/DHCP Script Ever Written Thomas Limoncelli – Cibernet Corp HostDB: The Best Damn host2DNS/DHCP Script Ever Written Thomas Limoncelli – Cibernet Corp. ABSTRACT HostDB is a system for generating DNS zone files, BIND configurations, and ISC DHCP server configurations. It is extremely simple yet powerful, which makes it easy to deploy. It is not so complicated that it requires an SQL database or web server. It is not a single generation script but a complete system that includes tools for deploying the files that are generated. The system is written in Perl and shell and makes heavy use of make. The zone files that it generates look hand- made, except that they are clean. Powerful tools are also provided to aid in the conversion from legacy systems. HostDB is the third generation of my DNS maintenance systems and embodies not just superior software but also best practices in system administration. HostDB uses small tools that combine to achieve large goals. Initial deployment can be done in stages to reduce risk. Deployment of updates is fully automated. It rocks. Introduction Many generate zone files that are not pretty: hand- edited zone files would be more readable (if we only The goal of HostDB is to create a DNS zone had the time to maintain them that way!). HostDB generator that is full-featured without requiring com- fixes all these issues. It does this without introducing a plicated databases and web services. The system uses complicated syntax plus it generates your DHCP con- simple configuration files and automates deployment. figuration file ‘‘for free’’! The code is written in Perl, It is easy to deploy whether you are converting a legacy system one zone at a time or setting up a new shell, and make and is freely available. system from scratch. Setup time is fast. Really fast. The system can be Many small and medium sites (dozens or hun- used to generate zone files that can be individually dreds of machines) hand-edit DNS zone files. This is inserted into your legacy systems within minutes of an error-prone practice which requires a high skill installing the software. HostDB breaks from the Free level. The smallest typo can cause big outages. and Open Source Software (F/OSS) tradition of pro- viding a default configuration that is an arrogant dis- Many large sites (multiple IT teams, locations, play of the most complicated features. Instead the and internet connections) use DNS management sys- default configuration is a useful example that can tems that provide no revision control and very little often by used ‘‘out of the box’’ with only small audit trail of who made what changes. Many also changes. Documentation is included for migrating require external (outside the firewall, or ‘‘public’’) from a legacy system in small steps with plenty of zone files to be maintained by hand, which adds the testing along the way. risk that they will become out of date with internal (inside the firewall, or ‘‘private’’) zones. Audience The problem with most DNS generation scripts HostDB seeks to fill the void between simple is that they are either too simplistic to be useful or so DNS zone generation scripts and massive DNS/DHCP complicated that they are intimidating to install. The database-driven applications. It is perfect for a site that simple ones are fine for doing an initial conversion is starting fresh, or for one that currently hand-edits from /etc/hosts to zone files that will be hand-edited in zone files and wishes to introduce automation. the future. Many are ‘‘point tools’’ that require a lot of integration work. The complex ones are so unwieldy The learning curve and installation curve for that small sites find them too scary to install. Most HostDB is very small. Thus, it is appropriate for sites don’t handle complicated DNS idioms such as having that do not have the need, expertise, or resources special MX records for mail servers, proper handling required by systems that have a web-based front-end of multi-homed hosts, or templates for ranges of simi- or use a SQL database as the backend. larly named hosts. They don’t handle generating dif- HostDB is good for sysadmins that need an ferent zone files for inside the firewall versus outside extremely good solution but don’t have a lot of time. the firewall (i.e., ‘‘host hiding’’) resulting in hand- Migration from a legacy system is extremely easy edited external zone files that are prone to errors. because the files that are generated are put into a 19th Large Installation System Administration Conference (LISA ’05) 209 HostDB: The Best Damn host2DNS/DHCP Script Ever Written Limoncelli repository before they are copied to their final destina- deployed as well, making it possible to maintain the tion. Thus, comparisons between the legacy zones and all files related to DNS and DHCP configuration for the HostDB-generated zones can be done as part of multiple servers around a network from one central acceptance testing. Tools for comparing zones are pro- administration host. vided. Individual zone files can be put into service Major tools are written in Perl, with many helper permitting an incremental deployment methodology programs in BASH shell. Shell glues them together in (rather than a ‘‘flash-cut’’), thus reducing risk. a way that is easy for sysadmins to understand. The HostDB is not appropriate for extremely large system tries not to re-invent the wheel, thus it uses organizations with many separate IT groups or sites standard UNIX tools: make, SSH, sed and awk. Sed with complicated dynamic DNS configurations. Their and awk have been feeling ignored lately so we threw needs would be better served with other, larger, sys- some work their way. tems. It doesn’t directly support a sophisticated autho- rization schemes, a web-based interface, or assistance How to Configure for dynamic DNS updates. However, HostDB does There are three configuration files. Each encap- have some hooks that make it easy for simple dynamic sulates information that would be updated by a partic- DNS to be used. Also, large organizations are often ular audience. The format is either simple or compli- composed of many smaller IT organizations which cated based on the audience as summarized in Table 1. would find HostDB entirely appropriate. These orga- nizations often have one team that manages all inter- The syntax of hostdb.txt is simple because a non- net connectivity and HostDB is excellent for maintain- DNS expert needs to be able to edit it without intro- ing the related DNS zones. ducing errors. Rather than designing a syntax by and At this time HostDB has no support for IPv6. for DNS experts, much effort was spent in designing a I’m okay with this. syntax that made sense to the junior engineers that would be using the system. The filename ends with What Does It Do? ‘‘.txt’’ to facilitate non-UNIX admins editing these files through non-UNIX tools like Notepad. I have seen many exceptional DNS/DHCP con- figuration management systems that provide excellent zoneconf.txt requires a little more knowledge of web front ends and are so powerful that implementa- how DNS zones work, which is appropriate because tion requires an SQL database. HostDB isn’t one of this file should only be edited by a person with those. advanced DNS knowledge. HostDB lets you track all DNS and DHCP infor- destinations.txt is extremely simple because it mation about all your hosts in a single, simple file. simply states where files are to be copied after they From that file, it generates DNS zones, BIND configu- are generated. It permits files to be renamed as they ration files (named.conf) and host entries that can be are copied, which makes inserting a generated file into included in an ISC DHCP server configuration a pre-existing legacy system very easy. (dhcpd.conf). Two helper configuration files guide Standard UNIX protections can be used to con- zone creation and file deployment, but they are basi- trol who can edit these files. They are all plain ASCII cally static after the system is stable. files, appropriate for maintaining under revision con- The system generates the complete zones and trol systems like RCS, SCCS, CVS or Subversion. configurations. No hand-editing after the fact is Any system administrator maintaining key files such required. Thus, automation using make and other tools as these without a revision control system is taking an is possible. undue risk. Revision control means knowing what The system handles complicated DNS idioms changed when. When a change is introduced that such as: causes an outage, one can undo a change, investigate • Special MX records for mail servers. who made the change, mentor them so they do not • Proper DNS records for multi-homed hosts and repeat the mistake, and optionally ridicule them during routers. staff meetings. • Templates for ranges of similarly named hosts. DNS Zone Generation • Host-hiding (generating different zones for DNS zones are generated using ‘‘mkzones’’. external DNS servers). Mkzones parses the entire hostdb.txt file, storing the • Clean, human-readable zone files are generated important bits into various data structures. It then reads (as if they were human-generated, but neater) zoneconf.txt which is ‘‘executed’’ line by line, setting HostDB includes a tool called ‘‘mkdestinations’’ options and generating zones as instructed. Because of which generates a Makefile that will efficiently deploy this design, an option can be set one way before a par- (push) individual files to local and remote hosts. It ticular zone is generated and then another way before recognizes zone files and treats them specially to pre- the next zone is generated.
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]
  • 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).
    [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]