mirror of
https://github.com/danog/dns.git
synced 2025-01-22 21:41:11 +01:00
ebb5fb510c
This now can do queries to dns servers and you'll get the list of raw records in an array
12 lines
246 B
PHP
12 lines
246 B
PHP
<?php
|
|
|
|
namespace Amp\Dns;
|
|
|
|
// @codeCoverageIgnoreStart
|
|
const DEFAULT_SERVER = "8.8.8.8";
|
|
const DEFAULT_PORT = 53;
|
|
const DEFAULT_TIMEOUT = 5000;
|
|
const MAX_REQUEST_ID = 65536;
|
|
const IDLE_TIMEOUT = 15000;
|
|
// @codeCoverageIgnoreEnd
|