LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Multiply A records for the same Ip adress (https://www.linuxquestions.org/questions/linux-server-73/multiply-a-records-for-the-same-ip-adress-4175461874/)

LuxLuv 05-14-2013 02:16 AM

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

bathory 05-14-2013 02:55 AM

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

LuxLuv 05-14-2013 06:17 AM

Yeah, it worked... I thought it would! :)

Tnx!


All times are GMT -5. The time now is 04:45 PM.