🐧
Linux
  • syllabus
  • unit 1-Introduction
    • Unit I: Introduction to Linux
    • 2. Advantages of Linux over other operating systems
    • 3.File systems
    • 4.Culture of free software
  • unit 2-Basics of Linux
    • 1.Commands
    • 2.shell
    • 3.Text Editors
    • 4.The file system of Linux
    • 5.Directories and their special purpose
    • 6.permission
  • unit 3-Installation
    • 1. Partitioning
    • 2. Installation of Linux
    • 3. Troubleshooting of installation
  • unit 4-System Administration
    • 1.Root login
    • 2.Superuser
    • 3.Configuration of hardware with kudzu
    • 4. Checking System Space:
    • 5. Monitoring System Performance:
    • 6. Working with a File System:
    • 7.Configuring modules
    • 8.jail shell
    • 9.awk
    • 10.sed
  • unit 5-User Management
    • 1.Creating user accounts
    • 2.Setting user defaults
    • 3.Providing support to users
    • 4.Modifying accounts
    • 5.Deleting user accounts
    • 6.Checking disk quotas
    • 7.Sending mail to all users
  • unit 6-Security and System Handling
    • 1.Understanding shell scripts
    • 2.System startup and shutdown
    • 3.Scheduling system tasks
    • 4.Backing up and restoring
    • 5.Password protection
    • 6.File security
  • unit 7-Setting up a Web Server
    • 1.Introduction to a web server
    • 2.Starting the Apache webserver
    • 3.Configuring the Apache webserver
    • 4.Monitoring server activities
  • unit 8-Setting up DHCP and NIS
    • 1.Introduction to DHCP
    • 2.Setting up DHCP Server
    • 3.Setting up DHCP Client
    • 4.Understand NIS
  • unit 9-Setting up a Database Server
    • 1.Configuring database server
    • 2.Checking the status
    • 3.Working with database
  • unit 10-Setting up DNS
    • 1.Introduction to DNS
    • 2.Setting up DNS and configuration
    • 3.Querying DNS
  • unit 11-ISP Simulation
    • 1.Integration of servers
    • 2.DNS, Web, Email, etc
  • fullform
  • Assignment
  • Practicals
    • 1.Linux utilities
    • 2.OS installation project work
    • 3.User management using a terminal
    • 4.Security level access control list
    • 1.Network setting
    • 2.Server configuration of DHCP, DNS, Database server
    • 3.Demonstration of the web, mail, file server
  • imp questions
    • short-notes
    • unit 1
    • unit 2
    • unit 3
    • unit 4
    • unit 5
    • unit 6
    • unit 7
    • unit 8
    • unit 9
    • unit 10
    • unit 11
    • unit ii
  • services
    • create_service
  • Viva+Practical
    • VIVA questions
    • Practical questions
Powered by GitBook
On this page

Was this helpful?

  1. unit 10-Setting up DNS

1.Introduction to DNS

Previousunit 10-Setting up DNSNext2.Setting up DNS and configuration

Last updated 1 year ago

Was this helpful?

Introduction to DNS (Domain Name System)

The Domain Name System (DNS) is a critical component of the internet infrastructure, acting as a distributed and hierarchical system that converts human-readable domain names into IP addresses and vice versa. It enables users to access websites, send emails, and interact with internet services using user-friendly domain names, while computers and servers use IP addresses to locate each other on the internet.

1. DNS Purpose and Importance:

  • Name Resolution: DNS is primarily used to map domain names (e.g., www.example.com) to IP addresses (e.g., 192.168.1.1). This translation allows users and applications to locate resources on the internet without needing to remember numerical IP addresses.

  • Internet Navigation: DNS is crucial for users to access websites, send emails, use online services, and connect to remote servers. It simplifies internet navigation by enabling people to use human-friendly domain names.

  • Scalability: DNS is a distributed system that can scale effectively to accommodate the vast number of domains and hosts on the internet.

2. DNS Hierarchy and Structure:

  • Root Domain: At the top of the DNS hierarchy is the root domain represented by a dot (.). Below the root domain, there are multiple top-level domains (TLDs) such as .com, .org, .net, and country-code TLDs like .uk, .jp, and .ca.

  • Second-Level Domains: Below the TLDs, there are second-level domains (SLDs) like example.com, google.com, and wikipedia.org. These domains are often registered by individuals, organizations, or entities.

  • Subdomains: Subdomains are subdivisions of a domain, represented as subdomain.example.com. They allow organizations to organize their web content or services into distinct sections.

  • Fully Qualified Domain Name (FQDN): An FQDN represents a complete domain name, including all levels of the hierarchy, from the host (e.g., www) to the top-level domain (e.g., .com). For example, www.example.com is an FQDN.

3. DNS Resolution Process:

  • DNS Resolver: When a user enters a domain name (e.g., www.example.com) into a web browser or other application, a DNS resolver on the user's device initiates the resolution process.

  • Caching: The resolver first checks its local cache to see if it has recently resolved the same domain. If a match is found, it returns the IP address without further queries, speeding up the process.

  • Recursive Query: If the resolver doesn't have the IP address in its cache, it sends a recursive query to a DNS recursive resolver (usually provided by the user's internet service provider or a third-party DNS resolver).

  • Iterative Query: The recursive resolver, if necessary, queries the root DNS servers to find the authoritative DNS servers for the top-level domain (e.g., .com). It then follows a chain of queries to authoritative servers until it reaches the DNS server responsible for the specific domain (e.g., www.example.com).

  • Authoritative Response: The authoritative DNS server for the requested domain responds with the IP address, and this response is sent back up the chain to the user's DNS resolver.

  • Caching and TTL: The resolver stores the IP address in its cache for a period specified by the Time-to-Live (TTL) value in the DNS response. Subsequent requests for the same domain can be served from the cache until the TTL expires.

4. DNS Records:

  • DNS uses various types of resource records (RRs) to store information in the DNS database. Common DNS record types include:

    • A (Address) Record: Maps a domain name to an IPv4 address.

    • AAAA (IPv6 Address) Record: Maps a domain name to an IPv6 address.

    • CNAME (Canonical Name) Record: Creates an alias or pointer from one domain name to another.

    • MX (Mail Exchanger) Record: Specifies mail servers responsible for receiving email for a domain.

    • TXT (Text) Record: Stores arbitrary text and is often used for verification and security purposes.

5. DNS Security:

  • DNSSEC (DNS Security Extensions): DNSSEC is a suite of extensions that adds an additional layer of security to DNS. It helps prevent various types of attacks, including DNS cache poisoning and man-in-the-middle attacks, by adding cryptographic signatures to DNS data.

  • DNS Filtering: DNS can be used for filtering unwanted content, such as blocking access to malicious websites or content that violates policies. This is often done using DNS-based content filtering or blacklists.

6. DNS Resolution Speed and Efficiency:

  • To improve DNS resolution speed, DNS resolvers often employ caching to store frequently requested DNS records.

  • Content Delivery Networks (CDNs) use DNS to route users to the nearest server location for faster content delivery.

7. Managed DNS Services:

  • Many organizations and websites use managed DNS services or domain registrars to handle DNS management and hosting, ensuring high availability and reliability.