Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

DNS Error

Posted on 2001-06-07
12
387 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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
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
 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

860 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