check_dns: remove dead code

Remove code dead since commit 4efa917.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>