Why doesn't `dig` show records?

Solution 1:

Your query is incorrect, or to put it differently - no, there is no entry for socialimpactportfolio.com. Dig is telling you about the problem.

The domain works in the browser, because it will helpfully try and add the www. prefix, and lo and behold:

dig www.socialimpactportfolio.com
...
www.socialimpactportfolio.com. 1783 IN  CNAME   kochi-9186.herokussl.com.

If you are looking for a tool that will somehow show you the complete zone - I think you're out of luck.

Solution 2:

I just checked, that domain doesn't have an A record, so your dig output is correct. The website is located under www..socialimpactportfolio.com, i.e. www.socialimpactportfolio.com, which again points (two chained CNAMEs) to amazonaws.com.

Solution 3:

Getting NOERROR and yet no ANSWER SECTION is telling you that the domain name does exist, but has no records of the specified type. In fact a domain name can exist without having any records at all, and that is different from returning NXDOMAIN, though in many cases applications will treat them the same.

In both cases a SOA record is included such that the client will know how long that answer may be cached.

A domain with no records at all can have subdomains, which do have records.

Solution 4:

It says it all in the dig output:

status: NOERROR
QUERY: 1, ANSWER: 0, AUTHORITY: 1

No errors, you did 1 query, there were no answers, the response was from an authoritative nameserver.


If you search for all records for that zone, you will find more information:

PS C:\Users\Administrator> nslookup -type=all socialimpactportfolio.com
Server:  UnKnown
Address:  fe80::1

Non-authoritative answer:
socialimpactportfolio.com       MX preference = 5, mail exchanger = eforwardct2.name-services.com
socialimpactportfolio.com       MX preference = 5, mail exchanger = eforwardct3.name-services.com
socialimpactportfolio.com       MX preference = 5, mail exchanger = eforwardct.name-services.com
socialimpactportfolio.com
        primary name server = dns1.name-services.com
        responsible mail addr = info.name-services.com
        serial  = 2002050701
        refresh = 10800 (3 hours)
        retry   = 3600 (1 hour)
        expire  = 604800 (7 days)
        default TTL = 3600 (1 hour)
socialimpactportfolio.com       nameserver = dns4.name-services.com
socialimpactportfolio.com       nameserver = dns3.name-services.com
socialimpactportfolio.com       nameserver = dns2.name-services.com
socialimpactportfolio.com       nameserver = dns1.name-services.com
socialimpactportfolio.com       nameserver = dns5.name-services.com

socialimpactportfolio.com       nameserver = dns5.name-services.com
socialimpactportfolio.com       nameserver = dns4.name-services.com
socialimpactportfolio.com       nameserver = dns3.name-services.com
socialimpactportfolio.com       nameserver = dns2.name-services.com
socialimpactportfolio.com       nameserver = dns1.name-services.com
dns1.name-services.com  internet address = 98.124.192.1
dns2.name-services.com  internet address = 98.124.197.1
dns3.name-services.com  internet address = 98.124.193.1
dns4.name-services.com  internet address = 98.124.194.1
dns5.name-services.com  internet address = 98.124.196.1