how to flush dns code example
Example 1: flush dns
ipconfig /flushdns
Example 2: flush dns
sudo lookupd -flushcache
Example 3: flush dns
sudo dscacheutil -flushcache
Example 4: flush dns
sudo discoveryutil udnsflushcaches
Example 5: flush dns
sudo killall -HUP mDNSResponder