1.6 Use and Purpose of Network Services Flashcards

1
Q

DHCP Scope

A

A DHCP scope is a defined range of IP addresses that a Dynamic Host Configuration Protocol (DHCP) server can allocate to clients on a network. The scope specifies the pool of addresses available for lease, along with configuration settings like subnet masks, default gateways, and DNS server information.

For the exam, you should know that when a device joins a network, it sends a DHCP request to obtain an IP address. The DHCP server checks the scope to find an available IP address, leases it to the device for a specified duration, and sends back the necessary configuration details. A DHCP scope can also include options like lease duration, exclusions (addresses that should not be leased), and reservations (specific addresses permanently assigned to certain devices). Understanding how to configure and manage DHCP scopes, monitor lease usage, and troubleshoot common DHCP issues will enhance your skills in managing IP address allocation effectively in a network environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Exclusion ranges

A

Exclusion ranges in a Dynamic Host Configuration Protocol (DHCP) scope are specific IP addresses or ranges of addresses that are reserved and not available for lease to DHCP clients. These exclusions ensure that certain addresses remain free for static assignment or for devices that require a consistent IP address.

For the exam, you should know that exclusion ranges are useful in scenarios where specific devices, such as servers, printers, or network infrastructure devices, need to maintain the same IP address for reliable communication. When configuring a DHCP scope, network administrators can specify exclusion ranges to prevent the DHCP server from leasing these addresses. For instance, if a DHCP scope ranges from 192.168.1.1 to 192.168.1.100, an exclusion range could be set for 192.168.1.10 to 192.168.1.20, preventing those addresses from being assigned to DHCP clients. Understanding how to configure exclusion ranges, the impact of excluding addresses on network operations, and how to monitor DHCP lease utilization will enhance your skills in managing DHCP effectively within a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

DHCP Reservation

A

A reservation in a Dynamic Host Configuration Protocol (DHCP) setup is a specific IP address that is permanently assigned to a particular device, ensuring that the device always receives the same IP address each time it connects to the network. Reservations are typically used for devices like printers, servers, or network appliances that require a fixed IP address for reliable communication.

For the exam, you should know that DHCP reservations are configured using the device’s MAC address, which acts as a unique identifier. When the DHCP server receives a request from the reserved MAC address, it automatically assigns the corresponding reserved IP address from the pool. This allows the device to benefit from DHCP’s automated configuration while ensuring consistent IP addressing. Understanding how to configure DHCP reservations, their role in network management, and their use in scenarios where devices need static-like addressing without manual IP configuration will enhance your ability to manage IP allocations in dynamic networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

DHCP Dynamic assignment

A

DHCP dynamic assignment is the process where the DHCP server automatically assigns an available IP address to a device from a pool or scope of addresses. The IP address is leased to the device for a set amount of time, after which it must be renewed or returned to the pool if the device is no longer connected to the network.

For the exam, you should understand that with dynamic assignment, the device does not have a permanent IP address, allowing for efficient use of a limited IP address space. As devices connect and disconnect, the DHCP server manages the available pool, ensuring that IP addresses are only assigned when needed. This method is particularly useful in environments with many devices, such as offices or public Wi-Fi networks. Understanding how DHCP dynamic assignment works, including lease times, renewals, and the DHCP request process, will help you manage IP address distribution in large networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

DHCP Static assignment

A

DHCP static assignment, also known as DHCP reservation, allows a specific device to always receive the same IP address, even though it’s assigned dynamically by the DHCP server. This is done by mapping the device’s unique MAC address to a particular IP address within the DHCP scope.

For the exam, you should know that static assignment ensures that critical devices like servers, printers, or VoIP phones always receive the same IP address while still using DHCP for configuration. This offers the convenience of automated address management while maintaining consistency for devices that require a fixed address. Understanding how to configure DHCP reservations and their advantages, such as preventing IP conflicts and ensuring consistent network communication, will help you manage both dynamic and static IP addressing in a network environment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

DHCP Lease time

A

DHCP lease time refers to the duration for which a DHCP server assigns an IP address to a client device. Once the lease expires, the IP address can be reassigned to another device unless the client renews the lease.

For the exam, you should know that DHCP lease times are configurable and can be set based on the network’s needs. Short lease times are useful in networks with many transient devices, such as public Wi-Fi, where devices frequently join and leave. Longer lease times are beneficial in stable environments with fewer devices. During the lease period, the client can attempt to renew the lease, typically halfway through the lease duration. Understanding how to configure and manage DHCP lease times, their effect on network performance, and how lease renewals work is important for maintaining efficient IP address management in various network environments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

DHCP Scope options

A

DHCP scope options are additional configuration settings that a DHCP server can provide to client devices along with their assigned IP address. These options include network information such as default gateways, DNS servers, subnet masks, and more, which help the device function properly on the network.

For the exam, you should know that common DHCP scope options include the default gateway (Option 3), DNS server (Option 6), and subnet mask (Option 1). These options ensure that DHCP clients have the necessary network information to communicate with other devices and the internet. Administrators can configure these options at the scope level to apply to all devices receiving an IP address from that scope. Understanding how to configure and apply these options is key to ensuring devices are correctly and automatically configured when joining the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

DHCP Available leases

A

DHCP available leases refer to the number of unused IP addresses within a DHCP scope that are still available to be assigned to new devices. These leases represent the pool of IP addresses that the DHCP server can dynamically allocate to clients.

For the exam, you should know that when a device requests an IP address, the DHCP server assigns one from the available leases in the scope. As devices disconnect or their lease expires without renewal, the IP address returns to the pool of available leases. It’s important for network administrators to monitor available leases to ensure there are enough IP addresses to serve all network clients. Understanding how to manage available leases and avoid IP exhaustion is crucial for maintaining network connectivity, especially in large or dynamic environments with many devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

DHCP relay

A

DHCP relay is a network service that allows DHCP (Dynamic Host Configuration Protocol) requests to be forwarded from clients on one subnet to a DHCP server located on a different subnet. Normally, DHCP requests are broadcast messages, which do not travel across routers. A DHCP relay agent intercepts these broadcasts and forwards them to the DHCP server on a different network, then relays the DHCP server’s response back to the client.

For the exam, it’s important to understand that DHCP relay is used in networks where a centralized DHCP server is preferred, and clients are spread across multiple subnets. This avoids the need for a separate DHCP server on every subnet. Understanding how DHCP relay works and when to implement it is critical for designing scalable and efficient IP address management systems in multi-subnet networks. The “ip helper-address” command is commonly used to configure DHCP relay on network devices like routers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DHCP IP helper/UDP forwarding

A

DHCP IP helper, also known as UDP forwarding, is a feature used on routers to forward broadcast-based requests, such as DHCP requests, from clients on one subnet to a DHCP server on another subnet. Since DHCP requests are broadcast messages that do not cross routers by default, the “ip helper-address” command on a router allows it to intercept the broadcast and forward it as a unicast to the specified DHCP server’s IP address.

For the exam, it’s important to know that the IP helper feature is crucial in networks where the DHCP server is centralized, serving multiple subnets, and prevents the need for a DHCP server on each subnet. Besides DHCP, IP helper can also forward other UDP services, like DNS or TFTP, by default. Understanding how to configure and use DHCP IP helper/UDP forwarding is key for ensuring efficient DHCP communication across subnet boundaries in a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

DNS Address (A vs. AAAA)

A

DNS “A” (Address) and “AAAA” (Quad A) records are used to map domain names to IP addresses, but they serve different versions of IP.

An A record maps a domain name to an IPv4 address, which is a 32-bit address format like “192.168.1.1”. It is the most common type of DNS record used to direct traffic to websites or other services that rely on IPv4 addresses.

