aboutsummaryrefslogtreecommitdiff
path: root/doc/functions.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions.texi')
-rw-r--r--doc/functions.texi22
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}
1923records) for @var{domain}. At most @value{MAX_DNS_A} addresses are 1923records) for @var{domain}.
1924returned. @xref{conf-runtime, max-dns-reply-a}, for a description of how
1925to 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}
1932records) for the @acronym{IP}v4 address @var{ipstr}. At most 1930records) for the @acronym{IP}v4 address @var{ipstr}.
1933@value{MAX_DNS_PTR} names are returned. @xref{conf-runtime,
1934max-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"
1955getmx("org.pl") @result{} "" 1951getmx("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
1961returned 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
1966differ from that obtained from @code{getmx(@var{domain}, 1)}, e.g.: 1958differ 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
2061by 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
2075function returns @code{false}. 2063function returns @code{false}.
2076
2077 The number of @samp{MX} records examined by this function is limited
2078by 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}, @

Return to:

Send suggestions and report system problems to the System administrator.