how to flush your DNS code example Example 1: windows flush dns ipconfig /flushdns Example 2: flush dns sudo discoveryutil udnsflushcaches