An AAAA record maps a domain name to an IPv6 address, which is a 128-bit address format like “2001:0db8:85a3:0000:0000:8a2e:0370:7334”. This is used in networks that support IPv6, the newer version of the Internet Protocol designed to handle the growing number of devices and improve address space.

For the exam, it’s crucial to understand that A records handle IPv4, while AAAA records are for IPv6. As the world gradually transitions to IPv6, both A and AAAA records are often used together in modern DNS configurations to ensure compatibility with both IP versions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

DNS Canonical name (CNAME)

A

A CNAME (Canonical Name) record is a type of DNS record that maps one domain name (an alias) to another domain name (the canonical or true name). Essentially, it allows multiple domain names to point to the same resource without having to maintain multiple A or AAAA records.

For the exam, it’s important to know that CNAME records are commonly used when you want to map different subdomains, like www.example.com and mail.example.com, to a primary domain, such as example.com. This simplifies DNS management, as changes to the primary domain’s IP address only need to be updated in the A or AAAA record for the canonical domain, not in each alias.

CNAME records cannot coexist with other DNS records for the same domain, meaning a domain with a CNAME cannot also have an A or MX record. Understanding the function and restrictions of CNAME records is important for managing DNS configurations and domain redirections efficiently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

DNS Mail exchange (MX)

A

A Mail Exchange (MX) record is a type of DNS record that specifies the mail server responsible for receiving email on behalf of a domain. MX records direct email messages to the correct server by associating a domain name with the mail server’s hostname. They include a priority value that determines the order in which mail servers should be used if multiple are available.

For the exam, it’s important to know that MX records work in conjunction with A or AAAA records, as they point to the mail server’s domain, which in turn maps to an IP address. The priority field allows for redundancy; if the mail server with the lowest priority (highest priority number) is unavailable, the next one is used. Understanding MX records is critical for configuring and managing email services within a domain, ensuring proper email routing and delivery.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

DNS Start of authority (SOA)

A

A Start of Authority (SOA) record is a DNS record that provides essential information about a domain’s DNS zone, including details about the zone’s primary DNS server, the administrator’s contact information, and various timing parameters for the zone’s operation. The SOA record is the first record in a DNS zone file and helps control the overall behavior of the domain’s DNS.

For the exam, it’s important to know that the SOA record contains key fields such as the primary name server, the email address of the domain administrator (formatted with a period instead of “@” in DNS), a serial number for version control of the zone, and timers that define how often DNS servers should refresh their data or retry after a failure. The SOA record is crucial for zone transfers between DNS servers and is essential for maintaining DNS accuracy and reliability across the network. Understanding the SOA record’s role in DNS management is key for configuring DNS zones properly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

DNS Pointer (PTR)

A

A Pointer (PTR) record is a type of DNS record used for reverse DNS lookups, mapping an IP address to a domain name. While most DNS records translate domain names to IP addresses (forward DNS), PTR records do the opposite by resolving an IP address back to a domain name, verifying that a specific IP is associated with a particular hostname.

For the exam, it’s important to know that PTR records are commonly used in email servers to verify the identity of the sender’s IP address, helping to prevent spam or fraudulent activity. They are configured in the reverse DNS zone, where IP addresses are written in reverse order with .in-addr.arpa for IPv4 or .ip6.arpa for IPv6 addresses. Understanding how PTR records work is critical for ensuring proper network management, particularly in relation to security and email server authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

DNS Text (TXT)

A

A Text (TXT) record is a type of DNS record used to store human-readable or machine-readable text in a DNS entry. These records allow domain administrators to insert arbitrary text into the DNS system, which is often used for various purposes, such as verification, security, or configuration.

For the exam, it’s important to know that TXT records are commonly used for several key functions, including domain ownership verification for services like Google or Microsoft, and security protocols like SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) for email authentication. SPF helps identify which mail servers are allowed to send emails on behalf of a domain, reducing the risk of email spoofing. TXT records can also be used for other application-specific purposes. Understanding the versatility and common uses of TXT records is essential for managing DNS and ensuring domain security.

17
Q

DNS Service (SRV)

A

A Service (SRV) record is a type of DNS record used to specify the location of services within a domain, such as a specific server that provides a service like VoIP, instant messaging, or directory services. SRV records define the hostname and port number of servers for particular services, allowing clients to locate these services dynamically.

For the exam, it’s important to know that SRV records are commonly used in protocols such as SIP (Session Initiation Protocol) for VoIP services or in Microsoft Active Directory environments to locate domain controllers. An SRV record includes the service type, protocol (TCP/UDP), priority, weight, port number, and the target hostname. Understanding SRV records is essential for configuring services that require dynamic service discovery and ensuring seamless client-service connections within a network.

18
Q

DNS Name server (NS)

A

A Name Server (NS) record is a type of DNS record that indicates which DNS servers are authoritative for a particular domain. These servers are responsible for answering queries about the domain and its subdomains, ensuring that users can resolve domain names into IP addresses.

For the exam, it’s important to know that NS records are crucial for directing traffic and managing the DNS hierarchy. Each domain typically has at least two NS records pointing to the primary and secondary name servers. This redundancy ensures reliability, allowing another server to respond if the primary server is unavailable. NS records must be properly configured to delegate DNS resolution authority and maintain domain name availability across the internet. Understanding NS records is key for ensuring that a domain’s DNS is properly managed and resilient.

19
Q

DNS Global hierarchy & Root Servers

A

The DNS global hierarchy is the structure of the Domain Name System that organizes and manages the resolution of domain names into IP addresses worldwide. It operates in a hierarchical manner, starting from the root level at the top and branching down through Top-Level Domains (TLDs), Second-Level Domains, and then to individual subdomains.

For the exam, it’s important to understand that at the top of this hierarchy are the root servers, which handle requests for TLDs like .com, .org, and country codes like .uk or .jp. Below the TLDs, domain registrars manage second-level domains like example.com. The global DNS hierarchy ensures the scalability and organization of domain name resolution across millions of domains, providing a decentralized and efficient way to manage internet resources. Each level in the hierarchy has its own set of authoritative DNS servers, and the system works together to resolve domain names to their corresponding IP addresses.

20
Q

DNS internal vs. external

A

DNS internal and external refer to the use and configuration of DNS records within different network scopes, impacting how domain names are resolved inside and outside an organization.

Internal DNS, also known as private DNS, is used within an organization’s local network. It resolves domain names for internal resources such as servers, printers, and other devices. Internal DNS can enhance security by keeping internal IP addresses hidden from the public internet and allows for custom domain naming that suits organizational needs. For the exam, it’s important to understand that internal DNS servers can be configured with different records than those exposed externally, and they often handle requests from clients within the network only.

External DNS, or public DNS, is used to resolve domain names that are accessible from the public internet. It allows external users to find and connect to web services, email servers, and other resources hosted by the organization. External DNS records must be carefully managed to ensure correct resolution of domain names and to maintain security. Understanding the differences between internal and external DNS is crucial for network management, security planning, and ensuring seamless access to services both inside and outside the organization.

21
Q

DNS - Zone transfers

A

DNS zone transfers are the process of replicating DNS records from a primary DNS server to one or more secondary DNS servers. This mechanism ensures that DNS records are consistent and up-to-date across multiple servers, which is vital for redundancy and reliability in DNS resolution.

For the exam, it’s important to know that there are two types of zone transfers: AXFR (full zone transfer) and IXFR (incremental zone transfer). An AXFR transfer copies the entire DNS zone file, while IXFR only transfers changes made since the last update, making it more efficient. Zone transfers are typically initiated by secondary servers to retrieve updates from the primary server. It’s crucial to secure zone transfers to prevent unauthorized access, as exposing DNS records can lead to security vulnerabilities. Understanding DNS zone transfers is essential for managing DNS infrastructures effectively, ensuring that all DNS servers have the most current information and maintaining network reliability.

