The way DNS is configured in Ubuntu has become overly complicated in the last few versions. Insteadof configuring /etc/network/interfaces, it is now configured using Netplan. But sometimes thatdoesn’t even work because DNS is ultimately controlled by systemd-resolv. systemd-resolvgenerates /etc/resolv.conf and the default stub DNS uses a local resolver to resolve DNShostnames. For some reason, after…
Python Code Snippets
List of files, just filenames, no directories. List files, no directories, full path. Indicate that your string variable is a raw string.
Install PowerDNS with PowerDNS-Admin
There are several places where you will need to choose a custom value, such as password. Pleasekeep that in mind. Update Ubuntu Install MariaDB Run MySQL security Login to MySQL as root We will now create the powerdns table. Use the following commands within the MySQL console line byline. Disable systemd-resolved. Replace resolv.conf. Install PowerDNS…
Useful Tools
Link Compilation Awesome Sys-admin – A curated list of amazingly awesome open source sysadmin resources. free-for.dev – A list of SaaS, PaaS and IaaS offerings that have free tiers of interest to devops and infradev Linux tldr Simplified – Human-friendly MAN pages Linux Command – Shell scripts tutorial
How to resolve incorrect time with Windows Domain Controller
The Domain Controller should be the definitive source for time for the entire Windows Domainnetwork. It needs to sync directly to NTP servers and not the hardware clock of the machine it’s onwhether it’s a virtual machine or a physical server. That means don’t set VMware Tools to sync time for the guest. There are…