Posts

Showing posts from March, 2026

auto update debian 13

  1. Install Required Packages Install the update utility and the mail tools needed to send notifications. bash sudo apt update && sudo apt upgrade -y sudo apt install unattended-upgrades apt-listchanges bsd-mailx msmtp msmtp-mta -y      2. Configure msmtp (Zoho Mail)   Create and secure the mail configuration file at /etc/msmtprc .   Edit the file: sudo nano /etc/msmtprc Add your Zoho settings: ini defaults auth on tls on tls_starttls on tls_trust_file /etc/ssl/certs/ca-certificates.crt logfile /var/log/msmtp.log account zoho host smtp.zoho.com port 587 from your-email@zoho.com user your-email@zoho.com password your-regular-password account default : zoho      Set Permissions:  bash sudo groupadd -f msmtp sudo chown root:msmtp /etc/msmtprc sudo chmod 640 /etc/msmtprc  echo "Test body" | msmtp -d rashitha@gmx.com   if permission error...

free port 53

 Steps to Disable DNSStubListener (Recommended Method) Create a configuration file: Create or edit /etc/systemd/resolved.conf.d/no-stub.conf.   bash sudo mkdir -p /etc/systemd/resolved.conf.d echo -e "[Resolve]\nDNSStubListener=no" | sudo tee /etc/systemd/resolved.conf.d/no-stub.conf Restart the service:   bash sudo systemctl restart systemd-resolved Update /etc/resolv.conf: If it still points to 127.0.0.53, you may need to update the symlink to use your network manager's settings or a static DNS server.   bash sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf Alternative: Stop and Disable the Service Entirely If you don't need systemd-resolved at all, you can stop it completely:  bash sudo systemctl stop systemd-resolved sudo systemctl disable systemd-resolved Verification Run the following command to check if port 53 is still in use:    bash sudo netstat -tlnp | grep :53 # OR sudo ss -tulpn | grep :53 stop kvm default network sudo virsh n...