October 1st in Linux/Unix by .

Troubleshooting Common DNS Misconfiguration Errors

Understanding DNS & Troubleshooting Common DNS Errors

DNS (Domain name system) may not be known to most people who use internet but it is the real backbone and the invisible force driving the whole internet without which we would be seeing numbers and IPs. The whole meaning of domain names exist …

September 28th in Linux/Unix, PHP Scripts by .

How to check IPs on same subnet?

How to check IPs on same subnet?

In many cases, you might want to check whether an ip address falls under a same subnet or not. It can be done both in perl and php using the Network library.

For PHP use Net IP4 library
For PERL use Net::IP library

<?php
// check for IP …

September 26th in Linux/Unix by .

DNS-Test :: Free dns checking tool script!

DNS-Test :: Free dns checking tool script!

I a wrote a dns checking script perl in script (CGI available) which can perform various tests for dns including…

* Checking for Nameservers NS records
* Website IP address (A Record)
* NS records from parent servers (root server)
* Check for LAME nameservers (Authoritative nameservers)
* …

September 23rd in Linux/Unix by .

Perl Net DNS Tutorial for Querying DNS Servers

Perl Net DNS Tutorial for Querying DNS Servers

Perl is really a very powerful language when it comes to low level system programming requiring intensive processing. Perl Net::DNS library can be used to write powerful web applications involving DNS lookups and queries. Before you start this perl programming you want want …

September 23rd in Linux/Unix by .

Using Dig tool for DNS lookups and Nameserver query

Using Dig tool for DNS lookups and Nameserver query

Dig tool in linux has become so important tool for querying dns servers and
fixing many dns related issues. I will show the easy way to use dig tool for
complex dns queries.

Lookup DNS Nameservers

Let us see what nameservers (NS …

September 22nd in Linux/Unix, PHP Scripts by .

HOWTO: Install PEAR for php in Linux

Install PEAR for php in Linux

It is very easy to install PEAR package for php. It lets you to install many many php extensions easily without compiling the source packages.

If you get

pear – command not found

then it means pear is not installed in your server. To install it …

August 18th in Linux/Unix, PHP Scripts by .

Automatic Face Detection in Photos with PHP

testface1.jpg

I have always wondered how to detect faces automatically with php script. I have seen in many photo sharing and social network sites automatically detect a face and tag a name after being uploaded.

In this article, i will explain how possible this task can be achieved with simplicity with OpenCV …

July 27th in Linux/Unix, PHP Scripts by .

Using htaccess to redirect domain without http://

Using htaccess to redirect domain without http

A very simple problem made me to sweat a lot. I have a site where users post their website link and most of them are so dumb and just wont put http:// in their domain and they submit just like www.domain.com.

If the link goes …

June 18th in Linux/Unix by .

how to change hostname in linux centos?

how to change hostname in linux

Very often you might want to change the hostname in your linux server. The hostnames are usually written like…

vps.domain.com
server.domain.com
box.domain.com
web.domain.com

and it is a very good idea to follow this hostname format.

To change hostname all you have to do is modify 2 files

1. Open /etc/hosts and change …

May 25th in Linux/Unix by .

Which linux command to find free disk space!

Which linux command to show free disk space!

It is very important to keep track of linux hardrive, its mounts and free space available. All you have to type is df -h in the command line to see disk space in human readable format.

# df -h

Filesystem …