NSLOOKUP and DNS


G

Guest

I have 1 Windows NT domain with 2 Windows 2000 DNS Servers in 2 Subnets. I
have everything working except for nslookup [short name].
When I am on DNS1... (DNS1 is the Primary DNS Server)

If I use "ping 192.168.1.10" I get a valid answer
If I use "ping DNS1.domain.com" I get a valid answer
If I use "ping DNS1" I get a valid answer

If I use "nslookup 192.168.1.10" I get a valid answer
If I use "nslookup DNS1.domain.com" I get a valid answer
If I use "nslookup DNS1" I get the error

H:\>nslookup DNS1
*** Can't find server name for address 192.168.1.10: Non-existent domain
Server: DNS2.domain.com
Address: 192.168.2.20
*** DNS2.domain.com can't find dns1: Server failed

I can browse the network by short name using a UNC path but I can not get
the nslookup command to work for it.
Is there something that has to be coordinated with WINs to get it to work?
I have set up the DNS Zone to use WINS forward lookup but it has no effect.

Any ideas and suggested will be appriciated.

Steve
 
Ad

Advertisements

G

Guest

Yes, we do have 3 Reverse lookup zones. One for each subnet and one for a
Internet partner.

Kermitdafwog said:
Do you have a reverse lookup for this zone?

Steve said:
I have 1 Windows NT domain with 2 Windows 2000 DNS Servers in 2 Subnets. I
have everything working except for nslookup [short name].
When I am on DNS1... (DNS1 is the Primary DNS Server)

If I use "ping 192.168.1.10" I get a valid answer
If I use "ping DNS1.domain.com" I get a valid answer
If I use "ping DNS1" I get a valid answer

If I use "nslookup 192.168.1.10" I get a valid answer
If I use "nslookup DNS1.domain.com" I get a valid answer
If I use "nslookup DNS1" I get the error

H:\>nslookup DNS1
*** Can't find server name for address 192.168.1.10: Non-existent domain
Server: DNS2.domain.com
Address: 192.168.2.20
*** DNS2.domain.com can't find dns1: Server failed

I can browse the network by short name using a UNC path but I can not get
the nslookup command to work for it.
Is there something that has to be coordinated with WINs to get it to work?
I have set up the DNS Zone to use WINS forward lookup but it has no effect.

Any ideas and suggested will be appriciated.

Steve
 
P

Per W.

Steve said:
I have 1 Windows NT domain with 2 Windows 2000 DNS Servers in 2 Subnets.
I
have everything working except for nslookup [short name].
When I am on DNS1... (DNS1 is the Primary DNS Server)

If I use "ping 192.168.1.10" I get a valid answer
If I use "ping DNS1.domain.com" I get a valid answer
If I use "ping DNS1" I get a valid answer

If I use "nslookup 192.168.1.10" I get a valid answer
If I use "nslookup DNS1.domain.com" I get a valid answer
If I use "nslookup DNS1" I get the error

H:\>nslookup DNS1
*** Can't find server name for address 192.168.1.10: Non-existent domain
Server: DNS2.domain.com
Address: 192.168.2.20
*** DNS2.domain.com can't find dns1: Server failed

I can browse the network by short name using a UNC path but I can not get
the nslookup command to work for it.
Is there something that has to be coordinated with WINs to get it to
work?
I have set up the DNS Zone to use WINS forward lookup but it has no
effect.

Any ideas and suggested will be appriciated.

DNS Suffix.

/Per W.
 
G

Guest

What do you mean by "DNS suffix"?

Per W. said:
Steve said:
I have 1 Windows NT domain with 2 Windows 2000 DNS Servers in 2 Subnets.
I
have everything working except for nslookup [short name].
When I am on DNS1... (DNS1 is the Primary DNS Server)

If I use "ping 192.168.1.10" I get a valid answer
If I use "ping DNS1.domain.com" I get a valid answer
If I use "ping DNS1" I get a valid answer

If I use "nslookup 192.168.1.10" I get a valid answer
If I use "nslookup DNS1.domain.com" I get a valid answer
If I use "nslookup DNS1" I get the error

H:\>nslookup DNS1
*** Can't find server name for address 192.168.1.10: Non-existent domain
Server: DNS2.domain.com
Address: 192.168.2.20
*** DNS2.domain.com can't find dns1: Server failed

I can browse the network by short name using a UNC path but I can not get
the nslookup command to work for it.
Is there something that has to be coordinated with WINs to get it to
work?
I have set up the DNS Zone to use WINS forward lookup but it has no
effect.

Any ideas and suggested will be appriciated.

DNS Suffix.

/Per W.
 
Ad

Advertisements

G

Guest

My PC shows the Primary DNS Suffix . . . . . . . :
DNS1 and dns2 both show the same thing - blank
 
P

Per W.

Steve said:
My PC shows the Primary DNS Suffix . . . . . . . :
DNS1 and dns2 both show the same thing - blank

And how do you think the DNS server should replay to a request thats not
include the complete name? Since you can have more than one DNS1
(DNS1.DOMAIN2.COM, DNS!,DOMAIN1.com etc. etc.) then the DNS server need to
now the domain and not only the server name, so the best thing for you is to
read more about how to configure DNS and DHCP.

/Per W.
 
K

Kevin D. Goodknecht Sr. [MVP]

Steve said:
My PC shows the Primary DNS Suffix . . . . . . . :
DNS1 and dns2 both show the same thing - blank

The DNS client service will append suffixes in the DNS suffix search list.
This list is obtained from both the Primary and Connection Specific DNS
suffix. If you do not have either a Primary or connection specific DNS
suffix, there will be no DNS suffix search list. You can manually configure
a DNS suffix search list or give your machines a Primary and/or connection
specific DNS suffix, then these suffixes will be appended.
If you have an Active Directory domain, these suffixes can be assigned to XP
and Win2k3 clients in a group policy. DHCP can only assign a single
connection specific suffix in option 015, which of course adds this suffix
to the DNS suffix search list.



--
Best regards,
Kevin D. 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 address.
===================================
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
===================================
 
A

Ace Fekay [MVP]

In
Steve said:
My PC shows the Primary DNS Suffix . . . . . . . :
DNS1 and dns2 both show the same thing - blank

As everyone said, it's a suffix, or lack thereof, issue.

Just to add, "ping" uses the machine's resolver service. Pinging a single
label name will devolve using the suffix, specifically the Search Suffix.
But if there isn't one, it will rely on NetBIOS broadcasts or WINS, if you
have WINS, because the machine's resolver service uses NetBIOS when all the
previous methods fail.

Nslookup, on the other hand, uses a built in resolver service and not the
machine's resolver service, and will NOT use NetBIOS, and soley relies on
hostname resolution (hosts file then DNS). The suffix is an integral part of
this process.

Hence... suffix!

--
Ace

This posting is provided "AS-IS" with no warranties or guarantees and
confers no rights.

If this post is viewed at a non-Microsoft community website, and you were to
respond to it through that community's website, I may not see your reply
unless that website posts replies back to the original Microsoft forum.
Therefore, please direct all replies ONLY to the Microsoft public newsgroup
this thread originated in so all can benefit or ensure the web community
posts it back to the original forum.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services
Microsot Certified Trainer
Infinite Diversities in Infinite Combinations.
=================================
 
G

Guest

Great, thanks for the explanations but it didn't resolve the whole issue.
Just for other people following this thread here are the final results:

I have added the Primary DNS Suffix to both the network settings and the
domain "name" settings on all of my servers including my DHCP assignments.
I also, just to cover all the bases, have host files on both of my DNS
servers.
Rebooted them over the weekend and now tested them.
NSLOOKUP from my PC uses DNS1 then DNS2 with no public DNS servers listed.
It now finds whatever I'm asking for and tries to use both DNS Servers but
says it can not find either of the two DNS servers????
~~~~~
H:\>nslookup dns1
*** Can't find server name for address 97.123.245.41: Non-existent domain
DNS request timed out.
timeout was 2 seconds.
*** Can't find server name for address 10.254.10.13: Timed out
*** Default servers are not available
Server: UnKnown
Address: 97.123.245.41

Name: dns1.domain.com
Address: 97.123.245.41
~~~~~
This is the correct IP address for DNS1 and DNS2 so it is using them and I
get identical results whether I am using short name or long name and also
whether I run it from my PC or one of the DNS Servers.

I saw another similar thread about adding pointers so checked mine. I
had the system automaticaly create them all when I created the original
records but found the final steps were missing. Once I added in DNS1's
everything worked fine.
DNS2 was missing the last 2 levels but i didn't have to enter that they both
seem fine now.

Thanks again for all the help.
Steve
~~~~~
 
Ad

Advertisements

A

Ace Fekay [MVP]

Steve said:
Great, thanks for the explanations but it didn't resolve the whole issue.
Just for other people following this thread here are the final results:

I have added the Primary DNS Suffix to both the network settings and the
domain "name" settings on all of my servers including my DHCP assignments.
I also, just to cover all the bases, have host files on both of my DNS
servers.

Actually, hosts files are not necessary on a DNS server, for they will never
use them for any clients querying the DNS servers.

Rebooted them over the weekend and now tested them.
NSLOOKUP from my PC uses DNS1 then DNS2 with no public DNS servers listed.
It now finds whatever I'm asking for and tries to use both DNS Servers

Good, just the way it is meant to work.
but
says it can not find either of the two DNS servers????
~~~~~
H:\>nslookup dns1
*** Can't find server name for address 97.123.245.41: Non-existent domain
DNS request timed out.
timeout was 2 seconds.
*** Can't find server name for address 10.254.10.13: Timed out
*** Default servers are not available
Server: UnKnown
Address: 97.123.245.41

Name: dns1.domain.com
Address: 97.123.245.41
~~~~~
This is the correct IP address for DNS1 and DNS2 so it is using them and
I
get identical results whether I am using short name or long name and also
whether I run it from my PC or one of the DNS Servers.

I saw another similar thread about adding pointers so checked mine. I
had the system automaticaly create them all when I created the original
records but found the final steps were missing. Once I added in DNS1's
everything worked fine.
DNS2 was missing the last 2 levels but i didn't have to enter that they
both
seem fine now.

Thanks again for all the help.
Steve

I'm glad you found out about the PTRs in your reverse zone to get rid of
that "can't find server name" message.

Cheers!

Ace
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top