2
nslookup works to give you only the A records your configured DNS has. For example, if you are using a US DNS and perform a lookup on duckduckgo.com, you get IP addresses of servers in the US that resolve to that name. But if you are using a DNS provider in Germany, you get IP addresses of servers in Ireland that resolve to that name. You are being returned IP addresses corresponding to servers closest to your geographical location.
Is there anyway to get all A records in existence that resolve to a single name, regardless of your current DNS provider? Or the only way to do it is to get a list of all public DNS providers in the world and query them one by one?
After searching more found out an online tool called
robtex
. It returns all found IP addresses for a given domain name worldwide. I thought that if an online tool can do it, there must be a way for one to do it too from one's computer. – user5950 – 2018-06-03T23:55:37.9101@user5950 How do you know it returns "all" IP? There is no way to guarantee that... – Patrick Mevzek – 2018-06-04T01:55:02.023