On most modern Linux distros, you can enable the local caching of DNS queries by using the built-in systemd-resolved service. In this article, we will take a look at how to speed up the resolution of DNS queries by using systemd-resolved local client caching on Debian and Ubuntu. This allows you to reduce DNS resolution delays if you have an unstable network connection, when DNSSEC is enabled, and on hosts that make a large number of DNS queries (for example, mail servers).
Category: Linux
Modern versions of Ubuntu offer many different ways to configure network settings, and it’s easy to get confused. In this article, we will have a look at how to configure network settings in Ubuntu using Network Manager, Systemd Networkd, Netplan, and the static configuration file /etc/network/interfaces (legacy way).
Continue reading “Configure Network Settings on Ubuntu (Network Manager, Systemd and Netplan)”
Before starting an in-place upgrade from Debian 11 to the new Debian 12 (Bookworm), we recommend backing up your operating system.
Continue reading “Updating Debian 11 to Debian 12 (Bookworm)”
Linux locale
settings determine the current operating system regional settings used in the terminal and GUI (such as date and time format, currency symbols, available character sets, etc.). This article looks at how to check or set locale settings on Linux distros (Ubuntu, Debian, Mint).
Continue reading “How to Add and Change System Locale on Ubuntu and Debian”
On Debian and Ubuntu operating systems with a graphical user interface, the sleep (suspend) and hibernation modes are enabled by default.
Continue reading “Disable Suspend and Hibernation Modes in Ubuntu/Debian Linux”
Rebooting a Linux device can happen for several reasons. This could be a normal restart of the operating system by the user, an automatic installation of updates, kernel panics, physical hardware failures, software errors, or a power failure.
Continue reading “Linux: Find Out Last System Reboot Time and Reason”
Systemd provides the systemd-networkd service that can be used to configure network settings on a Linux machine. In this article, we will look at how to use systemd-networkd to configure a network on Debian/Ubuntu distro as an example.
Continue reading “Network Configuration with Systemd-networkd on Ubuntu/Debian”
By default, regardless of the time zone settings on the host machine, Docker containers use UTC as the time zone.
To find out the type of partition table on a disk in Linux, run the command
$ sudo parted /dev/sdb print
Many temporary and unused files are left on the Ubuntu drive after installing/uninstalling packages and dependencies. In addition, log files and old versions of the kernel can take up a fair amount of disk space. This article shows you how to clean up your Ubuntu Server hard drive by deleting temporary and unused files.