1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

@IPADDRESS[] always returns 11001

Discussion in 'Support' started by djspits, Dec 22, 2014.

  1. djspits

    Joined:
    Apr 13, 2010
    Messages:
    189
    Likes Received:
    2
    Happy Hollydays, everyone!
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,804
    Likes Received:
    82
    Not reproducible here.

    Code:
    [D:\]echo %@ipaddress[jpsoft.com]
    162.159.248.21
    
    What is the exact syntax you're using?
     
  3. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,015
    Likes Received:
    0
    Code:
    [C:\Program Files\JPSoft\TCMD17x64]ver & echo %@ipaddress[jpsoft.com]
    
    TCC  17.00.68 x64   Windows 7 [Version 6.1.7601]
    162.159.248.21
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,883
    Likes Received:
    29
    When @IPADDRESS[host] fails, what do you get from this command?
    Code:
    nslookup host
     
  5. Jay Sage

    Joined:
    Jun 2, 2008
    Messages:
    284
    Likes Received:
    1
    When I pass a nonexistent domain name (or, perhaps, more exactly, a malformed domain name), the result, after a noticeable delay, is 11001.

    TCC(17.00.69): C:\>echo %@ipaddress[jpsoft]
    11001

    If I enter a properly formed domain name that does not exist (presumably), I get a different result.

    TCC(17.00.69): C:\>echo %@ipaddress[jpsoft.comx.zz]
    92.242.140.21

    But that is the value that NSLOOKUP returns.

    TCC(17.00.69): C:\>nslookup jpsoft.comx.zz
    Server: Wireless_Broadband_Router.home
    Address: 192.168.1.1

    Non-authoritative answer:
    Name: jpsoft.comx.zz
    Address: 92.242.140.21

     
  6. TEA-Time

    Joined:
    Jun 2, 2008
    Messages:
    282
    Likes Received:
    1
    That's unallocated.barefruit.co.uk. Your ISP? I bet your browser goes to an ad.., I mean notification page when it can't resolve a name.
     
  7. Jay Sage

    Joined:
    Jun 2, 2008
    Messages:
    284
    Likes Received:
    1
    If I put that IP address into the browser's URL field results in the following message from Verizon (my service provider is Verizon FiOS):

    Sorry, We could not find 92.242.140.21
    It may be unavailable or may not exist.​
     
  8. TEA-Time

    Joined:
    Jun 2, 2008
    Messages:
    282
    Likes Received:
    1
    Aha. Yup, I just tried that too. And if you used jpsoft.comx.zz, it would say that instead of the IP address.

    Interestingly, unallocated.barefruit.co.uk doesn't resolve to anything, not even 92.242.140.21.
     
  9. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,883
    Likes Received:
    29
    What happens if you put "jpsoft.comx.zz" in your browser's location box?

    It wouldn't surprise me if your ISP were doing "DNS Redirection" ... in which DNS returns a "special" IP when you attempt to look up an unknown host. That screws up NSLOOKUP, and if your in a browser, usually results in your being taken to a site that tries to be helpful (mostly with ads).

    I had RoadRunner turn off DNS Redirection years ago. But, because of this thread I discovered it was turned on again (no doubt because I bought my own cable modem a while back). It's turned off again after an unnecessary hour on the phone with RoadRunner. It's a simple task (DOCSIS modem setting). Tier 1/2 techs can do it but they didn't know about it (probably typical). The tier 3 tech I finally got knew about it but took 15 minutes figuring out which tool he needed to use to change it.
     

Share This Page