I’m a bit stressed for time, so i’ll keep this nice and short. The whole article will be a series of points.

  • Almost ALL bind config files are basic text files.
  • Spaces and special ending characters are VERY important.
  • Serial numbers within the files (you will see shortly) do NOT effect greatly, but it is best practice to keep them in order.
  • Serial numbers SHOULD be incremented everytime you edit the file
  • Forward lookup files are usually stored in /etc/bind
  • Naming of the file should be [domain-name].db  for example: geekdomain.db, google.db
Here’s a Sample forward lookup file:  (Note, all lines starting with ; are comments)

; As a basic RULE, all config files HAVE to start with the SOA (Start Of Authority) line.
; The SOA tells us which server is the Authoritative DNS server for this domain. If this is your ONLY DNS server, this will be your Authoritative server. Lets di-sect the stuff within the ().
; The serial number, is a number representing which version this file is. The numbering convention is upto the admin. We normally type the serial number as date & time. For example,
; if we edit this file on the 17th of May 2011, we will number it 20110517. If you want you can put the time in there as well. You must remember to change this number everytime you make any
; change to the file. 
; The next line tells us the refresh rate.  The numbers are in seconds. Hence 3600 gives us a refresh time of 1 hour
; The next line tells us the retry rate. Again, the numbers are in seconds.
; The Next line tells us the expiry time.
; The next line is the minimum time.
    ; Alot of people get confused by this first line. It's simply; @ IN SOA(Saying this server is the SOA) server.name admin.email (with the @ sign replaces by a . )
    @ IN SOA geek.domain.  admin.geek.domain. (
	20110517	; Serial number
	3600		; 1 hour refresh
	300		; 5 minutes retry
	172800		; 2 days expiry
	43200 )		; 12 hours minimum

; List of Name servers in this domain. It MIGHT be a good idea to also have your ISP's DNS server in here.
	IN NS		geek.domain.
	IN NS		isp.geek.domain.gk.

; List all MX (Mail exchange) records here!
	IN MX		mail.geek.domain.

; List all your other servers and machines here
    web.geek.domain.            IN A   ; Web Server
    fileserver.geek.domain.     IN A   ; File Server
    machine1.geek.domain.       IN A   ; Windows XP machine

; Alias names
    www	        IN CNAME	web.geek.domain.
    ftp		IN CNAME	fileserver.geek.domain.
    printer	IN CNAME	fileserver.geek.domain.

How to fit all this in with your Bind server (If you came here from my other tutorial):

Goto /etc/bind
Create a text file there named [domain-name].db  for example: geekdomain.db
Type in (or copy paste & edit) the above code according to your needs.
Save the file.
Restart Bind:
/etc/init.d/bind9 restart

How to test if your look up tables are working.

In bash type in :
nslookup servername.domain.name
for example:
nslookup fileserver.geek.domain

We need:

  1. One Vanilla Installation of Ubuntu 10.0 (any version should still work fine)
  2. Machine with enough hard disk space (i used about 10gb for a NON-production testing only machine)
  3. A working internet connection

Lets get started.

*quick note, i have a GUI installed in this box (XFCE) this is absolutly NOT necessary (and most of the time NOT recommended for actual servers)

Set up your Server’s Hostname properly:

to view your current hostname: cat /etc/hostname

cat is a util used to print text out to standard out from a text file. /etc/hostname is where the hostname of the computer is stored.

Viewing Hostname

How to View your Hostname

To set a Host-name simply:

echo “YOUR-HOST-NAME-HERE” > /etc/hostname

echo is a program to repeat what you types into standard out. The “>” sign is for porting information in linux. Here we port that information into the file “/etc/hostname”

How to set the Host-name in your Computer

Setting a custom host-name in your Computer

Set your Domain preferences:

to view your current settings:    cat /etc/resolv.conf

to set a new domain:    echo “domain geek.local” > /etc/resolv.conf

Viewing and Setting your Resolv.Conf

Setting up your Network Settings:

Now normally, in a real life situation you’d have a Static IP for your DNS server (this isnt a recommendation this is a MUST). However, personally i’m setting this up on a Vritual Machine, which means i have to switch between  connecting the server to my REAL network and to my virtual network. What does this mean for us? We basically need to be a wizzz at changing your network settings on the fly!

Here’s the quick Run down:

Viewing your Current Network Settings:

ifconfig -a

