Greetings, AM.

This looks like something that's w-a-y over your head -- no offence intended.

Problem with something like that, is that you're attempting to use code/scripts you have no knowledge of. THIS IS A DANGEROUS POLICY. You should never adopt such a policy, as you have no knowledge of the potential consequences. Which can be substantial.

Did you intend to put this script on a (your) web site? Yes? Do you know what can happen if somebody puts something in one of the form fields that wasn't what it was intended for? Very bad things WILL happen if they do. Wipe your (hard) drive, hijack your computer, lift your sensitive data. Ever buy something online with a credit card? Have any idea how much of that information, still resides on your computer? More than you probably realize.

Sure. I've made a pretty big deal out of this, and you're probably thinking that I'm just exaggerating. Truth is; I am NOT. Everything I just stated, is ABSOLUTE FACT.

Logistically speaking; if you don't know much about networks. This script is not for you. You probably can't set it up to work on your system w/o a great deal of trouble. I'm quite sure you're not running a local DNS. So you'll have to try your upstream's DNS. They might have provisions that prevent you from obtaining the data you're trying to retrieve. DNS managers have strict policies where their zones, and data management are concerned. They almost never permit recursive queries. Else they become a DNS server for the entire internet -- gratis. It also leads to potential cache-poisoning. Which means all their zones get hijacked. So without a fair amount of knowledge, where the DNS is concerned, and Networking, in general. Your efforts will likely be in vain.

Best wishes.

--Chris

P.S.

That script is a bit dated. For example, headers haven't had a 512k limit since ~2000.

¡λɐp ʇɑəɹ⅁ ɐ əʌɐɥ puɐ ʻꜱdləɥ ꜱᴉɥʇ ədoH


In reply to Re^2: Replicating Net::DNS::Packet by taint
in thread Replicating Net::DNS::Packet by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.