Getting confusing results from a domain+zone both in AWS.
My domain has four nameservers:
ns-604.awsdns-11.net
ns-493.awsdns-61.com
ns-1032.awsdns-01.org
ns-1574.awsdns-04.co.uk
I have the following hosted zone and record (in addition to the standard NS and SOA records):
example.com. A 192.0.2.4
If I run dig example.com +noall +answer
I receive an empty response instead of the expected example.com 1 IN 192.0.2.4
However, if I perform these nslookup
I receive the expected responses:
nslookup example.com ns-604.awsdns-11.net
nslookup example.com ns-493.awsdns-61.com
nslookup example.com ns-1032.awsdns-01.org
nslookup example.com ns-1574.awsdns-04.co.uk
Server: ns-1574.awsdns-04.co.uk
Address: 205.251.198.38#53
Name: example.com
Address: 192.0.2.4
I also receive a 2(SERVFAIL)
from host
host example.com
Host example.com not found: 2(SERVFAIL)
Not sure what's going on here. nslookup
shows that my DNS is pointed to the right IP, but host
and dig
both fail.