[OT] Utility to lookup hosts on an IP address

Ask a Question related to Debian, Design and Development.

  1. #1

    Default [OT] Utility to lookup hosts on an IP address

    Is there a tool along the lines of nslookup, dig, host, and so on that
    can list what websites, i.e. domain names, are hosted on a particular IP
    address ??


    Regards
    Hall

    --
    -=< A .sig ?? What in the world is a .sig for ?? ;-) >=-


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Hall Stevenson Guest

  2. Similar Questions and Discussions

    1. Lookup Country by IP Address
      143.182.124.4 wrote: Alternatively try this at the shell prompt: whois 207.46.134.190 | fgrep -i country
    2. [PHP] reverse lookup/domain lookup in PHP
      From: "Tim Baker" <Tim.Baker@paconsulting.com> That's be great if there was a PHP function to do this, something like gethostbyaddr(), wouldn't...
    3. [PHP] Mac Address Lookup
      If you have the IP address, then 'nslookup' or I guess now 'dig' and 'host' would be the newere versions. They are Linux system calls, use...
    4. Mac Address Lookup
      I am trying to do a lookup of a Mac Address via PHP. Is there any way to do so like gethostbyaddr that gets me the name of a machine? Thanks.
    5. Regex to capture ip address from hosts file
      BC wrote: Correct. If you put a print "found a match $1 $3\n" after your if(), you'd have found that out. Try:
  3. #2

    Default Re: [OT] Utility to lookup hosts on an IP address

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQA/LR1y5sRg+Y0CpvERApTMAJ41rtpFMtOz2k72VxGUriWtdg8iCw CgmsmK
    l7cR0UThBQs4Afli5mNhF4A=
    =ixGQ
    -----END PGP SIGNATURE-----
    Kirk Strauser Guest

  4. #3

    Default Re: [OT] Utility to lookup hosts on an IP address

    On Sun, Aug 03, 2003 at 01:47:37PM +0000, Hall Stevenson wrote:
    > Is there a tool along the lines of nslookup, dig, host, and so on that
    > can list what websites, i.e. domain names, are hosted on a particular IP
    > address ??
    No. The host command will tell you what the reverse name of an IP
    address is:

    $ host [url]www.rudedog.org[/url]
    [url]www.rudedog.org[/url] CNAME gw.rudedog.org
    gw.rudedog.org A 206.124.142.242
    $ host 206.124.142.242
    Name: dsl-142-242.sea.blarg.net
    Address: 206.124.142.242

    However, there is no way to figure out that 206.124.142.242 is
    [url]www.rudedog.org[/url], [url]www.chezcarrigan.com[/url], gallery.chezcarrigan.com, etc.

    The only feasible way to do that would be to transfer every single DNS
    zone on the known internet(*) and find the A records that pointed to
    206.124.142.242, and even then, that wouldn't tell you exactly what you
    want to know.

    Note that Apache's mod_info can tell you all of the virtual hosts on a
    single IP, but the Apache admin would first have to enable it and second
    would have to be stupid (or brave) enough to allow access to it on the
    public internet.

    (*) This is an exercise left for the reader.

    --
    Dave Carrigan
    Seattle, WA, USA
    [email]dave@rudedog.org[/email] | [url]http://www.rudedog.org/[/url] | ICQ:161669680
    UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Dave Carrigan Guest

  5. #4

    Default Re: [OT] Utility to lookup hosts on an IP address

    On Sun, 2003-08-03 at 11:38, Dave Carrigan wrote:
    > On Sun, Aug 03, 2003 at 01:47:37PM +0000, Hall Stevenson wrote:
    > > Is there a tool along the lines of nslookup, dig, host, and so on that
    > > can list what websites, i.e. domain names, are hosted on a particular IP
    > > address ??
    >
    > No. The host command will tell you what the reverse name of an IP
    > address is:
    >
    > $ host [url]www.rudedog.org[/url]
    > [url]www.rudedog.org[/url] CNAME gw.rudedog.org
    > gw.rudedog.org A 206.124.142.242
    > $ host 206.124.142.242
    > Name: dsl-142-242.sea.blarg.net
    > Address: 206.124.142.242
    >
    > However, there is no way to figure out that 206.124.142.242 is
    > [url]www.rudedog.org[/url], [url]www.chezcarrigan.com[/url], gallery.chezcarrigan.com, etc.
    >
    > The only feasible way to do that would be to transfer every single DNS
    > zone on the known internet(*) and find the A records that pointed to
    > 206.124.142.242, and even then, that wouldn't tell you exactly what you
    > want to know.
    To be certain that you're getting all of the possible websites on a
    particular IP the above would be necessary. However, going under the
    assumption that most websites that are on the same IP will use the same
    nameserver as well, it might be a good start to just get the A records
    on that particular nameserver.

    --
    Alex Malinovich
    Support Free Software, delete your Windows partition TODAY!
    Encrypted mail preferred. You can get my public key from any of the
    pgp.net keyservers. Key ID: A6D24837

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.2 (GNU/Linux)

    iD8DBQA/LVQBBPYwh6bSSDcRAsLRAKCAcW4FjK965UUwSh5VkZeqfynUNg CgoWdV
    kyeaEpTw6a28OxBa7c5NmCU=
    =ov6Q
    -----END PGP SIGNATURE-----

    Alex Malinovich Guest

  6. #5

    Default Re: [OT] Utility to lookup hosts on an IP address

    * Hall Stevenson (hallstevenson@mindspring.com) [030803 13:52]:
    > Is there a tool along the lines of nslookup, dig, host, and so on that
    > can list what websites, i.e. domain names, are hosted on a particular IP
    > address ??
    I wasn't aware of such a tool and told the person who asked me the same.
    I told them I didn't think it was really possible... Well, it *may* be
    possible, but not a simple thing. From the responses so far, I guessed
    fairly well. :-)

    Hall


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Hall Stevenson Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139