Solved

DNS Error

Posted on 2001-06-07
12
385 Views
Last Modified: 2013-12-23
I'm having a problem configuring Microsoft DNS.  Everything seems to be working for resolving server names, but when I do a lookup on the domain, I get.

C:\>nslookup mydomain.com
Server:  dnsserver.mydomain.com
Address:  192.168.0.10

*** dnsserver.mydomain.com can't find mydomain.com: Non-existent domain


Other lookups are working ok.....

C:\>nslookup server1.mydomain.com
Server:  dnsserver.mydomain.com
Address:  192.168.0.10

Name:    server1.mydomain.com
Address:  192.168.0.1


C:\>nslookup 192.168.0.2
Server:  dnsserver.mydomain.com
Address:  192.168.0.10

Name:    server2.mydomain.com
Address:  192.168.0.2


Any suggestions??
0
Comment
Question by:bnewton
12 Comments
 
LVL 14

Expert Comment

by:AvonWyss
ID: 6165291
You have to add an A record in the root (@) of the domain.
0
 
LVL 55

Expert Comment

by:andyalder
ID: 6169160
nslookup looks for the PTR record for the IP address of the DNS server it is to query when nslookup starts. If there is no PTR record for the servers IP address in the reverse lookup file you get this error message. Same with every OS. Doesn't matter though, you won't get any problems if you don't bother to fix it.

http://support.microsoft.com/support/kb/articles/Q171/7/89.ASP? should help.
0
 
LVL 24

Expert Comment

by:SunBow
ID: 6169759
I think a lot of mailservers still do both lookups, first name, then address (reverse) before transmitting a load (if not cached).
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 6170395
Mailservers first look up the MX record, which is similar to a CNAME record but with a preference. By this, it's possible to have mutliple MX records which should then be processed from the smallest to the largest preference until the SMTP server was reachable. Because of the MX records, it's not necessary to have a root A record for the domain.

andyadler correctly described why this is happening, and just before I described how this can be changed (that is, so that a lookup to the domain without a host will return an IP address).
0
 
LVL 55

Expert Comment

by:andyalder
ID: 6170513
AvonWyss, you posted a day before me actually, I was pointing out that the nslookup error message is due to the PTR being missing rather than the A record.

I didn't read the Ms technote I posted until now. Delete the A record and recreate it indeed, why not just create the missing PTR? Technet has such strange ways of doing things although the end result is the same.

I suppose you might have problems sending to some domains if the DNS server was also a mail server because some mail receivers won't accept mail if there is no PTR for the sender (strong anti-spam settings), wouldn't run DNS and Exchange on same box though, too much work for it.
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 6170522
andyalder, PTR records are used for reverse lookups. A records for forward lookups. The NSLOOKUP call mentionned only does a forward lookup, thus I disagree that the error is due to a PTR record missing. But we may have driftes somewhat away from the original question.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 55

Expert Comment

by:andyalder
ID: 6170549
In the microsoft doc I quoted you can see that the A record already exists. They delete the A record and recreate it so that the GUI automatically creates the missing PTR.

A silent query for the PTR is made by nslookup when it starts up so it can display the friendly name of the DNS server it is querying. Well almost every version of nslookup anyway, not my shareware version for win95:

nslookup version 95.02.28. Copyright 1995 John A. Junod
Server: 192.153.156.22

See, it is rude and does not display the friendly name.

www.acmebw.com/askmrdns/archive.php?question=12 but you will find similar docs on all the unix sites as well.

0
 
LVL 14

Accepted Solution

by:
AvonWyss earned 100 total points
ID: 6170616
andyalder, I do underdtand your comment and agree with the reverse lookup and PTR stuff, but this really doesn't seem to be what bnewton asked in the first place. I understood his question like this:

Why can't he do a lookup of the domain without host part, e.g. just mydomain.com instead of something.mydomain.com - and the answer is, because there is no root A record in the domain mydomain.com... so to do this lookup he would have to add the A record, which is exactly what I wrote. :-)
0
 
LVL 55

Expert Comment

by:andyalder
ID: 6171022
Think you are reading too much into "lookup on the domain" since his example of the error message does not involve looking up the domain but just starting the nslookup proggie. maybe I misread the Q.

I assumed that
>>C:\>nslookup mydomain.com
>>Server:  dnsserver.mydomain.com
>>Address:  192.168.0.10
>>
>>*** dnsserver.mydomain.com can't find mydomain.com: Non-existent domain

meant that the A record for the domain was OK since nslookup knows that the DNS server for the domain is called dnsserver.mydomain.com.

0
 
LVL 55

Expert Comment

by:andyalder
ID: 6172934
Avon, You're right. I misread.
0
 

Author Comment

by:bnewton
ID: 6176959
Thanks for your help guys, after creating an A record for the domain, it resolves.
0
 
LVL 14

Expert Comment

by:AvonWyss
ID: 6176987
You're welcome, bnewton. Thanks for the feedback and points.
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DirectAccess - Open ports 2 44
Office 2016 Network Activation 2 13
Network Switch Connections 8 52
Why do I get "media disconnected" when I run ipconfig? 2 28
Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now