PC Review


Reply
Thread Tools Rate Thread

nslookup and dot

 
 
Vasja
Guest
Posts: n/a
 
      29th Jan 2004
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.
 
Reply With Quote
 
 
 
 
Herb Martin
Guest
Posts: n/a
 
      29th Jan 2004
Nslookup is notoriously brain-dead on some things.

Technically it is ONLY a FQDN if you add the "." on the end -- many people
use this term (incorrectly) to mean anything that looks like a "complete
name"
as opposed to just a "domain" or a "server" (base) name.

(Technically I implied a misuse of the term "domain" in the above sentence,
but this is the
way that most people understand it and those that know the mistake don't
need
this explanation. <grin>)

When you leave of the terminating, and fully qualifying DOT, Nslookup is
free to append
the local machine's "domain" name (or not) and perhaps even perform the
lookup twice.

To SPECIFY the actual lookup to include the DOT; to avoid typing and depend
on the
good graces (defaults) then leave it off.

--
Herb Martin
"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.



 
Reply With Quote
 
=?Utf-8?B?VmFzamE=?=
Guest
Posts: n/a
 
      29th Jan 2004
What I want to know is this:

I dont care what nslookup use, but actualy what NETDOM is using to determine connection to itself. When I try (I try this command on BGDDC computer)

NETDOM QUERY /DOMAIN:MYDOMAIN.CO.YU. /VERIFY DC

I get error:

Machine Status/Domain Domain Controller
======= ============= =================
\\BGDDC ERROR! ( The specified domain either does not exist
or could not be contacted. )
\\BGD03 MYDOMAIN.CO.YU. \\BGDDC.MYDOMAIN.CO.YU
\\NSAD MYDOMAIN.CO.YU. \\BGDDC.MYDOMAIN.CO.YU

Now this one I am trying to solve for days now. I thought that it might have something to do with DNS. In the above picture
BGDDC is 'main' DC which is on Windows 2000 SP4 and all other DCs are Windows 2003.
Do you have any idea how to resolve this error. I tried to reset machine account with netdom (as per MS KB about this with disabling and reenabling of KDC) couple of times but with no use.
 
Reply With Quote
 
William Stacey
Guest
Posts: n/a
 
      30th Jan 2004
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.



 
Reply With Quote
 
=?Utf-8?B?VmFzamE=?=
Guest
Posts: n/a
 
      30th Jan 2004
Herb, William

Many thanks for clearing at least nslookup features. Do you have any clue about DC error I receive

Regards
 
Reply With Quote
 
Kevin D. Goodknecht [MVP]
Guest
Posts: n/a
 
      30th Jan 2004
In news:A2977B78-44CF-42DF-824A-(E-Mail Removed),
Vasja <(E-Mail Removed)> posted a question
Then Kevin replied below:
: Herb, William,
:
: Many thanks for clearing at least nslookup features. Do you have any
: clue about DC error I receive?
:
: Regards

Remove External domains from the domain search list on all machines.
Nslookup or not, Windows will append the names to all queries, if you have
an external name in the domain search list this name will be appended to all
DNS queries and get forwarded by your DNS server. Most will fail and cause
DNS errors.


--
Best regards,
Kevin D4 Dad Goodknecht Sr. [MVP]
Hope This Helps
============================
--
When responding to posts, please "Reply to Group" via your
newsreader so that others may learn and benefit from your issue.
To respond directly to me remove the nospam. from my email.
==========================================
http://www.lonestaramerica.com/
==========================================
Use Outlook Express?... Get OE_Quotefix:
It will strip signature out and more
http://home.in.tum.de/~jain/software/oe-quotefix/
==========================================
Keep a back up of your OE settings and folders with
OEBackup:
http://www.oehelp.com/OEBackup/Default.aspx
==========================================


 
Reply With Quote
 
=?Utf-8?B?dmFzamE=?=
Guest
Posts: n/a
 
      2nd Feb 2004
Do you mean that I disable "Append parent suffixes of the primary DNS suffix" setting?
 
Reply With Quote
 
Herb Martin
Guest
Posts: n/a
 
      3rd Feb 2004
All that (disabling it) means is that you must be EXPLICIT in specifying the
parent when you wish to resolve names there.

These settings are MERELY 'convenience features.

--
Herb Martin
"vasja" <(E-Mail Removed)> wrote in message
news:3B6EDF4F-C863-496E-9787-(E-Mail Removed)...
> Do you mean that I disable "Append parent suffixes of the primary DNS

suffix" setting?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nslookup? William Stokes Microsoft Windows 2000 DNS 1 3rd Jun 2005 09:41 AM
NSLOOKUP =?Utf-8?B?RGFuIERlQ291cnNleQ==?= Microsoft Windows 2000 DNS 1 25th May 2005 03:52 AM
nslookup Anthony Litterio Microsoft Windows 2000 DNS 3 17th Feb 2004 03:50 PM
nslookup Murat Microsoft Windows 2000 Networking 2 10th Feb 2004 02:40 PM
NSLOOKUP mark Microsoft Windows 2000 Networking 5 5th Nov 2003 03:38 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:41 PM.