Warning: Invalid keyword 'DNSCache' (webalizer.conf) in MacPorts (Mac OS X)

If you installed webalizer via MacPorts in your Mac OS X you must know that it comes without dns support. That’s why you’re getting those Warning: Invalid keyword 'DNSCache' (webalizer.conf) Warning: Invalid keyword 'DNSChildren' (webalizer.conf) Warning: Invalid keyword 'DNSCache' (webalizer.conf) Warning: Invalid keyword 'DNSChildren' (webalizer.conf) To enable it , uninstall webalizer sudo port -d uninstall webalizer Edit the Portfile for webalizer vi /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/webalizer/Portfile to add an --enable-dns \ (note the ending backslash “") in the configure.args section just before of ...

March 20, 2009

avahi and .local domain troubleshooting

I got the “avahi-daemon disabled because there is a unicast .local domain” but I have no .local domain so I was a little bit confused. ~$ sudo /etc/init.d/avahi-daemon restart * Restarting Avahi mDNS/DNS-SD Daemon: avahi-daemon * avahi-daemon disabled because there is a unicast .local domain After a while I realized that my ISP is playing tricks with the DNS. It will never return a “DNS lookup failed”, it always resolve any dns name you pass to it. If the name is assigned it will return the proper IP but if the name is not assigned it will return the IP of the ISP portal. (Nice trick to get more page hits in their home page). ...

August 19, 2007