Bug #79944 [NEW]: getmxrr always returns true on Alpine linux

From: Date: Fri, 07 Aug 2020 23:29:36 +0000
Subject: Bug #79944 [NEW]: getmxrr always returns true on Alpine linux
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228448@lists.php.net to get a copy of this message
From: ekin Operating system: Alpine 3.11 PHP version: 7.4.9 Package: *Network Functions Bug Type: Bug Bug description:getmxrr always returns true on Alpine linux Description: ------------ getmxrr() always returns true on alpine linux. Recently the following bug was fixed https://bugs.php.net/bug.php?id=78008 thanks to this PR: https://github.com/php/php-src/pull/5854 and it was merged into the 7.4.9 release. Our A, CNAME and MX record tests were failing before we upgraded to 7.4.9 today and now A and CNAME tests do pass correctly (they use checkdnsrr()), however MX test doesn't. Test script: --------------- var_dump(getmxrr('meta.stackoverflow.com', $hosts)); Expected result: ---------------- bool(false) Actual result: -------------- bool(true) -- Edit bug report at https://bugs.php.net/bug.php?id=79944&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79944&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79944&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79944&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79944&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79944&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79944&r=support Expected behavior: https://bugs.php.net/fix.php?id=79944&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79944&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79944&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79944&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79944&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79944&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79944&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79944&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79944&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79944&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79944&r=mysqlcfg

« previous php.bugs (#228448) next »