-
DNS cache with dnsmasq
I’ve noticed in my dns logs that a specific host is very talkative. Even if my DNS server is able to hande the load I wanted to avoid sending several hundred thousand queries per day to it. To avoid that all of those queries are sent to my DNS server I decided to use dnsmasq…
-
How to extend a LVM-disk in Linux
Extending a disk in a non-graphical interface in Linux is a bit tricky if you’re not used to it. A lot can go wrong, so make sure you have backups of the content. I’m choosing to focus on LVM-disks as that’s what I tend to use the most, and they are easy to work with…
-
Static IPv4/IPv6 in Linux
Assigning a static IP in Linux could be a bit tricky. This is how I do it on Ubuntu and Rocky Linux. Ubuntu 22.04 using netplan.# vi /etc/netplan/00-installer-config.yaml # netplan apply Rocky Linux 8/9 using NetworkManager (nmtui)# nmtui OK -> Back -> QuitRestart the network: