DNS expert needed?

Hi,

www.abc.com 22.22.22.22 in my old-server
search.abc.com 22.22.22.33 (old-server) move to

new-server 11.11.11.99 (different location)
AND each time when someone goto http://search.abc.com ,
 it goes to new-server 11.11.11.99 .....

Any ideas ?  have to modify DNS? apache? or?
bsherAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

barreroCommented:
You just need to change your DNS server configuration...  and restart your dns server
(/etc/rc.d/init/named restart)

0
bsherAuthor Commented:
what should you change for DNS, more detail.
0
barreroCommented:
In your named.boot or named.bott file (depending the version of bind you're using... you have the names of the files containing the description of your zones.
In those files, you have, some registry entris like this one:


www.abc.com. IN A 22.22.22.22
search.abc.com. IN A  22.22.22.33

change the server name you want to change to:

search.abc.com. IN A 11.11.11.99



after that, restart your named:

/etc/rc.d/init/named restart

  And it's done...


MArcel
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bsherAuthor Commented:
will there cause any risk or hole for hackers.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.