Question: what does ip flush do?
Answer: When you do a ipconfig /flushdns, your system clears the cache of name to ip entries and reloads them from the connected DNS server. This will provide you the IP address to which current DNS is pointing.