I ran some updates, and the name service stopped resolving. My LAN has a local nameserver to resolve domain names for virtual machines.
It turns out the /etc/resolv.conf file was overwritten, and a program called resolvconf had taken it over. resolvconf centralizes updating the resolv.conf file from several different programs that might want to change the file, like NetworkManager, ifup, ifdown, and dhclient.
There are a couple fixes. The one I chose was to replace resolv.conf.
Continue reading /etc/resolv.conf, resolvconf, NetworkManager (and systemd-resolved?) Not Working
ERROR 1698 (28000): Access denied for user ‘root’@’localhost’ started showing up with the system upgrade to Ubuntu 15 and MariaDB.
Continue reading ERROR 1698 (28000): Access denied for user ‘root’@’localhost’
This article describes how to use Python’s logging
library to send logs to syslog. Then, using rsyslog,
a fancier syslog, we produce a log of pre-filtered
Continue reading End the Chaos, Get with the Program: Python Logging to Syslog, and Filtering with RSyslog
This is easy to find anywhere, and it’s here too. This one includes the dns-* lines that will be read by resolvconf(8).
root@server:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
iface lo inet loopback
# The primary network interface
iface eth0 inet static
Also, here’s a cheatsheet for setting that netmask:
255.255.255.252 /30 2 nodes
255.255.255.248 /29 6 nodes
255.255.255.240 /28 14 nodes
255.255.255.224 /27 30 nodes
255.255.255.192 /26 62 nodes
255.255.255.128 /25 126 nodes
255.255.255.0 /24 "Class C" 254 nodes
Note that the number of nodes is the total number of addresses, less two. It’s less two because the lowest value is the address of the entire network. The highest value is the broadcast address. So if the netmask is 0, then the lowest value is 0, and that’s the address of the network, and the highest value is 255, which is the broadcast address.