Host A Record: A CNAME (Canonical Name)
Host A Record: A CNAME (Canonical Name)
Host A Record: A CNAME (Canonical Name)
1. Host A record
a type of DNS record that maps a domain or subdomain to an IPv4 address. It is commonly used to associate a
human-readable domain name with the corresponding numerical IP address of the server hosting the domain's
content.
Alias Domain (CNAME): This is the domain or subdomain that you want to alias or point to another
domain. For example, if you have a subdomain "blog" and want it to point to "www," you would create a
CNAME record for "blog" pointing to "www."
Canonical Name (Target): This is the domain or subdomain to which the alias domain is directed. In
the example above, "www" is the canonical name.
4. SRV Record:
Service (SRV) records in DNS (Domain Name System) are used to provide information about services available on
a network. SRV records define the location (hostname and port number) of servers for specific services, and they
are commonly used in various Internet protocols, such as SIP (Session Initiation Protocol), LDAP (Lightweight
Directory Access Protocol), and others.
5. PTR RECORDS:
A PTR (Pointer) record in DNS (Domain Name System) is used to map an IP address to a domain or hostname.
Unlike other DNS record types that associate domain names with IP addresses (like A or AAAA records), PTR
records do the reverse by associating an IP address with a domain or hostname.
PTR records are primarily used in reverse DNS lookups, which are used to find the domain associated with a given
IP address. This is commonly used in email systems and various network-related applications to verify the
authenticity of the sender's domain.
Reverse DNS lookups using PTR records are commonly used for various purposes, such as spam filtering, network
troubleshooting, and security verification. It's important to note that PTR records are typically managed by the entity
that owns the IP address range, such as an Internet Service Provider (ISP).
6. Windows Commands to resolve DNS records.
a. Link: Click here
DNS (Domain Name System) communication uses both UDP (User Datagram Protocol) and TCP (Transmission
Control Protocol) for different purposes. Here are the commonly used network ports associated with DNS
communication:
• Purpose:
o DNS forwarders are used to improve the efficiency of DNS resolution by offloading the responsibility
of resolving external domain names to designated DNS servers.
• Configuration:
o Administrators configure DNS forwarders on a DNS server by specifying the IP addresses of the
external DNS servers to which queries should be forwarded.
o When a DNS server receives a query for which it does not have authoritative information, it forwards
the query to the designated forwarders.
• Advantages:
o Performance: DNS forwarders can improve resolution performance by relying on external servers
that may have better caching mechanisms and connectivity to the wider Internet.
o Traffic Reduction: Forwarders can reduce external DNS traffic by consolidating queries to a few
designated servers, rather than each DNS server independently querying external servers.
• ISP DNS Servers:
o DNS forwarders are often configured to use the DNS servers provided by the Internet Service
Provider (ISP). These DNS servers are usually optimized for resolving external domain names.
• Public DNS Services:
o Instead of using ISP DNS servers, administrators may choose to configure DNS forwarders to use
public DNS services such as Google DNS (8.8.8.8, 8.8.4.4), OpenDNS, or Cloudflare DNS.
• Security Considerations:
o DNS forwarders can enhance security by reducing the exposure of internal DNS servers to the
external Internet. External queries are handled by the forwarders, which may have additional
security measures in place.
• Configuration Example (Microsoft DNS):
▪ In Microsoft DNS, you can configure forwarders in the DNS Manager by right-clicking on the
server name, selecting "Properties," and then navigating to the "Forwarders" tab.