LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 05-14-2013, 03:16 AM   #1
LuxLuv
Member
 
Registered: Feb 2007
Location: Sweden
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 38

Rep: Reputation: 15
Multiply A records for the same Ip adress


I have one A record in my dns pointing towards an Ip adress as it should. The thing is that I need to run one more A record in a different zone file pointing to the same IP for a grace period when changing names of webservice. So they should be work beside eachother for some time before switching over to the new one. Is that possible?

I know that if they would be in the same "zone" i would have done it with a CNAME, but now? I feels like it should work, so its maybe a stupid question?

/Lux
 
Old 05-14-2013, 03:55 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
I have one A record in my dns pointing towards an Ip adress as it should. The thing is that I need to run one more A record in a different zone file pointing to the same IP for a grace period when changing names of webservice. So they should be work beside eachother for some time before switching over to the new one. Is that possible?
Sure it's possible.
Suppose 2 zones and their 2 zone files. You should have
Code:
#zone1
...
zone1.com.   A 1.2.3.4
...
Code:
#zone2
...
zone2.com.   A 1.2.3.4
...
Regards
 
1 members found this post helpful.
Old 05-14-2013, 07:17 AM   #3
LuxLuv
Member
 
Registered: Feb 2007
Location: Sweden
Distribution: CentOS, Suse, Red Hat, OpenBSD, Solaris, Slackware
Posts: 38

Original Poster
Rep: Reputation: 15
Yeah, it worked... I thought it would!

Tnx!
 
  


Reply

Tags
bind, dns


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] C++ : function adress/ Variable adress LoDam Programming 1 03-29-2011 06:41 AM
[SOLVED] MX Records / A Records / CNAME Records - Advice Please fusion1275 Linux - Newbie 15 01-18-2011 05:06 AM
Reading caller detail records(CDR ) records eliufoo Linux - Networking 2 12-17-2008 12:31 AM
DNS Zone Records - MX Records ddzc Linux - Software 8 05-24-2007 02:26 PM


All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration