How do I set a Primary A / MX Record for an IP address?

I have many websites running on a server with one IP address  how Do I set on A or MX record as the primary so when I do an ns look up I get mail.myycompany.com instead of  mail.ahostedwebsite.com?
whn I do an NS lookup of my WEB server's IP 199.190.202.80  i get advantageauto.ntslink.com  I want it to be www.ntslink.com....

any help?   thanks in advance!
ntssupportAsked:
Who is Participating?
 
ashutosh_kumarCommented:
for the IP address to return a proper name on ns lookup, you will need to create a entry in the dns server's Reverse DNS Lookup Zone.

0
 
ntssupportAuthor Commented:
Probably a Supid question   but what type of entry(record) needs to be added?  
0
 
ashutosh_kumarCommented:
A reverse lookup is often referred to as reverse resolving, or more specifically reverse DNS lookup, and is accomplished using a "reverse IN-ADDR entry" in the form of a PTR record.

Just like "Host A" records returns IP Address, PTR records returns names for IP address.
0
 
omarfaridCommented:
Hi,

you may add a A or an MX record under each domain / zone. These can be all resolving to the same IP address.

The IP to FQDN is added as a PTR record under the reverse lookup domain and can resolve to one name only.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.