Or to fully restart network services:
sudo dscacheutil -flushcache sudo killall -HUP mDNSResponder reset tcp stack
that only affect one device on your network. After malware removal , if your internet remains broken. How to Reset the TCP Stack on Windows 10 & 11 Or to fully restart network services: sudo dscacheutil
While resetting the TCP/IP stack is a safe operation, be aware of the following side effects: reset tcp stack
netsh advfirewall reset
netsh int ip reset netsh winsock reset ipconfig /release ipconfig /renew ipconfig /flushdns nbtstat -R nbtstat -RR