This will basically show you all your currently set network settings. Dont get confused by the “lo” interface. That’s the local loop interface in Linux.

Viewing your Network configurations

To set a static IP on your network interface:

ifconfig <interfacename> <ip-address> netmask <network-mask/subnet mask>

eg. ifconfig eth0 netmask

Setting a Static IP for a selected Network Interface

To get IP settings automatically from a DHCP server

dhclient <interface-name>

e.g. dhclient eth0

Getting down Network Configuration settings from a DHCP server

Installing BIND9 and other Necessary Tools

1. Make sure your server is connected to the internet

2. sudo apt-get update

sudo apt-get update

3. sudo apt-get install bind9 dnsutils

Installing BIND9 & DNSUTILS

If everything went well, you should see this message:


Setting up Forward-look-up files and reverse look-up files will be posted shortly!

Ok so you set up your Linux distro on your Box properly.. but you dont want to always use your root account? So lets create a new account just for you! I understand that this post might look a bit redundant because almost all Linux Distros these days come with a very simple, straight forward GUI solutions to create and manage users and groups. I just think knowing how to do it through bash can sometimes be useful, plus it’s a hell of alot faster!

Step 1 Create the Account

Creating a New user Account:

Default Syntax:

useradd [-c comments]

[-d home_directory]

[-e expire_date]

[-g initial_group]

[-G group1,group2,….]

[-s shell]

[-u uid]

Ok so all these different arguments can be typed in one line, dont try to type them out in different lines… Almost all of them are pretty self explanatory. You’ll see that -g and -G are two different arguments, yes linux makes a huge fuss about capital and simple letters ( geekdomain and Geekdomain and two different user accounts in linux).

Please realize that UID is NOT the user name.. that’s the User ID, which is a numerical value.
Examples :

useradd -c test_account -g users geek   (Here the comment is “test_account” the account has a initial group of “users” and username of geek)

useradd -g root geek (here a new user is added, with a initial group of “root” and username of geek”)

By now you must have noticed that you DONT need to actually type out ALL the arguments, linux will use the default value if you dont type them in.

Step 2 Set a password for the account


passwd user_name

Type this out, press enter and when prompted for, enter the new password for that account!


passwd geek

(press enter)

(type in new password)

Hey people, back after a year of absence -.-‘ …. sorry about that…. Uni started….. visa problems…… exam issues blah blah blah blah blah….

Anyways……. Lets get started!  Sharing files between Windows and Linux! This for the amateur IT guy/girl can seem a daunting task, specially given the fact of about different partitioning methods, different file systems etc..

Trust me, there’s no shame in admitting that you just couldn’t find a way to make Windows and Linux play nice with each other over the network.. BUT! when you seriously look at it, it’s no that big of a problem..The main cause behind all this mayhem is rather simple…  We’ll call it the “language”. You see, windows computers talk to each other in a different language for file sharing and linux computer’s talk in a different language.  Dont worry though, all is not lost, you see, linux box’s have a secret trick up their sleeves, if you ask a linux box really nicely, they’ll learn how to speak in WINDOWS!

Ok ok, all the crappy synonyms aside, all you really need for file sharing between linux boxes and window’s boxes is a software called “samba”, and no, it’s not something like VLC where you have to install programs on both ends. Samba is actually a “daemon”, daemons are like windows background services, what it does is, it acts kinda like a interpreter in between the 2 machines ( i think lol ! ).

Ok , lets get to work!

Read the rest of this entry »

This is just one of the posts, in my all new, complete coverage of using XBMC. Most of the sites i went to when i first learned about XBMC had absolutly no description on how to use it. Even the XBMC Wiki was very tech savvy, description.

So for all you NON geeks out there… Here’s the low down, step by step on how to install XBMC on Windows.

Read the rest of this entry »

Some of you may have already heard of XBMC already, some of you may not have any idea what on earth it is! Well for the less-informed of you guys, here’s the break down:

XBMC is a media Center Software, which manages your Music, Music Video, Movie and TV Show library.

  • It was originally Made to Run of Xbox’s , Now runs on Xbox, Windows, Linux, Mac, Apple TV and as a Live CD version
  • It will automatically Organize your movies and TV shows, download all the Cast and crew data, wallpapers, posters etc.
  • It’s fast and stable

Basically You get something like this, (i’m betting these screen shots will explain enough 😉 )


XBMC Home Page

