Unix and Linux Discussions Tagged with records |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
2,494 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,591 |
Shell Programming and Scripting |
|
|
|
3 |
20,892 |
Red Hat |
|
|
|
1 |
1,612 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,054 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
3,477 |
Shell Programming and Scripting |
|
|
|
5 |
1,370 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
1,299 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,632 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
6,486 |
Shell Programming and Scripting |
|
|
|
4 |
4,983 |
Shell Programming and Scripting |
|
|
|
4 |
2,144 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,902 |
Shell Programming and Scripting |
|
|
|
9 |
10,228 |
Shell Programming and Scripting |
|
|
|
1 |
2,739 |
Shell Programming and Scripting |
|
|
|
15 |
5,343 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,729 |
Shell Programming and Scripting |
|
|
|
3 |
3,498 |
Shell Programming and Scripting |
|
|
|
2 |
1,847 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
38,969 |
IP Networking |
|
|
|
19 |
14,429 |
Shell Programming and Scripting |
|
|
|
1 |
2,179 |
Shell Programming and Scripting |
|
|
|
3 |
2,343 |
Shell Programming and Scripting |
|
|
|
11 |
8,689 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,018 |
Shell Programming and Scripting |
|
|
|
5 |
3,098 |
Shell Programming and Scripting |
|
|
|
1 |
8,777 |
Programming |
|
|
|
2 |
10,985 |
Shell Programming and Scripting |
|
|
|
1 |
2,222 |
Shell Programming and Scripting |
|
|
|
4 |
4,891 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,922 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
2,162 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,123 |
Solaris |
|
|
|
12 |
7,276 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,208 |
AIX |
|
|
|
1 |
3,130 |
Shell Programming and Scripting |
|
|
|
2 |
3,022 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,786 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
1,917 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
71,498 |
UNIX for Advanced & Expert Users |
GETMXRR(3) 1 GETMXRR(3)
getmxrr - Get MX records corresponding to a given Internet host name
SYNOPSIS
bool getmxrr (string $hostname, array &$mxhosts, [array &$weight])
DESCRIPTION
Searches DNS for MX records corresponding to $hostname.
PARAMETERS
o $hostname
- The Internet host name.
o $mxhosts
- A list of the MX records found is placed into the array $mxhosts.
o $weight
- If the $weight array is given, it will be filled with the weight information gathered.
RETURN VALUES
Returns TRUE if any records are found; returns FALSE if no records were found or if an error occurred.
CHANGELOG
+--------+---------------------------------------------------+
|Version | |
| | |
| | Description |
| | |
+--------+---------------------------------------------------+
| 5.3.0 | |
| | |
| | This function is now available on Windows plat- |
| | forms. |
| | |
+--------+---------------------------------------------------+
NOTES
Note
This function should not be used for the purposes of address verification. Only the mailexchangers found in DNS are returned, how-
ever, according to RFC 2821 when no mail exchangers are listed, $hostname itself should be used as the only mail exchanger with a
priority of 0.
Note
For compatibility with Windows before this was implemented, then try the PEAR class Net_DNS.
SEE ALSO
checkdnsrr(3), dns_get_record(3), gethostbyname(3), gethostbynamel(3), gethostbyaddr(3), the named(8) manual page.
PHP Documentation Group GETMXRR(3)