DNS Resolution: From Root Servers to DNS Caching

When a user enters a website address (e.g., www.example.com) into a web browser, the system must resolve the domain name into an IP address before establishing a connection. This process, known as DNS resolution, involves multiple steps and caching mechanisms to optimize performance. Step-by-Step DNS Resolution Process DNS Cache Memory Update DNS caching is importand … Read more

Set Up MySQL 8.4 Replication for Zabbix Using Percona XtraBackup

MySQL replication is a powerful way to create a reliable and scalable database environment for Zabbix. One effective method for setting up replication is to use Percona XtraBackup, a robust tool that allows non-blocking backups of MySQL databases. Below is a step-by-step guide to achieve this. Prerequisites Step 1: Prepare the Master Database for Replication … Read more

HTTPS transaction process

In this post I am walking through the HTTPS transaction process starting from the ClientHello request until the encryption of real data. 1. TCP Handshake The client initiates a three-way TCP handshake with the server to establish a reliable communication channel: Once the TCP connection is established, the TLS handshake begins. 2. TLS Handshake Steps … Read more

VM clone from template by Terraform and vSphere provider

In this post I will walk through the creation of VM clone from template using Terraform and vSphere provider. I have created a new VM with HCP Packer following the process in this post AlmaLinux 9 VM using HashiCorp Packer and vSphere ISO Plugin for AlmaLinux 9 or Ubuntu 24.04 VM using HashiCorp Packer and … Read more

Ubuntu 24.04 VM using HashiCorp Packer and vSphere ISO Plugin

In this post I am going to create an Ubuntu 24.04 virtual machine image using HashiCorp Packer, Autoinstall, Cloud-init and the Ansible provisioner. Running Packer command, the vSphere builder will request vSphere through API to create a new VM with the parameters found in Packer template. It will boot from the image iso file and … Read more

AlmaLinux 9 VM using HashiCorp Packer and vSphere ISO Plugin

This guide walks through the process of setting up a virtual machine (VM) with AlmaLinux 9 using HashiCorp Packer and the vSphere ISO plugin. I will create a Packer template, configure a Kickstart file, and automate post-configuration using an Ansible playbook. With Packer we can create a virtual machine image in a vSphere environment starting … Read more