?
Solved

DNS issue on Red Hat Server

Posted on 2013-12-20
3
Medium Priority
?
556 Views
Last Modified: 2013-12-20
Hi , i have a Server A ( VM machine ) with ip 1.11.1  ( for the shake of the example)
I also have the old Server A ( physical machine ) with IP 2.2.2.2

DNS record point to 2.2.2.2 ( old server)

If i ping from Server A  ( #ping Server A ) it will resolve to 2.2.2.2
I cant access the DNA records and change it.

My DBA asked me to ( at least for now) change the host record on the VM server to point to its self ( 1.1.1.1 )
Is there anything i can do on the VM machine to be able to ping it self correctly ?

I understand that when i ping from any other machine it will resolve to 2.2.2.2

Any input would be appreciated.
0
Comment
Question by:c_hockland
[X]
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
3 Comments
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 2000 total points
ID: 39732216
add a line in /etc/hosts that has the local IP address for itself, basically:

1.1.1.1 ServerA.domain.com ServerA

that way it will not try to resolve with DNS on the 2.2.2.2 address
0
 

Author Closing Comment

by:c_hockland
ID: 39732223
worked like a charm. Thank you Sir.
0
 
LVL 13

Expert Comment

by:Michael Machie
ID: 39732475
Am I to assume that both Servers have the same name?
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month9 days, 21 hours left to enroll

762 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