Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

José Postiga josepostiga

🏠
Working from home
View GitHub Profile
View pinging_dnsmasq_tlds
▶ ping infraspeak.development
PING infraspeak.development (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.025 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.038 ms
--- infraspeak.development ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 32ms
rtt min/avg/max/mdev = 0.025/0.031/0.038/0.008 ms
▶ ping non-existing-subdomain.infraspeak.development
View restart_networkmanager_services.sh
sudo systemctl disable systemd-resolved.service
sudo systemctl stop systemd-resolved.service
sudo rm /etc/resolv.conf
sudo systemctl restart network-manager.service