Of Course the First Thing that anyone notices about XBMC is it’s really catchy Home pages. I really must say, i was really impressed about the Attractiveness of XBMC. However, mere mortals, do not be fooled by the sweet sights and sounds of our friend XBMC, it’s a something you EARN, not simply install….

Read the rest of this entry »

Ok so your a Newbie/Noob/beginner/amature in the linux scene.

Ok so you got your OS installed with the step by step wizard and now you try to install your Programs.

See Installing Programs in Linux.

But then ! you get your first error message. Trust me, being a kind of new guy to linux my self i KNOW how frustrating it is to get your programs installed in linux with it’s rather un-understandable error messages.

A very common error most people get when trying to install a new program in the NEW linux installation is

bash: make: command not found

Ok you can stop your uncontrollable fit form anger form this point on wards. 🙂

Because, Well it’s actually a simple error that can be fixed easily!

Read the rest of this entry »

Are you a sadist when it comes to gaming? Want to beat, chew up and spit out games like they were chewing gum? Well you can now do just that!  With the New Nvidia GTX 295! 🙂

Payback Time

After Nvidia’s GT200 based cards were kicked out of it’s throne at the top spot of Graphics Cards Kingdom, by ATI’s Radeon HD 4870 X2 Nvidia couldn’t just stand around! I mean the GT 200 was Nvidia’s pride and joy!

Squashed Up Goo

The Normal rout that most Graphics card makers take these days to take a great existing card and make it awesome was to take two of them  and paste them together for SLi (Nvidia) or CrossFire (ATI) configuration.

The Main problem that Nvidia faced till now was that their GT200 processors were so powerful, that putting two of them together would cause a total melt down.

New Ways to “DIE”

So Nvidia’s answer to this dilemma was new Die-process that reduced their processors from 65mm to 55mm. This helped to greatly reduce heat and power consumption.

So the GTX 295 was born! Pasting together, 2 X GT200 cards in one. So when in SLi mode, it’ll be a quad.

(Pic Curtsy Of Toms Hardware.com)

Read the rest of this entry »

I dont know about you guys , but as soon as I installed my fresh new Ubuntu 8.10 intrepid ibex release on my desktop computer, the first problem i faced was how to share files between linux and my windows Vista laptop! I went and checked in linux, there was no “Share” button in the folder properties pane.

So After doing a bit of reading i came to understand that in order to share files between Windows and Linux Computers you have to install a Program(deamon) called samba!

It’s actually quite easy ! so lets get started!

Read the rest of this entry »

Ok here’s a Quick Guide on How to Install and get Compiz Up and Running On Your New Ubuntu 8.10 Intrepid Ibex Machine!

STEP 1 (Graphics Cards) – Installing Graphics Card Drivers, Activating Them…

Ok First off we need to get your Graphics cards up and Running! Install Graphics Card drivers in Linux and Activate them! It’s really not that hard now with the New ubuntu release

1. Goto Add/Remove Applications from yours Applications Menu

2. Searching :

2.1 If You have an ATI Card Search for “ATI graphics”

Tick The Packages

  • ATI Binary X.org Driver
  • ATI Catalyst Control Center

Click Apply Changes!

2.1 If You Have an Nvidia Card Search For “Nvidia”

Tick the Packages

  • Hardware drivers
  • Nvidia X Server Settings
  • Nvidia binary X.org driver (version 177 driver)
  • NTv Tv Out

Click Apply Changes!

This step should install your Graphics Drivers Without any problems….

3. Autharizing Drivers

After You install the drivers you have to enable them for them to be used by Ubuntu.. This can be done very Easily!

Goto System>Administration>Hardware Drivers

From There, If Your Using an Nvidia Card Select the “Nvidia Accelerated Graphics Driver (Version 177) and click Activate

If your Using an ATI card, Select the ATi Driver and Click Activate!

STEP 2 Installing Compiz!- Downloading and installing compiz,

1. Goto Applications> Add/Remove Applications

2. Search For “Compiz”

3. Tick

  • Advanced Desktop Effects Settings (ccsm)
  • Compiz Fusion Icon
  • Screenlets (Optional)

4. Click Apply Changes!

Side Note : You Can Make Compiz Start Automatically With Ubuntu on Start up Through the Compiz Fusion Icon Program…..

