Unix and Linux Discussions Tagged with records |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
2,823 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
5,836 |
Shell Programming and Scripting |
|
|
|
3 |
21,623 |
Red Hat |
|
|
|
1 |
1,883 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,356 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
3,705 |
Shell Programming and Scripting |
|
|
|
5 |
1,445 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
1,478 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
1,819 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
6,550 |
Shell Programming and Scripting |
|
|
|
4 |
5,053 |
Shell Programming and Scripting |
|
|
|
4 |
2,200 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,942 |
Shell Programming and Scripting |
|
|
|
9 |
10,329 |
Shell Programming and Scripting |
|
|
|
1 |
2,922 |
Shell Programming and Scripting |
|
|
|
15 |
5,494 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,795 |
Shell Programming and Scripting |
|
|
|
3 |
3,568 |
Shell Programming and Scripting |
|
|
|
2 |
1,890 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
40,400 |
IP Networking |
|
|
|
19 |
14,542 |
Shell Programming and Scripting |
|
|
|
1 |
2,254 |
Shell Programming and Scripting |
|
|
|
3 |
2,396 |
Shell Programming and Scripting |
|
|
|
11 |
8,758 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,066 |
Shell Programming and Scripting |
|
|
|
5 |
3,130 |
Shell Programming and Scripting |
|
|
|
1 |
8,838 |
Programming |
|
|
|
2 |
11,113 |
Shell Programming and Scripting |
|
|
|
1 |
2,292 |
Shell Programming and Scripting |
|
|
|
4 |
4,956 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
1,950 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
2,213 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,243 |
Solaris |
|
|
|
12 |
7,335 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,238 |
AIX |
|
|
|
1 |
3,171 |
Shell Programming and Scripting |
|
|
|
2 |
3,163 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,915 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
1,965 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
71,875 |
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)