27 Mar, 2009 in Apache by admin

For files identified as text/.* MIME types, compression can be applied to the file prior to placing it on the wire. This simultaneously reduces the number of bytes transferred and improves performance. Testing also has shown that Microsoft Office, StarOffice/OpenOffice and PostScipt files can be GZIP-encoded for transport by the compression modules.
Some important MIME types [...]

27 Mar, 2009 in Apache by admin

First make sure that you are loading mod_deflate.so, this line should be at the top of your httpd.conf file and is usually loaded by default.
LoadModule deflate_module libexec/apache22/mod_deflate.so
Mod Deflate Settings
Second create a new config file to keep the deflate options in.
# ee /usr/local/etc/apache22/Include/mod_deflate.conf
This file will be included in the main httpd.conf file. Inside the file add [...]

27 Mar, 2009 in Apache by admin

 Mod Deflate comes built into Apache, but is not enabled by default. This tutorial will explain the simplest way of enabling it and setting which mime times to compress. Mod Deflate will increase your server load, but decreases the amount of time that clients are connected and can usually reduce the page size by 60 [...]

24 Mar, 2009 in DNS by admin

This section describes the use of the acl (Access Control List) clause available in BIND 9.x named.conf. The ‘acl’ clause allows fine-grained control over what hosts or users may perform what operations on the name server.
acl clause syntax
acl acl-name {
address_match_list
};
acl’s define a address_match_list e.g. IP address(es), which are then referenced (used) in a [...]

24 Mar, 2009 in DNS by admin

Assuming you have updated the ports-dns collection proceed as normal:
cd /usr/ports/dns/bind9
make install clean
The above sequence installs BIND9 in /usr/local/sbin and the tools in /usr/local/bin and assumes the named.conf file is in /usr/local/etc.
If you want to run BIND9 at startup you must edit /etc/rc.conf as follows:
# add following line if not present
named_enable=”YES”
# the line below must [...]

24 Mar, 2009 in DNS by admin

Administrative tools play an integral part in the management of a server.

named-checkconf
The named-checkconf program checks the syntax of a named.conf file. 

named-checkconf [-jvz] [-t directory] [filename]

named-checkzone
The named-checkzone program checks a master file for syntax and consistency. 

named-checkzone [-djqvD] [-c class] [-o output] [-t directory] [-w directory] [-k (ignore|warn|fail)] [-n(ignore|warn|fail)] [-W (ignore|warn)] zone [filename]

named-compilezone
Similar to named-checkzone, but it always dumps the zone content to a specified file (typically in a different format). 

rndc
The remote name daemon control (rndc) [...]

24 Mar, 2009 in DNS by admin

This section describes several indispensable diagnostic, administrative and monitoring tools available to the system administrator for controlling and debugging the name server daemon.

Diagnostic Tools

The dig, host, and nslookup programs are all command line tools for manually querying name servers. They differ in style and output format.

dig
The domain information groper (dig) is the most versatile and complete of these lookup [...]

24 Mar, 2009 in DNS by admin

Hardware Requirements

DNS hardware requirements have traditionally been quite modest. For many installations, servers that have been pensioned off from active duty have performed admirably as DNS servers.
The DNSSEC features of BIND 9 may prove to be quite CPU intensive however, so organizations that make heavy use of these features may wish to consider larger systems for these applications. BIND 9 is fully [...]

23 Mar, 2009 in DNS by admin

Before we start, you will need a linux box with ISC-BIND installed. For this tutorial I will be using CentOS 4.4 with the following packages installed.

bind-9.2.4-24.EL4
bind-chroot-9.2.4-24.EL4
bind-libs-9.2.4-24.EL4
bind-utils-9.2.4-24.EL4
caching-nameserver-7.3-3

If you are using CentOS or any other linux that uses YUM (Yellowdog Updater Modified) package management you can install the packages by using the following command:
yum install bind bind-chroot bind-libs bind-utils caching-nameserver
If your [...]

22 Mar, 2009 in Linux by admin

The init program of Linux -also known as process control initialization, is in charge of starting all the normal and authorized processes that need to run at boot time on your system. These may include the APACHE daemons, NETWORK daemons, and anything else that must be running when your machine boots. Each [...]