22
Q

DNS - Authoritative name servers

A

Authoritative name servers are DNS servers that hold the complete database of DNS records for a specific domain or a set of domains. These servers provide definitive answers to queries about the domain names they manage, as opposed to providing cached or intermediary information.

For the exam, it’s important to understand that authoritative name servers respond to DNS queries with the actual IP addresses or other records associated with the domain, making them a critical component of the DNS infrastructure. When a DNS resolver queries an authoritative name server, it can obtain information such as A, AAAA, MX, NS, and other record types that are definitive for the domain in question. There are two main types of authoritative servers: primary (or master) servers that contain the original zone file and secondary (or slave) servers that obtain their data from the primary server through zone transfers. Understanding the role and function of authoritative name servers is essential for managing DNS and ensuring accurate domain name resolution.

23
Q

DNS - Time to live (TTL)

A

Time to Live (TTL) is a crucial parameter in DNS records that specifies the duration in seconds that a DNS record can be cached by DNS resolvers and servers before it must be refreshed or re-queried from the authoritative name server. TTL helps manage the lifespan of cached DNS data, impacting both performance and the speed at which changes to DNS records propagate across the internet.

For the exam, it’s important to know that a lower TTL value means that changes to DNS records will propagate more quickly, but it can increase the load on the authoritative DNS server due to more frequent queries. Conversely, a higher TTL reduces the number of queries made to the DNS server, improving performance but potentially delaying updates. Typical TTL values range from a few seconds to several hours or even days, depending on the stability of the DNS records. Understanding how to set and adjust TTL values is essential for optimizing DNS performance and ensuring timely updates for domain name resolutions.

24
Q
  • DNS caching
A

DNS caching is the process by which DNS resolvers temporarily store DNS query results to reduce the need for repeated requests to authoritative name servers. When a user accesses a website, the resolver queries the appropriate DNS records and caches the results for a specified duration defined by the Time to Live (TTL) of those records. This improves efficiency by speeding up the resolution of frequently accessed domain names and reducing overall DNS traffic.

For the exam, it’s important to understand that DNS caching occurs at multiple levels, including local device caches (on computers and routers), ISP caches, and at intermediate DNS resolvers. If a cached entry is still valid (i.e., it hasn’t expired based on TTL), the resolver can return the cached result without querying the authoritative server again, leading to faster load times for users. However, if the cached entry has expired or is not found, the resolver must perform a new query. Understanding DNS caching is essential for optimizing network performance and troubleshooting DNS-related issues, as stale or incorrect cache entries can lead to resolution problems or delays in accessing updated domain information.

25
Q

Reverse DNS/reverse lookup/forward lookup

A

Forward lookup and reverse DNS lookup are two essential processes in the Domain Name System (DNS) that serve opposite functions.

Forward lookup is the process of resolving a domain name to its corresponding IP address. This is the most common type of DNS query, where a client requests the IP address associated with a specific domain, such as converting example.com into an IP address like 192.0.2.1. Forward lookups typically utilize A records for IPv4 addresses and AAAA records for IPv6 addresses.

Reverse DNS lookup, on the other hand, is the process of resolving an IP address back to a domain name. This is accomplished using Pointer (PTR) records. For instance, a reverse lookup would convert an IP address like 192.0.2.1 back to its associated domain name, such as example.com. Reverse lookups are commonly used for validating the authenticity of email senders, enhancing security by confirming that the sending IP corresponds to a legitimate domain.

For the exam, it’s important to understand that both processes are critical for proper network functioning, with forward lookups enabling users to access websites using human-readable domain names and reverse lookups assisting in security and troubleshooting efforts by verifying the identities of IP addresses. Understanding both concepts is essential for managing DNS and ensuring secure and efficient network communication.

