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

  • Home
  • SEARCH
  • 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 8320123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:33:03+00:00 2026-06-08T22:33:03+00:00

The problem originally looked like this: Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or

  • 0

The problem originally looked like this:

Warning: file_get_contents() [function.file-get-contents]:
php_network_getaddresses: getaddrinfo failed: Name or service not known in
/home///ppk_hotweb.class.php on line 58

I used cURL as well, it just returned null, that’s it.. Both (file & cURL) were enabled.

Tried file_get_contents('google.com') and it worked!

Why doesn’t file_get_contents('domain.com.au') work then?

So I started reading relevant stackoverflow posts and people say that this is a DNS settings issue.

I tried the following:

> # ping domain.com.au
ping: unknown host domain.com.au

What’s wrong with the host? The site is live.

Also:

# nslookup domain.com.au
Server: 203.16.60.
Address: 203.16.60.
#53

*** Can’t find domain.com.au: No answer

and

> # dig domain.com.au

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6_3.2 <<>> domain.com.au
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52814
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;domain.com.au.          IN      A

;; AUTHORITY SECTION:
domain.com.au.   3600    IN      SOA     ns1.web24.net.au. dns.web24.net.au. 2012080201 7200 3600 604800 3600

;; Query time: 1 msec
;; SERVER: 203.16.60.***#53(203.16.60.3)
;; WHEN: Sat Aug  4 05:43:23 2012
;; MSG SIZE  rcvd: 92

I’ll really appreciate any help!
Thanks.

UPD: btw, just tried the Whois lookup…

domain.com.au is not available

🙁

  • 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-08T22:33:05+00:00Added an answer on June 8, 2026 at 10:33 pm

    The DNS server being used by your server may be using old cached DNS records since looking up that host works for me.

    My dig results also return a valid A record which yours doesn’t appear to.

    This probably won’t change anything given the DNS issues, but

    file_get_contents('domain.com.au');
    

    should be:

    file_get_contents('http://domain.com.au');
    

    Using the first option will try to locate a local file rather than using the http wrapper.

    If you have permission, try changing the name servers in your /etc/resolv.conf file to other nameservers.

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

Sidebar

Related Questions

Note: This is not a problem i'm experiencing, but it is something i'd like
I've got a strange problem with a php file. I'm trying to get some
Originally I had a design problem where I needed five subclasses of a superclass,
I'm having a problem styling my ListBox selection background. I used ListView originally, it
This is a slightly original variation on a common problem. I have a fairly
I have a CSV file that I'd like to split up based on a
I now get the ASP.NET Ajax client-side framework failed to load. javascript error in
Hey everyone, thanks for taking the time to address my problem. I've looked at
I've set up company to load globally like this: (let ((company-path path/to/company)) (add-to-list 'load-path
I'm using JQuery UI tabs loading content via ajax like this: $('#tabsElem').tabs({ajaxOptions:{cache:false}, cache:true); Consider

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.