I am having trouble with a DNS Configuration. I've had a CentOS 6 server serving five sites up for a few years. I need to upgrade to CentOS 7 for PCI compliance. I bought a new box and left the old one online as I built the new one. In order to not have to switch the name server settings at cut-over time I thought I could just build the new box with the same name as the old one using a different IP on the old one during the build. Then, once built, I would turn off the old box, switch the IP on the new box to the original IP, and all would be well. I used ISPConfig (a control panel) on both boxes.
But when I switched I got "server not found" from Firefox and "ping request could not find host" from ping. (Firefox and ping are run from another computer.) If I put the IP address in the Firefox URL, then the first of the five sites (alphabetically) comes up OK in Firefox, but the site does not come up by its name. I searched carefully to assure that every letter and dot is the same in the ISPConfig's DNS setup on both boxes. Oddly last night two of the five sites connected both through Firefox and ping after I copied the pri* and named.local files to a new location. (ISPConfig put them in /var/named/chroot/var/named/ on the new box, I copied them to /var/named, as is the case on the old box.) Since the other three sites did not come up, I switched back to the old box. ("Switch" here means taking the ethernet cable out of one box and plugging the ethernet cable in on the other.) This morning none of the five come up on Firefox when I switched to the new box and ping can't find them. I was thinking that since the IP was the same, and the box name was the same, the DNS connection would just switch over. But apparently there is something else going on. Does this have something to do with the MAC address? Do I just need to wait for a ttl to expire? (My ttl is 3600 and I waited over an hour this morning and it still didn't work.) Is there some other issue? And how would I debug this?