26
Q

DNS Recursive lookup/iterative lookup

A

DNS recursive lookup and iterative lookup are two types of queries that a DNS resolver can perform to resolve a domain name to an IP address.

In a recursive lookup, the DNS resolver takes on the full responsibility of resolving the domain name for the client. When the resolver receives a query, it queries other DNS servers on behalf of the client until it finds the authoritative answer. If the resolver does not have the answer cached, it will start at the root name servers and follow the chain down through the hierarchy until it retrieves the final IP address. This method simplifies the process for the client, as they receive a direct response from the resolver without needing to make additional requests.

In contrast, an iterative lookup involves the DNS resolver querying multiple DNS servers, but it does not fully manage the resolution process. Instead, the resolver contacts a DNS server and, if that server does not have the answer, it provides the best answer it can, which might be a referral to another DNS server. The resolver then has to make additional queries based on that referral until it finds the answer or until it reaches the authoritative server.

For the exam, it’s important to understand that recursive lookups are typically preferred by clients for ease of use, while iterative lookups can be more efficient for DNS servers when managing multiple queries. Knowing the differences between these two lookup methods is crucial for understanding how DNS resolution operates and the roles that different servers play in the process.

27
Q

NTP Stratum

A

NTP Stratum refers to the hierarchical level of a network time server within the Network Time Protocol (NTP) system. Stratum levels indicate the distance from the reference clock, with lower stratum numbers representing servers that are closer to the primary time source.

Stratum 0 devices are high-precision timekeeping devices, such as atomic clocks or GPS clocks, which are not directly accessible over the network. Stratum 1 servers are directly connected to Stratum 0 devices and provide accurate time to Stratum 2 servers, which in turn synchronize with Stratum 1 servers. This hierarchy continues, with each subsequent stratum level providing time based on the stratum level above it.

For the exam, it’s important to understand that lower stratum numbers (like 1 and 2) provide more accurate time synchronization than higher stratum numbers (like 3 or 4) due to the increased distance from the reference clock. Stratum levels help in maintaining a structured and reliable time synchronization system across networks, which is crucial for various applications that require precise timekeeping, such as logging events, coordinating transactions, and securing communications. Understanding NTP stratum is essential for configuring and troubleshooting time synchronization in network environments.

28
Q

NTP - Clients

A

NTP clients are devices or applications that synchronize their local clocks with an NTP server to ensure accurate timekeeping. These clients rely on the Network Time Protocol (NTP) to receive time information from one or more NTP servers, which helps maintain consistent time across networked systems.

For the exam, it’s important to understand that NTP clients can vary in complexity, ranging from simple desktop computers and servers to network devices like routers and switches. Typically, NTP clients send a request to an NTP server, which responds with the current time. The client then adjusts its clock based on the received time information, accounting for any network latency. NTP clients can be configured to communicate with multiple servers for redundancy and improved accuracy. Understanding how NTP clients function is crucial for maintaining time synchronization in distributed network environments, which is essential for logging events, coordinating operations, and ensuring the integrity of time-sensitive applications.

29
Q

NTP - Servers

A

NTP servers are devices or software applications that provide accurate time information to NTP clients within a network. They synchronize their clocks with a higher-stratum NTP server or an external time source, such as an atomic clock or GPS receiver, to ensure precise timekeeping.

For the exam, it’s important to understand that there are different types of NTP servers. Stratum 1 servers are directly connected to a reference clock and serve as primary time sources for other servers and clients. Stratum 2 servers obtain time from Stratum 1 servers and provide synchronization to lower-stratum devices. This hierarchical structure allows for widespread time distribution while maintaining accuracy. NTP servers can be configured to serve multiple clients and may use various methods to reduce network latency and improve synchronization accuracy. Understanding the role of NTP servers is crucial for setting up and maintaining a reliable time synchronization system in networked environments, which is essential for event logging, data integrity, and the overall functionality of time-sensitive applications.