Re: How is DNS resolution working?

From: Ace Fekay [MVP] (PleaseSubstituteMyActualFirstName&LastNameHere_at_hotmail.com)
Date: 02/26/04


Date: Wed, 25 Feb 2004 22:52:47 -0500

In news:u9IDn5$%23DHA.3184@TK2MSFTNGP09.phx.gbl,
Ohaya <Ohaya@NO_SPAM.cox.net> posted their thoughts, then I offered mine
> "Ohaya" <Ohaya@NO_SPAM.cox.net> wrote in message
> news:uzh$dv$%23DHA.2348@TK2MSFTNGP09.phx.gbl...
>>
>> "Doug Sherman [MVP]" <dsherman@nospamtampabay.rr.com> wrote in
>> message news:u3mEmf$%23DHA.2512@TK2MSFTNGP11.phx.gbl...
>>> The ping command does not depend on DNS. It can use any TCP/IP
>>> based name resolution, including NetBIOS, hosts files, lmhost
>>> files, etc.
>>
>>
>> Doug,
>>
>> Apologies if this is a dumb question, but would we have had to
>> specifically configure the IP address for a WINS server for NetBIOS
>> resolution to be working on machine A?
>>
>> I know that we don't have anything in the hosts or lmhosts files on
>> machine A, and I know they put in the IP address of machine B as in
>> the settings for the DNS in network properties.
>>
>> Jim
>
>
> Hi,
>
> I have to stop doing this, but I need to correct my post above.
>
> What I meant to ask was wouldn't we have had to specifically configure
> machine A to point to a WINS server for NetBIOS name resolution to be
> working?
>
> I know that on machine A, we put in a fixed IP address pointing to
> machine B for the DNS, and I know that we don't have a hosts or
> lmhosts files, and I'm pretty sure that we didn't configure any IP
> address for WINS server (at least not on purpose).
>
> So, what's puzzling me is if the possible name resolution mechanisms
> on machine A are DNS, hosts, lmhosts, NetBIOS (not in that order),
> and we don't have any of them configured on purpose except for DNS,
> and our DNS server on machine B is only on a private network, how is
> the name resolution succeeding???
>
> Jim

If machine A (if I got your topology right) is using WINS and the host on
the external subnet is in WINS, and you are pinging by it's single host name
(not the whole FQDN), then yes, it's using WINS. If not, since the subnet is
directly connected, then it's going to broadcast on that subnet for the
name. If using WINS, pinging a single name will check LMHOSTS first then
WINS, but all before DNS.

-- 
Regards,
Ace
Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.
Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
-- 
=================================


Relevant Pages

  • Re: Slow rlogin after upgrade to 5.2.
    ... :)> Hemant Shah writes: ... :)>>:)Sounds like a name resolution problem. ... :)> As far as that goes, an nslookup "over there" of your AIX box's DNS ... :)posts its on the hosts defined locally. ...
    (comp.unix.aix)
  • Re: Stopping all invalid domains from resolving to server IP
    ... > before DNS. ... Could you try the nisplus from the hosts entry in your ... > you will have to look there for your odd name resolution issues. ... I do not need NIS+, ...
    (linux.redhat)
  • Re: How is DNS resolution working?
    ... >> resolution, including NetBIOS, hosts files, lmhost files, etc. ... for the DNS, and I know that we don't have a hosts or lmhosts files, and I'm ...
    (microsoft.public.win2000.networking)
  • Re: How is DNS resolution working?
    ... >> resolution, including NetBIOS, hosts files, lmhost files, etc. ... for the DNS, and I know that we don't have a hosts or lmhosts files, and I'm ...
    (microsoft.public.win2000.dns)
  • Re: How is DNS resolution working?
    ... >> I know that we don't have anything in the hosts or lmhosts files on ... >> the settings for the DNS in network properties. ... > machine A to point to a WINS server for NetBIOS name resolution to be ... > lmhosts files, and I'm pretty sure that we didn't configure any IP ...
    (microsoft.public.win2000.networking)