• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 512
  • Last Modified:

can I point a DNS name to another DNS name on windows 7?

I have a windows 7, I don´t think this matters on the version of Windows, but...
I know that in the hosts file I can specify a dns name to a specific ip, but can I specify a dns name to another dns name, for example:

dnsA.mycompany.com: 201.154.xx.xx (Real Internet IP for the server)

I want to point in the hosts file in windows:
autodiscover.mycompany.com to dnsA.mycompany.com

The problem is that I cannot point it to the IP of the server because it´s a dynamic Ip and it will change from time to time...
 
0
marpanet
Asked:
marpanet
  • 3
  • 2
3 Solutions
 
Vipin VasudevanInfrastructure SpecialistCommented:
YOu can create an alias name for it..

CNAME as autodiscover.mycompany.com to dnsA.mycompany.com.. doesn't matter if dnsA.mycompany.com IP address changes

0
 
marpanetAuthor Commented:
CNAME where?,,
With my Internet host provider??. I just want it to be locally, not globally...

Thank you VipinV
0
 
Vipin VasudevanInfrastructure SpecialistCommented:
CNAME in your Local DNS Server...

Do you have a DNS server? If not i may not sure how to do it....

OR

Please install a new DNS server
0
Become an IT Security Management Expert

In today’s fast-paced, digitally transformed world of business, the need to protect network data and ensure cloud privacy has never been greater. With a B.S. in Network Operations and Security, you can get the credentials it takes to become an IT security management expert.

 
Lee OsborneCommented:
You can't map a hostname to another hostname. The HOSTS file will only support hostname to IP mapping.

Lee
0
 
Vipin VasudevanInfrastructure SpecialistCommented:
sorry you may can't do that.. You have to have a DNS server instead...  
0
 
marpanetAuthor Commented:
Thank you both for your answers,
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now