<div dir="ltr">[This is my second attempt to email this, sorry if it gets double posted]<br><div class="gmail_quote"><br><br><div dir="ltr">Hi all -<br><br>My master nameserver runs bind, and all of my slaves are running pdns. <br>
<br>mysql> select * from domains where name='<a href="http://test7.com" target="_blank">test7.com</a>'\G<br>*************************** 1. row ***************************<br>
id: 57952<br> name: <a href="http://test7.com" target="_blank">test7.com</a><br> master: 69.46.16.x<br> last_check: 1222612625<br> type: SLAVE<br>notified_serial: NULL<br> account: NULL<br>
1 row in set (0.00 sec)<br><br>Here is my pdns.conf;<br><br>launch=gmysql<br>gmysql-host=<a href="http://127.0.0.1" target="_blank">127.0.0.1</a><br>gmysql-user=root<br>gmysql-dbname=pdns<br>webserver=yes<br>webserver-address=<a href="http://0.0.0.0" target="_blank">0.0.0.0</a><br>
webserver-password=xxxxx<br>slave=yes<br>slave-cycle-interval=300<br>daemon=yes<br><br>My problem is that pdns doesn't seem to process the slaves fast enough. <br> <br>$ cat /var/log/messages | grep 'need checking'<br>
Sep 28 04:04:30 dyndns pdns[3466]: 8217 slave domains need checking<br>Sep 28 04:34:22 dyndns pdns[3466]: 12940 slave domains need checking<br>Sep 28 05:04:20 dyndns pdns[3466]: 9156 slave domains need checking<br>Sep 28 05:31:17 dyndns pdns[3466]: 15371 slave domains need checking<br>
Sep 28 06:03:33 dyndns pdns[3466]: 8504 slave domains need checking<br>Sep 28 06:29:32 dyndns pdns[3466]: 5542 slave domains need checking<br>Sep 28 06:53:20 dyndns pdns[3466]: 5270 slave domains need checking<br>Sep 28 07:16:28 dyndns pdns[3466]: 6298 slave domains need checking<br>
<br>I have a little over 50,000 domains in the system and it some of our customers are waiting days to get their changes being added to the system (especially when we add new domains) For example, when I added <a href="http://test7.com" target="_blank">test7.com</a>, it wasn't added into the master nameserver at first. Therefore the first few times it tried to grab the zone and then failed. After it failed a few times, it sat there for a few days before actually getting it. It knew it was stale, however didn't do an axfr. <br>
<br>--<br><br>messages.1:Sep 26 15:15:52 dyndns pdns[3466]: Error trying to retrieve/refresh '<a href="http://test7.com" target="_blank">test7.com</a>': Query to '69.46.16.x' for SOA of '<a href="http://test7.com" target="_blank">test7.com</a>' produced a NS record<br>
messages.1:Sep 26 15:41:38 dyndns pdns[3466]: Error trying to retrieve/refresh '<a href="http://test7.com" target="_blank">test7.com</a>': Query to '69.46.16.x' for SOA of '<a href="http://test7.com" target="_blank">test7.com</a>' produced a NS record<br>
messages.1:Sep 26 16:07:29 dyndns pdns[3466]: Error trying to retrieve/refresh '<a href="http://test7.com" target="_blank">test7.com</a>': Query to '69.46.16.x' for SOA of '<a href="http://test7.com" target="_blank">test7.com</a>' produced a NS record<br>
messages.1:Sep 26 16:32:52 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 16:57:28 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 17:22:25 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 17:49:04 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 18:26:34 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 19:03:32 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 19:39:09 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 20:03:44 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 20:26:45 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 20:50:32 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 21:14:12 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 21:37:22 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 22:00:08 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 22:22:51 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 22:46:40 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 23:10:36 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 26 23:34:20 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 26 23:57:00 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 00:19:49 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 00:43:00 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 01:05:14 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 01:27:49 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 01:53:16 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 02:18:22 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 02:48:04 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 03:17:55 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 03:44:45 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 04:17:19 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 04:40:03 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 05:04:17 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 05:27:49 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 05:50:38 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 06:13:24 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 06:37:42 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 07:02:00 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>messages.1:Sep 27 07:25:30 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br>
messages.1:Sep 27 07:49:21 dyndns pdns[3466]: Domain <a href="http://test7.com" target="_blank">test7.com</a> is stale, master serial 1, our serial 0<br><br>--<br><br>From what I gather, it just seems that there's a limited number of "checks" it will do at a given time, and it can't keep up. Is there anyway to increase that limit, or make sure it's able to check all these domains in short amounts of time (less then 60m?) <br>
<br>Thanks.<br><br><br></div>
</div><br></div>