1
0
mirror of https://github.com/danog/dns.git synced 2025-01-22 21:41:11 +01:00
dns/lib/constants.php
Bob Weinand ebb5fb510c Switch to a new API to enable getting not only the first entry and not only A/AAAA records
This now can do queries to dns servers and you'll get the list of raw records in an array
2015-09-08 17:27:33 +02:00

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