How to make DNS resolv working in Majordomo?

It is not necessary to delete files in the database, just in /etc/cronu.d/ create a file containing

MAILTO=""
# m h  dom mon dow  user  command
4 */6 * * *	root	majordomo_cache.lua precache # or mayby */12 if the database is big
#

which will add the missing translations of IP addresses.

Or insert it via Luci <router>/cgi-bin/luci/admin/system/crontab

MAILTO=""
4 */6 * * *    /usr/bin/majordomo_cache.lua precache # or mayby */12 if the database is big

This condition is caused by the fact that the script majordomo_locked_precache.sh starting in the file /etc/cron.d/majordomo not have enough time to go through all the database files (only 45 min), because the database is already too big.

Edit: Also must be disabled startup majordomo_locked_precache.sh inside file /etc/cron.d/majordomo

` …

4 * * * * root majordomo_locked_precache.sh

and restart cron "/etc/init.d/cron restart`"

I will write to the support to do something about it.

5 Likes