|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68651 dns_get_record() empty $authorities
Submitted: 2014-12-25 07:02 UTC Modified: 2015-01-11 04:22 UTC
From: kevin at kevinguanchedarias dot com Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.5.20 OS: Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kevin at kevinguanchedarias dot com
New email:
PHP Version: OS:


 [2014-12-25 07:02 UTC] kevin at kevinguanchedarias dot com
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

; EDNS: version: 0, flags:; udp: 4096
;     IN      A

;; AUTHORITY SECTION:        604800  IN      SOA 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:

Expected result:
$autho should have the authority record

Actual result:
$autho is NULL 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-28 18:50 UTC]
-Status: Open +Status: Feedback
 [2014-12-28 18:50 UTC]
Hi, is this also the case for 5.6/7.0?
 [2014-12-28 21:21 UTC] kevin at kevinguanchedarias dot com
I can confirm that it is happening too in 5.6.4
 [2015-01-11 04:22 UTC] php-bugs at lists dot php dot net
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.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 15:01:29 2024 UTC