Dig allows you to find public DNS information about Domains. So if you need to check MX records for your company, or see if there is an issue with a SaaS provider by finding theer multiple A records you can do this with dig.
You can use the IP information to determine vendors and server locations for the Domains you query with Dig by using Geo IP web sites such as iplocation.net .
Find All DNS Information for a Domain
- Some domains do not allow “any” requests and you’ll have to request specific records individually.
dig facebook.com any
Find Only Specific Records, such as MX, for a Domain
dig salesforce.com mx
Find Records by Specifying a DNS Server
dig salesforce.com any @18.104.22.168