checkfqdn: try/except for PTR queries

Let's try/except for PTR queries that might fail.

Signed-off-by: Arturo Borrero Gonzalez <aborrero@cica.es>