Archive for February, 2007

Open DNS servers

When check domain at dnsreport, it show warning

ERROR: One or more of your nameservers reports that it is an open DNS server.

This can be fixed by editing /etc/named.conf

The default “options” will be

options {
directory “/var/named”;
dump-file “/var/named/data/cache_dump.db”;
statistics-file “/var/named/data/named_stats.txt”;
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

Add following inside options block

allow-recursion {
127.0.0.1;
72.232.50.98;
72.232.50.99;
72.232.50.100;
72.232.50.101;
};

72.232.50.98, 72.232.50.99, 72.232.50.100, 72.232.50.101 are IP’s of the server. Replace it with your server IP’s.

You can find IP’s configured in your server with command ifconfig

After editing, optons will look like

options {
directory “/var/named”;
dump-file “/var/named/data/cache_dump.db”;
statistics-file “/var/named/data/named_stats.txt”;

allow-recursion {
127.0.0.1;
72.232.50.98;
72.232.50.99;
72.232.50.100;
72.232.50.101;
72.232.50.102;
};

/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
};

Comments off

YouTube Clone Installation

After Google brought YouTube for $1.65 Billion, many webmasters start making clone of popular youtube.com

There are many PHP, MySQL based scripts for running your own youtube clone site like

http://www.buyscripts.in/youtube_clone.html

YouTube clone script will not run on normal web hosting servers, you need to install special software like ffmpeg, ffmpeg-php, mencoder, mplayer. This can only installed if you have dedicated server.

There is special YouTube clone hosting package for those who don’t have dedicated server.

http://www.hostonnet.com/ffmpeg_hosting.php

I have made some advertisement for youtube clone script installation and getting many installation. So far done 10+ installations. Some of the YouTube clone site i have installed are

http://video.bizhat.com
http://www.mudstockvideos.com
http://www.talentbreak.net
http://www.ramblinrons.com
http://www.junglemotion.com
http://www.scanspacevideo.com
http://www.viewmytube.com
http://www.treasonvideo.com
http://www.adult-share.net
http://www.mysingingidol.com
http://www.myvideoshopping.com
http://www.albanianmtv.com
http://magiciansvideo.com
http://www.porn2themax.com
http://www.polynesiansonline.com
http://video.bipmedia.com
http://www.filmshare.info
http://www.bigmotion.net
http://www.hrtube.net
http://www.tamildrops.com

There are more sites, but i missed some of them, i will keep this post updated as i do more installations.

Comments off

New Linux PC

I used to run test linux server in VMWare. Few days back, i brought a new PC and installed CentOS 4.4 on it.

Now all PC’s running Windows 2003, i want to use Linux on Desktop, but doing that, i will miss lot of software that i use on Windows now.

The new CentOS computer will be used by PHP programmer who don’t need to work with Photoshop and other stuff. Still this is just a plan, want to see how it goes.

As for text editor, now we use Edit Plus on Windows is very powerfull. On Linux, i use vi text editor, but is not easy for most and it take time to study the commands.

I just made a google search and found

http://bluefish.openoffice.nl

Seems good, need to install and see how it goes.

Comments off

lame server resolving

On Cpanel server, found following error on /var/log/messages

Jan 29 15:15:50 server36 named[17870]: lame server resolving ‘bizhat.com’ (in ‘bizhat.com’?): 216.32.86.26#53

The problem is caused by some one pointing the domain to the server, but the account is not present in the server.

Problem is solved by disabling lame server loging in bind.

To do this, edit /etc/named.conf and add following line

logging {
category lame-servers { null; };
};

Now restart bind

service named restart

Comments off

Next entries »