Unix and Linux Discussions Tagged with records |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
3,101 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,443 |
Shell Programming and Scripting |
|
|
|
3 |
23,307 |
Red Hat |
|
|
|
1 |
2,951 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,334 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
4,295 |
Shell Programming and Scripting |
|
|
|
5 |
1,595 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
1,739 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,335 |
UNIX for Beginners Questions & Answers |
|
|
|
9 |
6,653 |
Shell Programming and Scripting |
|
|
|
4 |
5,193 |
Shell Programming and Scripting |
|
|
|
4 |
2,438 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,084 |
Shell Programming and Scripting |
|
|
|
9 |
10,680 |
Shell Programming and Scripting |
|
|
|
1 |
3,253 |
Shell Programming and Scripting |
|
|
|
15 |
6,209 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,982 |
Shell Programming and Scripting |
|
|
|
3 |
3,785 |
Shell Programming and Scripting |
|
|
|
2 |
2,098 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
43,035 |
IP Networking |
|
|
|
19 |
15,008 |
Shell Programming and Scripting |
|
|
|
1 |
2,483 |
Shell Programming and Scripting |
|
|
|
3 |
2,541 |
Shell Programming and Scripting |
|
|
|
11 |
9,087 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,216 |
Shell Programming and Scripting |
|
|
|
5 |
3,192 |
Shell Programming and Scripting |
|
|
|
1 |
9,069 |
Programming |
|
|
|
2 |
11,415 |
Shell Programming and Scripting |
|
|
|
1 |
2,553 |
Shell Programming and Scripting |
|
|
|
4 |
5,161 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,112 |
UNIX for Advanced & Expert Users |
|
|
|
4 |
2,439 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,650 |
Solaris |
|
|
|
12 |
7,533 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,308 |
AIX |
|
|
|
1 |
3,254 |
Shell Programming and Scripting |
|
|
|
2 |
3,504 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
9,124 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,116 |
UNIX for Dummies Questions & Answers |
|
|
|
7 |
72,730 |
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)