title: dns_get_record(): A temporary server error occurred.
body: <p>I'm querying a whole bunch of addresses, some are online and some are not. I can't seem to get around this error however, even catching the exception fails :(</p>
  
  <pre><code> dns_get_record(): A temporary server error occurred. 
  
  
          try {
              $result = dns_get_record('_minecraft._tcp.' . $addr, DNS_SRV);
          }
          catch (Exception $e) {
              return [$addr,$port];
          }
  </code></pre>
  
  <p>If this error occurs, I want to continue the script, skipping the record, however currently the script just halts.</p>
  
  <p>Any help appreciated!!</p>