diff options
Diffstat (limited to 'doc/functions.texi')
-rw-r--r-- | doc/functions.texi | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/doc/functions.texi b/doc/functions.texi index b5a33c7e..a9fb3e36 100644 --- a/doc/functions.texi +++ b/doc/functions.texi | |||
@@ -1920,18 +1920,14 @@ require dns | |||
1920 | 1920 | ||
1921 | @deftypefn {Built-in Function} string dns_getaddr (string @var{domain}) | 1921 | @deftypefn {Built-in Function} string dns_getaddr (string @var{domain}) |
1922 | Returns a whitespace-separated list of @acronym{IP} addresses (@code{A} | 1922 | Returns a whitespace-separated list of @acronym{IP} addresses (@code{A} |
1923 | records) for @var{domain}. At most @value{MAX_DNS_A} addresses are | 1923 | records) for @var{domain}. |
1924 | returned. @xref{conf-runtime, max-dns-reply-a}, for a description of how | ||
1925 | to change this limit. | ||
1926 | 1924 | ||
1927 | This function does not use the @acronym{DNS} cache. | 1925 | This function does not use the @acronym{DNS} cache. |
1928 | @end deftypefn | 1926 | @end deftypefn |
1929 | 1927 | ||
1930 | @deftypefn {Built-in Function} string dns_getname (string @var{ipstr}) | 1928 | @deftypefn {Built-in Function} string dns_getname (string @var{ipstr}) |
1931 | Returns a whitespace-separated list of domain names (@code{PTR} | 1929 | Returns a whitespace-separated list of domain names (@code{PTR} |
1932 | records) for the @acronym{IP}v4 address @var{ipstr}. At most | 1930 | records) for the @acronym{IP}v4 address @var{ipstr}. |
1933 | @value{MAX_DNS_PTR} names are returned. @xref{conf-runtime, | ||
1934 | max-dns-reply-ptr}, for a description of how to change this limit. | ||
1935 | 1931 | ||
1936 | This function does not use the @acronym{DNS} cache. | 1932 | This function does not use the @acronym{DNS} cache. |
1937 | @end deftypefn | 1933 | @end deftypefn |
@@ -1955,12 +1951,8 @@ getmx("gnu.org") @result{} "mx10.gnu.org mx20.gnu.org" | |||
1955 | getmx("org.pl") @result{} "" | 1951 | getmx("org.pl") @result{} "" |
1956 | @end smallexample | 1952 | @end smallexample |
1957 | 1953 | ||
1958 | @emph{Notes}: | 1954 | @emph{Note}: |
1959 | @enumerate 1 | 1955 | @enumerate 1 |
1960 | @item The number of @acronym{MX} names or @acronym{IP} addresses | ||
1961 | returned by @code{getmx} is limited by the value of | ||
1962 | @code{max-dns-reply-mx} configuration statement (default | ||
1963 | @value{MAX_DNS_MX}). @xref{conf-runtime, max-dns-reply-mx}. | ||
1964 | 1956 | ||
1965 | @item The number of items returned by @code{getmx(@var{domain})} can | 1957 | @item The number of items returned by @code{getmx(@var{domain})} can |
1966 | differ from that obtained from @code{getmx(@var{domain}, 1)}, e.g.: | 1958 | differ from that obtained from @code{getmx(@var{domain}, 1)}, e.g.: |
@@ -2056,10 +2048,6 @@ exception @code{e_not_found}. | |||
2056 | 2048 | ||
2057 | If @acronym{DNS} query fails, the function raises @code{failure} or | 2049 | If @acronym{DNS} query fails, the function raises @code{failure} or |
2058 | @code{temp_failure}, depending on the character of the failure. | 2050 | @code{temp_failure}, depending on the character of the failure. |
2059 | |||
2060 | The number of @samp{MX} records examined by this function is limited | ||
2061 | by the value of the @code{max-dns-reply-mx} configuration statement | ||
2062 | (@pxref{conf-runtime, max-dns-reply-mx}. | ||
2063 | @end deftypefn | 2051 | @end deftypefn |
2064 | 2052 | ||
2065 | @anchor{ismx} | 2053 | @anchor{ismx} |
@@ -2073,10 +2061,6 @@ records for the @var{domain}. Otherwise it returns @code{false}. | |||
2073 | 2061 | ||
2074 | If @var{domain} has no @samp{MX} records, or if the @acronym{DNS} query fails, the | 2062 | If @var{domain} has no @samp{MX} records, or if the @acronym{DNS} query fails, the |
2075 | function returns @code{false}. | 2063 | function returns @code{false}. |
2076 | |||
2077 | The number of @samp{MX} records examined by this function is limited | ||
2078 | by the value of the @code{max-dns-reply-mx} configuration statement | ||
2079 | (@pxref{conf-runtime, max-dns-reply-mx}. | ||
2080 | @end deftypefn | 2064 | @end deftypefn |
2081 | 2065 | ||
2082 | @deftypefn {Built-in Function} string primitive_resolve (string @var{host}, @ | 2066 | @deftypefn {Built-in Function} string primitive_resolve (string @var{host}, @ |