print "OUTPUT: $_" for nslookup("blah.", "A"); #### *** ns1.coxmail.com can't find blah.: Non-existent host/domain OUTPUT: Server: ns1.coxmail.com OUTPUT: Address: 206.157.231.13 OUTPUT: