Category: Uncategorized

  • PowerDNS & geobackend fixed

    Problem: dig query returns ;; connection timed out; no servers could be reached Solution: It’s very important to bind the PowerDNS server to specific IPs. (local-address=DNS_IP1,DNS_IP2,etc.)

  • PowerDNS geobackend README

    PowerDNS geobackend setup notes =============================== These are the steps I went through to set up geobackend for PowerDNS on FreeBSD -STABLE. By the time you read this maybe geobackend is part of the PowerDNS main CVS so perhaps not much of this will apply. In that case you should skip further down to the configuration…

  • Install PowerDNS

    http://rtfm.powerdns.com/compiling-powerdns.html CXXFLAGS=-I/root/trungson/downloads/boost_1_33_1 ./configure –with-modules=”geo bind”

  • Dual Opteron 248

    Just got another ad server, Dual Opteron 248, 2GB RAM, 36 G SCSI. Running the test suite. This seems like a powerful machine. AMD is winning the heart and mind of the web hosting world.

  • CRC32 hash collision

    I was trying to use CRC32() to uniquely identify distinctive domain names because it’s probably the most economical in MySQL datatype (int only takes 4 bytes) comparing to MD5() as a 32-char string. However, it seems hash collisions with CRC32 occur too frequently. Just in a set of about 800k string, got a bunch of…

  • Housing Booms, Busts, and Where Opportunities Occur

    Robert Kiyosaki “Is there a real estate bubble?” That’s the question I’m asked repeatedly. When I reply honestly — “I hope so” — my questioners’ fear occasionally turns into anger. There are seven stages of a financial bubble. read more | digg story

  • PHP through TOR and Privoxy

    TOR and Privoxy can be used through PHP to enhance the privacy of your connection. First you need to setup and run both TOR (check /etc/torrc) and Privoxy (/etc/privoxy/config, then start it as a service). If something does not work, use wget or see the error log. The PHP code below get a page through…

  • Overture keyword suggestions

    This class extracts the suggestion keywords from Overture (Yahoo! Search Marketing) together with their popularity counts. Sample Output: array ‘dalat’ => 1894 ‘dalat resort’ => 426 ‘dalat nam viet’ => 359 ‘dalat palace sofitel’ => 97 ‘dalat hotel’ => 91 ‘dalat school’ => 63 ‘dalat flower’ => 62 ‘bi dalat vo’ => 60 ‘city dalat’…

  • 10 tips to prevent domain scam/fraud

    You get so excited because a potential buyer just contacted you for a domain with great interest, don’t go on a shopping spree or raise your expectation just yet, it might be a scam and you won’t receive any money or worse, lose your own money. There are con artists working hard days and night…

  • Gmail not receiving message

    Symptoms: messages are not coming to your account regularly Problem: when tried manually to talk to the gmail mail server, we got this error “The Gmail user you are trying to contact is receiving mail at a rate that prevents additional messages from being delivered. Please resend your message at a later time; if the…