So I was testing my DNS using http://www.intodns.com/mydomain.com
And it gave me a warning about the serials of my two nameservers not matching. So I changed the serials to match and restarted bind on both servers.
Then it breaks and nothing resolves.
I changed back to my old serials and restarted bind, it works.
Why can't I change the serials without things breaking, the increment isn't by one but should that matter? Is there a matter of wait for it to propagate?
Here are the old zone files that worked.
ns3.mydomain.com
//etc/bind/zones
$ORIGIN .
$TTL 38400 ; 10 hours 40 minutes
mydomain.com IN SOA ns3.mydomain.com. admin.mydomain.com. (
2880848856 ; serial
28800 ; refresh (8 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
NS ns3.mydomain.com.
NS ns4.mydomain.com.
A 66.33.205.241
$ORIGIN mydomain.com.
$TTL 10 ; 10 seconds
client1 A 75.119.214.193
$TTL 38400 ; 10 hours 40 minutes
ns3 A 64.111.115.3
ns4 A 67.205.9.225
www A 66.33.205.241
ns4.mydomain.com
$ORIGIN .
$TTL 38400 ; 10 hours 40 minutes
mydomain.com IN SOA ns4.mydomain.com. admin.mydomain.com. (
2006071806 ; serial
28800 ; refresh (8 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
38400 ; minimum (10 hours 40 minutes)
)
NS ns3.mydomain.com.
NS ns4.mydomain.com.
A 66.33.205.241
$ORIGIN mydomain.com.
$TTL 10 ; 10 seconds
client1 A 75.119.214.193
$TTL 38400 ; 10 hours 40 minutes
ns3 A 64.111.115.3
ns4 A 67.205.9.225
www A 66.33.205.241
Here are my new zone files that broke it
ns3.mydomain.com
$ORIGIN .
$TTL 1800 ; 10 hours 40 minutes
mydomain.com IN SOA ns3.mydomain.com. admin.mydomain.com. (
2880848862 ; serial
28800 ; refresh (8 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
1800 ; minimum (10 hours 40 minutes)
)
NS ns3.mydomain.com.
NS ns4.mydomain.com.
A 66.33.205.241
$ORIGIN mydomain.com.
$TTL 10 ; 10 seconds
client1 A 75.119.214.193
$TTL 1800 ; 10 hours 40 minutes
ns3 A 64.111.115.3
ns4 A 67.205.9.225
www A 66.33.205.241
ns4.mydomain.com
$ORIGIN .
$TTL 1800
mydomain.com IN SOA ns4.mydomain.com. admin.mydomain.com. (
2880848862 ; serial
28800 ; refresh (8 hours)
3600 ; retry (1 hour)
604800 ; expire (1 week)
1800 ; minimum (10 hours 40 minutes)
)
NS ns3.mydomain.com.
NS ns4.mydomain.com.
A 66.33.205.241
$ORIGIN mydomain.com.
$TTL 10 ; 10 seconds
client1 A 75.119.214.193
$TTL 1800
ns3 A 64.111.115.3
ns4 A 67.205.9.225
www A 66.33.205.241
Does anyone have any idea of what went wrong and how I can fix it?
Thanks in advance for any help!