Address Question

Discussion in 'LnS English Forum' started by MakoFusion, Feb 13, 2006.

Thread Status:
Not open for further replies.
  1. MakoFusion

    MakoFusion Registered Member

    Joined:
    Jun 25, 2003
    Posts:
    130
    IP addresses... When logging how come LnS records them so differently?

    1st example: wilderssecurity.com
    2nd example: AC9C80F6.ipt.aol.com
    3rd example: bpavalow
    4th example: [xx.xxx.xxx.xxx]
    5th example: xx-xx-xxx-xxx.mb.skyweb.ca
    6th example: dialup-x.xxx.xx.xxx.Dial1.Dalla
     
  2. Frederic

    Frederic LnS Developer

    Joined:
    Jan 9, 2003
    Posts:
    4,354
    Location:
    France
    Hi,

    Look 'n' Stop uses a standard windows API (gethostname) to get the name of a machine from the IP address.
    So, most of the examples are the real names this function is returning. If you try a "tracert xxx.yyy.zzz.ttt" command you should get the same resolution name.

    The only exception is the 4th example: Look 'n' Stop uses the brackets [xxx.yyy.zzz.ttt] when the IP resolution fails (gethostname returning an error) to differentiate the cases where the IP is not yet resolved.

    Regards,

    Frederic
     
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.