For a *local* solution, you could try restarting your router via script (if it has an API).
Some ISPs give dynamic IPs on reboot.
Check your router’s docs for HTTP API endpoints.
Example (if your router supports it):
```python
import requests
requests.post('http://routerlogin.net/reboot.cgi')
```
Kinda janky, but might work for ip change in 3 sec python if you’re desperate.
Some ISPs give dynamic IPs on reboot.
Check your router’s docs for HTTP API endpoints.
Example (if your router supports it):
```python
import requests
requests.post('http://routerlogin.net/reboot.cgi')
```
Kinda janky, but might work for ip change in 3 sec python if you’re desperate.
