Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9293011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T21:01:27+00:00 2026-06-18T21:01:27+00:00

I am trying to obtain ptr records for a domain. For some reason when

  • 0

I am trying to obtain ptr records for a domain.

For some reason when i try to do this using dns_get_record it is constantly coming back as empty.

I did try this originally and got a whole range of results but now its just returning an empty array every time… Could someone suggest the reason behind this behaviour?

$result = dns_get_record("webstorm.co.za", DNS_PTR);
print_r($result);

outputs :

Array()

When it would be populated with values?

Any suggestions, advice or feedback would be greatly appreciated as i cannot for the life of my figure out why this is happening now!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T21:01:28+00:00Added an answer on June 18, 2026 at 9:01 pm

    updated

    try

    $result = dns_get_record("41.78.244.4.in-addr.arpa.", DNS_PTR);
    print_r($result);
    

    outputs:

    Array
    (
        [0] => Array
            (
                [host] => 41.78.244.4.in-addr.arpa
                [class] => IN
                [ttl] => 108002
                [type] => PTR
                [target] => dialup-4.244.78.41.Dial1.StLouis1.Level3.net
            )
    
    )
    

    You wont get prt from a domain name.
    You need to run it on a reverse name.

    you can get more info in here:
    http://www.menandmice.com/knowledgehub/dnsqa/56/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying to obtain javascript .js files from a website using beautifulsoup. This is
I'm trying to obtain credentials from ning network using Coldfusion 9, so first this
I am trying to obtain the value part of this syntax: [name:value] I got
I'm using Hibernate and JPA for a small project. Somehow when trying to obtain
I'm trying to log into a site and obtain the code back, but i'm
I am trying to set a fetch request with a predicate to obtain records
I'm trying to obtain a ROI from an image using VC++ and OpenCV. I
I am trying to obtain some information from a webpage that requires login. I
I am trying to obtain something similar to the share this on... menu here
Im trying to obtain the IP address of the user, current domain, and full

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.