Skip to content

Commit 75fca3f

Browse files
Update System_Configuration.md
1 parent 43edafa commit 75fca3f

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

DFIR/Digital Forensics/Linux/System_Configuration.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,27 @@ It serves as a local DNS (Domain Name System) resolver, mapping hostnames to IP
5353

5454
**Blocking or redirecting:** Redirecting certain hostnames to alternative IP addresses, such as blocking access to certain websites by redirecting them to localhost.
5555

56+
## DNS Resolution (/etc/resolv.conf)
57+
The `/etc/resolv.conf`is used to configure DNS (Domain Name System) resolver settings for the system, specifying which DNS servers to use and other related parameters. Here's a typical example of what you might find in an /etc/resolv.conf file:
58+
```bash
59+
# Generated by NetworkManager
60+
nameserver 192.168.1.1
61+
nameserver 8.8.8.8
62+
```
63+
The /etc/resolv.conf file is typically generated automatically by network configuration tools such as NetworkManager or DHCP (Dynamic Host Configuration Protocol) clients when the system obtains network settings from a DHCP server. However, you can also manually edit this file to configure DNS settings.
64+
65+
### In addition to nameserver entries, the /etc/resolv.conf file may include other directives such as domain, search, options, and sortlist, which provide additional DNS configuration options:
66+
67+
- **domain:** Specifies the default domain name used for unqualified hostnames.
68+
69+
- **search:** Specifies a list of domains to append to unqualified hostnames during DNS resolution.
70+
71+
- **options:** Specifies various DNS resolver options such as timeout values, DNS search order, and more.
72+
73+
- **sortlist:** Specifies a list of IP address/netmask pairs to control the order of address resolution.
74+
75+
76+
5677

5778
## ip addr show
5879
The command "ip address show" (or its shorthand "ip a") is a powerful tool used in Linux systems to display information about network interfaces and their associated IP addresses. It provides detailed information about the networking configuration of the system.

0 commit comments

Comments
 (0)