Skip to content

Instantly share code, notes, and snippets.

View karlroberts's full-sized avatar

Karl Roberts karlroberts

View GitHub Profile
@craigvantonder
craigvantonder / flush-dns.sh
Last active February 3, 2021 04:42
Flushing the DNS in Ubuntu 16.04
#!/bin/bash
# NB: First install nscd with sudo apt-get install nscd
# run this command to flush dns cache:
sudo /etc/init.d/dns-clean restart
# or use:
sudo /etc/init.d/networking force-reload
# Flush nscd dns cache:
sudo /etc/init.d/nscd restart
@h4cc
h4cc / readme.md
Last active June 17, 2017 18:12
Backups with Ubuntu BackInTime onto a Synology DSM5 via SSH