dnsmasq detailed explanation and configuration LH DNS
1. Introduction to dnsmasq
Dnsmasq provides DNS caching and DHCP services. As a domain name resolution server (DNS), dnsmasq can improve the connection speed of visited web addresses by caching DNS requests. As a DHCP server, dnsmasq can be used to assign intranet ip addresses and provide ...
Posted on Mon, 08 Nov 2021 03:11:47 -0500 by zeodragonzord
Understanding docker network
Test ip addr view
We can test whether the container can ping between containers
# Run a tomcat
docker run -d -P --name tomcat01 tomcat
# Get ip
# We can view the ip address of the container by viewing the metadata
# Then ping the container with the host linux
ping 172.18.0. ...
Posted on Sun, 07 Nov 2021 14:37:01 -0500 by bufke
As mentioned earlier, the disadvantage of the IO multiplexing API, select and poll is that the performance is not enough. The more client connections, the more obvious the performance degradation. The emergence of epoll solves this problem. Reference The Linux Programming Interface A statistical comparison is as follows:
fd quantity ...
Posted on Fri, 05 Nov 2021 21:19:10 -0400 by leeharvey09
Use of TCP and UDP network communication classes
1. Procedure framework construction
Then, in the last article, we began to design the related functions of UDP. First, hide the related UDP configuration;
1.1 explanation of constructor
MainWindow::MainWindow(QWidget *parent):QMainWindow(parent),ui(new Ui::MainWindow)
Its mea ...
Posted on Thu, 04 Nov 2021 15:19:48 -0400 by oh_maestro
Realize a unified high availability architecture of external download access portal, in which all Nginx are only used for download.
machineInstallation instructions192.168.89.101Libfastcommon，FastDFS192.168.89.102Libfastcommon，FastDFS192.168.89.103Libfastcommon，FastDFS，nginx，fastdfs-nginx-module192.168.89.104Libfastcommon，Fa ...
Posted on Wed, 03 Nov 2021 02:34:13 -0400 by SpanKie
Getting started with basics - packet expansion
Website resolution correspondence
briefly Website construction process Attack level involved Source code, build platform, system, network layer, etc Safety issues involved Directory, sensitive file, weak password, IP and domain name, etc
Browser direct access to server
Posted on Mon, 01 Nov 2021 05:30:12 -0400 by neo926
1. Singleton mode
* Single example: a class is obtained multiple times and only one object is obtained
* 1 Construction method privatization
* 2 Static variable storage object
* 3 Public static method for getting objects
* @author Learn bald Zhang
*@Date 2021 October 31, 2013 3:55:36 PM
Posted on Sun, 31 Oct 2021 11:59:55 -0400 by savj14
Netdata Embedded Configuration
Netdata can indeed be called a very excellent project. At present, there are not many monitoring systems that can operate stably on embedded devices, and even fewer that really have strong commercial value. For example, Baota Qinglong also provides functions similar to netdata, but it is a little Pedi ...
Posted on Fri, 29 Oct 2021 23:55:55 -0400 by irishgirl2004
TCP/IP network programming Yin Shengyu
Multiple options for sockets
Some socket options are listed in the table above. IPPROTO_IP layer options are IP protocol related matters, IPPROTO_TCP layer options are matters related to TCP protocol, sol_ The socket layer is a general option related to sockets
Read the options (G ...
Posted on Thu, 28 Oct 2021 14:39:44 -0400 by David4321
Introduction to node discovery
The main goal of the discovery mechanism is to create the topology of Ignite nodes and build and maintain a consistent memory view on each node. For example, this view contains the number and order of nodes in the cluster.
The discovery mechanism is represented by the DiscoverySpi interface, and the default ...
Posted on Thu, 28 Oct 2021 01:50:28 -0400 by Code_guy