Many "server is down" reports are really DNS answering with the wrong or old address. dig and nslookup ask DNS directly and show the answer, its TTL and which resolver replied. Use them after a DNS change to check whether it has spread, by comparing a public resolver with your local one. Note that dig skips /etc/hosts, so if curl connects somewhere else, check that file.