Hmmm I recently migrated my desktop Completely From Windows XP to Ubuntu Linux 8.10 Intrepid Ibex… And here are some softwares i found i MUST install on Ubuntu To use productively…

MUST HAVE SOFTWARE IN LINUX!  For Ubuntu (8.10 Intrepid Ibex)

Mozilla Thunder Bird


O.K! I mean do i even have to explain my self?? i mean what could be better than ThunderBird Right!? Ok i am a self acclaimed Mozilla fan boy, But when it comes to

Read the rest of this entry »


Posted: December 27, 2008 in Uncategorized

Wow ! How long has it been??? Too Long.. Anyways Sorry for the sudden Lost… i Was a bit BUSY with my Studies….. I’m Back… with UBUNTU on my side.. Hope to Kick Some ass!!!! Lol!

Ok Sabayon Linux? Never Heard of it? If so you probably havent been On-Line and updated recently enough. Sabayon Linux a New Gentoo variation ( I think), is a new kid on the block making quite a stirr in the Linux World. While Ubuntu and Other Distro are made to be used by Everybody, I see that Sabayon is mainly marketing on Younger Users ho are Hardcore Graphics enthusiast.  Also this Distro Is also geat for recent Windows migrants because alot of the coolest new fetures and what i like to call Vista-Killing Apps are Pre – Loaded in this Distro.

Read the rest of this entry »

With All The Hype the Iphone Made within he Past days, How ever, people were a bit sad to hear that only Their Beloved IPhone only works with  AT&T! But we all know that for every security mesure there is in this world some people just come up with answers for that! I mean Cracks ad Key Gens for Vista came out before even the Actuall launch of Vista! Anyways, This article is to tell you that a 17 year Old US teen has come up with a direct way to Hot Wire the IPhone to make it work wiht any service provider there is!

Read the rest of this entry »

Ever heard of the fraze with love in every stitch? Well, now the new AirBus 380 on Singapore AirLines will have A Personal Linux PC for all their passengers.It’s like Linux in every Seat!RedHatLogo

All standard seats will have a 10″ screen with a USB port connected to a PC running RedHat Linux. All passengers Read the rest of this entry »

The New Intel Quad Core, “Yorkfield”, has being put to the test by DailyTech.Com and the results are quite Satisfying. Here is a Qout From their Article :



DailyTech managed to snag a quad-core “Yorkfield” for a few quick benchmarks

Benchmarks of Intel’s Penryn based dual-core Wolfdale have appeared a couple times in the past month. The early benchmarks tested engineering sample processors and showed Wolfdale, Read the rest of this entry »

Ok this article doesn’t really tell people exactly how to hack ( i think thats illegel and would most likely get me kicked out of Word press.) Anyways i found this great artice from a blog that explained (very in -dept), how he found a hacker inside his friends Linux server and how he traced it to the hackers residence. All the credit goes to that Arthur. I just thought e aught to be more well know for his hard work.


Holliday cracking

SecurityA friend of mine asked me to have a look at his Linux-server. “It behaves strangely” he said, most notably the web-server apache refused to start. It turned out to be more than just a problem with apache.
I already had an account, so I started to poke around. The first thing I noticed was some strange ls behavior: Read the rest of this entry »

linux / windowsOk here’s the deal, today i was surfing some famous community news sites where i came across this interesting news about a person who got house arrested for uploading The newest movie of Star wars through a torrent. Anyways the interesting thing is, the judge ordered that a tracking software be installed on to that person’s computer Read the rest of this entry »

Windows Is Trying To Go Open Source??

Since Microsoft Signed Those Dozens Of Agreements With Different Linux Distributions Around the World, Linux users were getting a bit impatient with Windows and Specially their trusted Distro’s Because of the Recent Problems and court cases where Microsoft was saying that though it made agreements with Linux that some of their softwares aren’t going to be Open source.

Read the rest of this entry »

Ok, Many first Time Linux Users Are very confused on how to actually install programs in Linux Distribution. Through This Post I hope to provide a Complete guide To on how to install .gz , .bz and RPM files in any Linux distribution.

Why Is It made This Way In Linux??

Most First TIme Users Think That Linux is “Not That Good” becuase it doesnt just have pre compiled Installation setup files. But This is far from reality you see, Linux is about freedom of choice, so even in installing programs we can customize the program before we actually use it. And also because of this method of compiing installation files on your local computer, it makes almost any program able to run on any Distribution of Linux.


Read the rest of this entry »