If name is not fully qualified with a trailing dot, nslookup appends the
domain suffix first and if reply is NXDOMAIN, it makes the query again using
your host name as entered and appends the dot. To make matter worse, it
does not show you the dot in the std or debug output, so your left wondering
what exactly it sent. However all names in the query must end in a zero
length byte (i.e. which is the nothing after the dot, which most people just
refer to as the root label or dot.) for the server to process the question.
Hence the dot has to be there - the tool just does not show it. This is
reverse of what the dns resolver does, which appends the dot first on domain
names with two or more labels. If only one label, it appends the dns suffix
first. So your suffix must be set to YU.CO.YU. for you to see this
behavior. Use the dot to be sure or get NetDig at
www.mvptools.com .
A diagnostic tool should not append anything, but do what you ask unless you
set some option to do different. One of the reasons some people don't care
for nslookup.
--
William Stacey, MVP
"Vasja" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I have a problem with my Win2000 DC with DNS,
>
> When I start nslookup (on DC) and query for
>
> MYDOMAIN.CO.YU
>
> I get response which lists all IP addresses of all our DCs. I get the
> same when I query for
>
> MYDOMAIN.CO.YU.
>
> So for this type of query it is same wheather I use trailing DOT or
> not.
>
> But when I do
>
> SET TYPE=SRV
>
> and do a query for
>
> _LDAP._TCP.MYDOMAIN.CO.YU.
>
> it gives a list of all SRV records as it should but when I query for
>
> _LDAP._TCP.MYDOMAIN.CO.YU (without a DOT)
>
> it tries to reach _LDAP._TCP.MYDOMAIN.CO.YU.CO.YU. and of course goes
> outside our realm.
>
> Now IS THIS OK OR NOT? I ask because I have other problems with this
> DC. Netdiag and Dcdiag keep reporting errors and netdom reports that
> it cannot contact itself.
>
> Any help will be much appreciated.