CloudFlare DNS for Network Manager

#Linux  #dns  #sysadmin  #network manager   in tech

updated Sun 20 May 2018 by Ken

CloudFlare provides a performant recursive nameserver along with a promise to never surveil their users.

Their Linux quickstart involves modifying the standard C library's resolver (i.e. /etc/resolv.conf) which is a terrible idea if you are using most of the popular flavors of Linux as a daily driver desktop OS because they're likely using dnsmasq or resolvconf or both to declare the contents of that file.

For what it's worth, here's shellcode to quickly reconfigure an existing Network Manager saved connection with nmcli.

# make a note of the name of the connection you wish to configure e.g. "WiFi Secure"
nmcli connection show

# save the name of the connection in a variable
export CONN="WiFi Secure"

# paste the following in your terminal to reconfigure DNS
nmcli connection modify "$CONN" \
    ipv4.ignore-auto-dns yes \
    ipv4.never-default no \
    ipv4.dns ""

# reactivate the saved connection
nmcli connection up "$CONN"

# optionally restore default DNS (DHCP)
nmcli connection modify "$CONN" \
    ipv4.ignore-auto-dns no


CloudFlare DNS for Network Manager from u/bingnet

Virtual Machines as Code

Optimizing for determinism in virtual machines. This approach can be used to vend the same virtual machine image version in many formats e.g. VHD for Azure, Stac Programmable Front-end

In short, a programmable cloud delivery network (CDN) aka front-end like is an API by which to configure the logical edge of an application stack.

Securing AWS Credentials

A single rogue npm module, Ruby gem, PyPi module, or ill-fated cURL command could expose you (and your employer) t