Sorry, the RFCs for DNS only allow for the reverse lookup of the Primary name for an IP. Unless you have access to the server's records flat database files, you can't lookup anything else. Even though www.perlmonks.org maps to 66.39.54.27 (and 209.197.123.153), 66.39.54.27 maps back to ads.perlmonks.org. Unless I have access to the perlmonks.org zone file, I don't know that it also maps back to www.perlmonks.org. The same holds true for the perlmonks.com and perlmonks.net zone files. Finally, if I own the xyz.info domain, I can assign pm.xyz.info to 66.39.54.27 without needing (technically, not ethically) permission from The Monastery.

Basically, what I'm saying is that there is no way (unless you want to try every single possible permutation of every top-level domain and do a query to see if it returns your IP#, there is no way to determine every name that will correspond to a specific IP#.

- - arden.
p.s. this thread has nothing to do with perl and a bit to do with DNS.


In reply to Re: Get all aliases of a DNS by arden
in thread Get all aliases of a DNS by gmishra

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.