You will need to check the Net::DNS documentation to find out what happens when the query fails or is not found. My guess is that the record is not found. You will need to check for this.
This is not surprising since HINFO records are rare. Unless you know that that domain defines them, doing the query is not going to useful.
Comment on Re: Re: Re: header information of a DNS