Results 1 to 3 of 3

Thread: DNS Get Record

  1. #1

    Default DNS Get Record

    There was a conflict with the IP Address assigned to my account which caused a world of problems.

    Because of the conflict, the DNS change I made for my account simply would not propagate through the DNS system.

    After five extremely frustrating days working with DNS programs, I discovered the PHP function call dns_get_record(). This returns the DNS information from the WebSite's point of view including the TTL (time to launch) of DNS changes.

    Calling the procedure from my web site showed that the DNS entry at had a problem, and technique support was able to figure it out.

    If you are having DNS problems, you might try running a simple PHP script with the command:

    echo '<pre>';
    echo '</pre>';
    where "" is the domain in question.

  2. #2
    Moderator wildjokerdesign's Avatar
    Join Date
    Jun 2003
    Kansas City Mo


    Thanks for the information! I work with PHP quite a bit but have never had a reason to really explore this function. You really have to love PHP such a simple command for so much information.
    Please remember your charity of choice:

    Handy Links: | Plain Text Editors: EditPlus | Crimson

  3. #3
    Junior Member olsen's Avatar
    Join Date
    Sep 2011


    Wow. This is good stuff! I tought DNS scripts are only set on those Name providers like GoDaddy or Hostgator. Or did you also set a manual zone file?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts