DEV Community

scl
scl

Posted on

Clearing Postman DNS cache

Postman apparently defers to the underlying OS for DNS lookup cache.

Hence in order to clear Postman DNS cache, we need to clear the underlying OS's cache.

This can be done on MacOS:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
Enter fullscreen mode Exit fullscreen mode

Ref: https://mackeeper.com/blog/flush-dns-cache-on-mac/

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more