Announcement

Collapse
No announcement yet.

Host Name Misleading?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Host Name Misleading?

    Is it just that I misunderstand the HOST NAME command or am I just implementing it wrong...

    It returns the Computer Name (NetBIOS Name) rather then the DNS Host Name. (I am connected to the Internet at home and have a DNS server to bounce against as well as at work with a on-site DNS server).

    Also... any reason why it doesn't work under WinNT Server 4.0 (sp6) (returns nothing).
    <b>George W. Bleck</b>
    <img src='http://www.blecktech.com/myemail.gif'>

    #2
    Yes, you are experiencing Microsoft Networking
    It means your DNS server is PROBABLYy using either Wins or Netbios name resolution, find it and turn it off....

    Or, change your machine name to be different than your host name, it will complain that you will be known as two different computers but will give you a different DNS entry based on the hostname and domain name...


    Scott

    ------------------
    Scott
    mailto:[email protected][email protected]</A>

    [This message has been edited by Scott Turchin (edited March 06, 2000).]
    Scott Turchin
    MCSE, MCP+I
    http://www.tngbbs.com
    ----------------------
    True Karate-do is this: that in daily life, one's mind and body be trained and developed in a spirit of humility; and that in critical times, one be devoted utterly to the cause of justice. -Gichin Funakoshi

    Comment


      #3
      HOST NAME was so named because of the API call it encapsulates (GetHostByName).

      --Dave


      ------------------
      PowerBASIC Support
      mailto:[email protected][email protected]</A>
      Home of the BASIC Gurus
      www.basicguru.com

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