in reply to Re: DNScmd in perl script
in thread DNScmd in perl script

Technically to only test the status code you should use:

But why would he want to ignore other kinds of errors?