Download a docker image that has most of the tools that you will need preinstalled.My personal favourite is dataquestio/python3-starter
To clear your DNS cache you can run the following command, this will force browser and other programs to make a new DNS query and fetch fresh records.
```sudo dscacheutil -flushcache```