Re: Hosts file ignored



That article quite clearly states that it does NOT apply to Server 2003.
_______________________________________
The Grim Reaper

"Doug Sherman [MVP]" <dsherman@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:%23LtMMO7tFHA.3252@xxxxxxxxxxxxxxxxxxxxxxx
> Try editing the registry to change NodeType to h-node;
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;160177
>
> Doug Sherman
> MCSE, MCSA, MCP+I, MVP
>
> <trivers1@xxxxxxxxxxxxxxxx> wrote in message
> news:1126532287.142587.123830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>> I have a really interesting problem with my hosts file. Although I
>> can't be certain as to the actual cause, I am relatively sure that it
>> had something to do with MSN Messenger's 7.5 update and its built-in
>> connection troubleshooter. Let me outline the specifics of the problem
>> to shed some more light on the situation.
>>
>> I am currently running Windows Small Business Server 2003 on a
>> development system on my office. I have had MSN Messenger installed on
>> it for some time and haven't had a lick of trouble with it. Just the
>> other day, I logged in and was notified that the 7.5 update was
>> available so I dutifully upgraded and went about my business. The
>> following day when I logged in, MSN Messenger complained at startup
>> that it couldn't connect to the Internet even though Outlook Express,
>> FireFox, several PuTTY sessions, and a number of VPN connections were
>> functioning properly. This has happened before so I thought nothing of
>> allowing MSN Messenger to run its troubleshooter and adjust its
>> settings. Little did I know that afterwards I would be unable to use
>> any of the entries I have made to the server's hosts file.
>>
>> I made sure to Google extensively to see if there was anything I could
>> try other than the obvious, but have been unable to find a solution.
>> Here is what I have done so far:
>>
>> (1) I have replaced the hosts file with an archived copy, a copy that
>> works on another machine, as well as renamed it to hosts.tmp. After
>> each step, I performed "ipconfig /flushdns" and "ipconfig /displaydns"
>> and this was the result each time:
>>
>> C:\>ipconfig /flushdns
>>
>> Windows IP Configuration
>>
>> Successfully flushed the DNS Resolver Cache.
>>
>> C:\>ipconfig /displaydns
>>
>> Windows IP Configuration
>>
>> Could not display the DNS Resolver Cache.
>>
>> (2) I have verified that the DataBasePath registry key at
>> \HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
>> has the value:
>>
>> %SystemRoot%\System32\drivers\etc
>>
>> (3) I am not running a DNS server on my system. When I try to access
>> Administrative Tools -> DNS and connect to the system, I get the
>> message:
>>
>> "The server is unavailable."
>>
>> (4) I have tried disabling the DNS Client service and repeating step #1
>> above and get the same outcome.
>>
>> (5) I can ping IP addresses without any problem, both on the LAN and on
>> the Internet. I can also resolve registered Internet domain names
>> without incident using the two DNS servers provided by my ISP.
>>
>> (6) I am able to ping localhost even without a valid hosts file in
>> place. This is the output from that command:
>>
>> C:\>ping localhost
>>
>> Pinging aragorn.RCS.local [127.0.0.1] with 32 bytes of data:
>>
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>> Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
>>
>> Ping statistics for 127.0.0.1:
>> Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
>> Approximate round trip times in milli-seconds:
>> Minimum = 0ms, Maximum = 0ms, Average = 0ms
>>
>> (7) I am also able to ping another Windows Serevr 2003 system on the
>> LAN using its machine name without a valid hosts file in place:
>>
>> C:\>ping m5
>>
>> Pinging m5 [192.168.2.20] with 32 bytes of data:
>>
>> Reply from 192.168.2.20: bytes=32 time<1ms TTL=128
>> Reply from 192.168.2.20: bytes=32 time<1ms TTL=128
>> Reply from 192.168.2.20: bytes=32 time<1ms TTL=128
>> Reply from 192.168.2.20: bytes=32 time<1ms TTL=128
>>
>> Ping statistics for 192.168.2.20:
>> Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
>> Approximate round trip times in milli-seconds:
>> Minimum = 0ms, Maximum = 0ms, Average = 0ms
>>
>> (8) When I try to ping any non-windows system on the LAN or across any
>> VPN connection, I get the message:
>>
>> C:\>ping bilbo
>> Ping request could not find host bilbo. Please check the name and try
>> again.
>>
>> (9) I have tried replacing the DNS servers listed under the TCP/IP
>> properties for my NIC with a single IP address of a server that is not
>> running a DNS server to ensure that those settings are the ones being
>> used by my system. When I do, I am then unable to ping registered
>> Internet addresses as expected.
>>
>> (10) Fearing that permissions may have something to do with this, I
>> logged in an Administrator and tried to use the hosts file.
>> Unfortunately it had no effect.
>>
>> (11) I have not installed any Internet proxy software and my ISP does
>> not utilize one either. I have also looked for any such service
>> running on my system and have not found one.
>>
>> (12) There was no firewall operating at the time of these tests. Here
>> is the output of a port scan from a Linux server on the network:
>>
>> [root@bilbo root]# nmap -v -P0 aragorn
>>
>> Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
>> No tcp,udp, or ICMP scantype specified, assuming SYN Stealth scan. Use
>> -sP if you really don't want to portscan (and just want to see what
>> hosts are up).
>> Host aragorn (192.168.2.10) appears to be up ... good.
>> Initiating SYN Stealth Scan against aragorn (192.168.2.10)
>> The SYN Stealth Scan took 0 seconds to scan 1601 ports.
>> Interesting ports on aragorn (192.168.2.10):
>> (The 1579 ports scanned but not shown below are in state: closed)
>> Port State Service
>> 25/tcp open smtp
>> 80/tcp open http
>> 88/tcp open kerberos-sec
>> 111/tcp open sunrpc
>> 135/tcp open loc-srv
>> 139/tcp open netbios-ssn
>> 389/tcp open ldap
>> 443/tcp open https
>> 444/tcp open snpp
>> 445/tcp open microsoft-ds
>> 464/tcp open kpasswd5
>> 593/tcp open http-rpc-epmap
>> 636/tcp open ldapssl
>> 1433/tcp open ms-sql-s
>> 3268/tcp open globalcatLDAP
>> 3269/tcp open globalcatLDAPssl
>> 3389/tcp open ms-term-serv
>> 5631/tcp open pcanywheredata
>> 5800/tcp open vnc-http
>> 5900/tcp open vnc
>> 6004/tcp open X11:4
>> 8081/tcp open blackice-icecap
>>
>> Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds
>>
>>
>> Below is a listing of the system's current IP configuration:
>>
>> C:\>ipconfig /all
>>
>> Windows IP Configuration
>>
>> Host Name . . . . . . . . . . . . : aragorn
>> Primary Dns Suffix . . . . . . . : RCS.local
>> Node Type . . . . . . . . . . . . : Unknown
>> IP Routing Enabled. . . . . . . . : No
>> WINS Proxy Enabled. . . . . . . . : No
>> DNS Suffix Search List. . . . . . : RCS.local
>>
>> Ethernet adapter Server Local Area Connection:
>>
>> Connection-specific DNS Suffix . :
>> Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast
>> Ethernet
>> NIC
>> Physical Address. . . . . . . . . : 00-50-FC-9D-09-16
>> DHCP Enabled. . . . . . . . . . . : No
>> IP Address. . . . . . . . . . . . : 192.168.2.10
>> Subnet Mask . . . . . . . . . . . : 255.255.255.0
>> Default Gateway . . . . . . . . . : 192.168.2.200
>> DNS Servers . . . . . . . . . . . : 64.65.208.6
>> 64.65.196.6
>>
>> I have tried everything I could think to try and I have yet to find an
>> answer. If anyone has any ideas as to what may be causing this I would
>> really appreciate some help.
>>
>
>


.