20 Linux Network Commands Every Engineer Should Know (But Most Don’t)

20 Linux Network Commands Every Engineer Should Know (But Most Don't)

20 Linux Network Commands Every Engineer Should Know (But Most Don’t) When our production server goes down at 3 AM, we don’t want to spend time Googling “how to debug network issues”. You need to be well-versed in these commands. I have been there, frantically troubleshooting connection issues with stakeholders breathing down my neck. After … Read more

Beyond HTTP: A Comprehensive Guide to Application Layer Protocols

Beyond HTTP: A Comprehensive Guide to Application Layer Protocols

Application Layer Protocols DNS Protocol Main Function: Responsible for resolving domain names into IP addresses. What is a domain name: Root Domain: . Top-Level Domains: com, edu, net, cn, org, gov Second-Level Domains: baidu.com, 91xueit.com Third-Level Domains: dba.baidu.com, ftp.baidu.com Domain Name Resolution Test: Signal baidu.com nslookup www.baidu.com (CDN causes different resolution results) DHCP Protocol Main … Read more

Home Network/Enterprise Network: Building a Pollution-Free DNS Server Based on Unbound (Redis Caching)

Pollution-free DNS, internal traffic diversion, internal caching (with Redis caching), traffic diversion acceleration Text Warning! System: Debian 12 local root server (SSH server has been selected) Minimum system requirements: 4 cores, 4 GB RAM Software: dnsproxy, unbound Please ensure your local server meets the necessary minimum requirements apt-get update apt-get -y install wget nano dnsutils … Read more

A Journey to One-Click Start OpenClash Configuration on WanKe Cloud ‘Old Hen’ with OpenWrt

A Journey to One-Click Start OpenClash Configuration on WanKe Cloud 'Old Hen' with OpenWrt

In the previous issue, we successfully flashed OpenWrt onto the WanKe Cloud ‘Old Hen’. This time, we will introduce how to install and configure OpenClash on WanKe Cloud. First, install the OpenClash service in the OpenWrt system of WanKe Cloud. The version I am using already includes this service, and the installation process is very … Read more

Introduction to Linux (Part 4)

Introduction to Linux (Part 4)

First, let me ask a question: How can we check what Name Server records a domain has? Linux provides a number of network-related commands. Since these network commands are quite scattered, I have organized the commonly used network commands from the following perspectives: Remote operations; Check local network status; Network testing; DNS queries; HTTP. This … Read more

Installation and Usage of dig and nslookup Tools in Linux Systems

Installation and Usage of dig and nslookup Tools in Linux Systems

In network management, domain resolution, or connectivity troubleshooting, <span>dig</span> and <span>nslookup</span> are two indispensable DNS diagnostic tools. They can query domain resolution records, detect DNS response data, verify mail server configurations, and retrieve IP address information associated with domain names. Below, we will detail how to install these two tools on mainstream Linux distributions and … Read more

Installation, Configuration, and Maintenance of Linux DNS Server

Installation, Configuration, and Maintenance of Linux DNS Server

(Click the public account above to quickly follow) English: dzone, Translator: Open Source China https://www.oschina.net/translate/linux-dns-server-installation-amp-configuration-am?print If you have good articles to submit, please click → here for details Each IP address can have a hostname, which consists of one or more strings separated by dots. With a hostname, there is no need to memorize the … Read more

Setting Up a DNS Domain Name Resolution Server on Linux (Detailed Version)

Setting Up a DNS Domain Name Resolution Server on Linux (Detailed Version)

Setting Up a DNS Domain Name Resolution Server on Linux (Detailed Version) This article provides a detailed introduction on how to configure a DNS server in Linux, including the working principle of DNS, local caching, the DNS query process, as well as the configuration of forward and reverse queries. The steps include server configuration, editing … Read more

Configuring OpenWrt in One-Arm Router Mode

Configuring OpenWrt in One-Arm Router Mode

Total text: 888 words, 24 images,Estimated reading time: 1 minute Previously, we successfully deployed OpenWrt on an x86 ESXi server (Deploying OpenWrt on x86 servers), but we did not set a root password, which is very insecure. Let’s quickly set a password under “system” → “Administration”, with a minimum length requirement of 6 characters. System … Read more

Understanding How Home Networks Access External Servers

Understanding How Home Networks Access External Servers

As someone who frequently deals with electronics, I have always had a question. Is there no trick behind the ability to casually interact with external servers just by tapping on a phone or typing on a computer at home? How do home devices access external servers? Before this, I only knew part of the story. … Read more