Herb Martin said:
That is a flaw (perhaps not a design flaw but certainly one of
presentation AT LEAST.)
Actually I think you can do it by make the name a (TRULY) FQDN:
Terminate the name with a "."
Sure you can stop nslookup from appending any suffixes by appending the name
with the root, but then if you do that it also won't append the primary or
connection DNS suffix either.
The problem is when the primary DNS suffix is a third level domain name. You
can assume that most of the local hosts are in the third level domain name,
e.g. sub.example.com., so you really don't need to search its parent suffix
if the zone isn't local to your DNS server. The only way I've found to
remove example.com. from nslookup's DNS suffix search is to configure a
custom DNS suffix search list of just sub.example.com.
Without doing this nslookup searches example.com. which gets resolved from
the internet. It works as long as example.com. exists on the internet AND it
does not have a wildcard record in its zone.
The wildcard record causes every query that doesn't have a record in the
sub.example.com. to hit the wildcard record in example.com. and resolve,
even if the name has a valid record in another domain. I've had three
threads this week alone with this behavior, and it just came to my attention
the nslookup ignores the setting to not append the parent suffixes of the
primary DNS suffix.
In my opinion, that is a real bug in nslookup. You would think that if
nslookup is going to use the suffix search list in TCP/IP properties, and
you remove the suffix by clearing the box, and the ipconfig /all removes the
suffix from the search list, why can't nslookup remove it?
Clearing the check box works for the DNS Client service, but if you are
trying to help someone with the problem that barely knows how to turn the PC
on, it makes if difficult to convince them that the problem is fixed if
nslookup still hits the wildcard record.