Bug #68651 [Fbk->NoF]: dns_get_record() empty $authorities

From: Date: Sun, 11 Jan 2015 04:22:19 +0000
Subject: Bug #68651 [Fbk->NoF]: dns_get_record() empty $authorities
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189884@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68651&edit=1

 ID:               68651
 Updated by:       php-bugs@lists.php.net
 Reported by:      kevin at kevinguanchedarias dot com
 Summary:          dns_get_record() empty $authorities
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Unknown/Other Function
 Operating System: Ubuntu 14.04
 PHP Version:      5.5.20
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2014-12-28 21:21:22] kevin at kevinguanchedarias dot com

I can confirm that it is happening too in 5.6.4

------------------------------------------------------------------------
[2014-12-28 18:50:54] kalle@php.net

Hi, is this also the case for 5.6/7.0?

------------------------------------------------------------------------
[2014-12-25 07:02:54] kevin at kevinguanchedarias dot com

Description:
------------
dns_get_record() not returning Authorities when using a reverse lookup

using dig command outputs the following 
--------------------------------------------

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37583
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;254.32.74.10.in-addr.arpa.     IN      A

;; AUTHORITY SECTION:
10.in-addr.arpa.        604800  IN      SOA     ns1.kevinguanchedarias.com.
kevin.kevinguanchedarias.com. 1 604800 86400 2419200 604800


Note: Both dig PHP commands were used in the server
- The PHP version is 5.5.9-1ubuntu4.5

Test script:
---------------
dns_get_record('254.32.74.10.in-addr.arpa.',DNS_ANY,$autho);

Expected result:
----------------
$autho should have the authority record

Actual result:
--------------
$autho is NULL 


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68651&edit=1


Thread (4 messages)

« previous php.bugs (#189884) next »