Skip to content

Instantly share code, notes, and snippets.

View sohag1192's full-sized avatar
🎯
Focusing

Md Sohag Rana sohag1192

🎯
Focusing
View GitHub Profile
@sohag1192
sohag1192 / DNS over TLS for unbound
Created October 11, 2023 13:03 — forked from BigSully/DNS over TLS for unbound
DNS over TLS configuration for unbound, including Google DNS, Cloudflare DNS and Quad9 DNS
View DNS over TLS for unbound
server:
logfile: ""
# verbosity: 2
username: "nobody"
interface: 0.0.0.0
access-control: 0.0.0.0/0 allow
prefetch: yes
# include: "/opt/unbound/local.conf"
# include: "/opt/unbound/customize.conf"
@sohag1192
sohag1192 / clean.sh
Created August 17, 2023 06:40 — forked from Iman/clean.sh
Free up disk space on Ubuntu - clean log, cache, archive packages/apt archives, orphaned packages, old kernel and remove the trash
View clean.sh
#!/bin/sh
#Check the Drive Space Used by Cached Files
du -sh /var/cache/apt/archives
#Clean all the log file
#for logs in `find /var/log -type f`; do > $logs; done
logs=`find /var/log -type f`
for i in $logs