#> opsech.io

Random wanderings of a Linux traveller

Recent Articles:

Quick Tip: Enable easy NetworkManager local DNS caching

To enable NetworkManager’s feature to start dnsmasq and enable dns caching:

  1. Add the following dns= line to /etc/NetworkManager/NetworkManager.conf:

  2. Install dnmasq:

    sudo dnf install dnsmasq
  3. Add some extra space to the default cache:

    sudo sh -c 'echo "cache-size=1000" >> /etc/NetworkManager …

NFSv4-Only on CentOS 7.2

The road to a NFSv4 only server is not very clearly documented on the internet regarding Fedora/CentOS 7 - as the move to systemd has changed some operations of how nfs.service pulls in configuration variables from /etc/sysconfig/nfs.

Why should you consider doing this? If like me you …