From c7c7904bcf25d43fde27dbe679809cbe994afc40 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 24 Nov 2002 19:22:56 +0000 Subject: [PATCH] - Fix XML git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@105580 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../network/functions/dns-get-record.xml | 33 +++++++++++++------ 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/reference/network/functions/dns-get-record.xml b/reference/network/functions/dns-get-record.xml index f4875174a6..ab1e4083fe 100644 --- a/reference/network/functions/dns-get-record.xml +++ b/reference/network/functions/dns-get-record.xml @@ -1,5 +1,5 @@ - + dns_get_record @@ -16,18 +16,27 @@ array&authns array&addtl - - This function is not implemented on Windows platforms. - + + + + This function is not implemented on Windows platforms. + + + Returns an array of associative arrays. Each associative array contains at minimum the following keys: host, type, class, ttl. + 'class' key will always be "IN" indicating an IPv4 resource record. + - 'ttl' key will contain the TTL remaining since the - last time the local nameserver queried the authoritative name server. + + 'ttl' key will contain the TTL remaining since + the last time the local nameserver queried the authoritative name + server. + Depending on the value of type, the associate array will also contain one or more of the following keys: ip, pri, target, cpu, os, mname, rname, serial, refresh, @@ -51,10 +60,12 @@ DNS_ALL or DNS_ANY. The default is DNS_ANY. + Because of excentricities in the performance of libresolv between platforms, DNS_ANY will not always return every record, the slower DNS_ALL will collect all records more reliably. + @@ -72,10 +83,12 @@ zone. 'serial', 'refresh', 'retry', 'expire', and 'minimum-ttl' give the traditional SOA zone values one would expect. - Per DNS standards, email addresses are given in user.host format (for - example: hostmaster.example.com as opposed to hostmaster@example.com), - be sure to check this value and modify if necessary before using it with - a functions such as mail. + + Per DNS standards, email addresses are given in user.host format (for + example: hostmaster.example.com as opposed to hostmaster@example.com), + be sure to check this value and modify if necessary before using it + with a functions such as mail. +