domain name

I get following error message for my postfix email server: “Mail Delivery Failed With DNS Service Unavailable Error and Solution”. How do I fix this problem?


Q. In Windows XP / 2000 / Vista ipconfig /all command will show me DNS server and DHCP server ip address. But, how to know DHCP server address in Linux? A. The DHCP protocol allows a host to contact a central server which maintains a list of IP addresses which may be assigned on one […]


Q. How do I configure lighttpd web server as virtual host for serving multiple web site from a single public IP address (name-based virtual hosting)? A. Virtual hosting is a method that servers such as webservers use to host more than one domain name on the same server, sometimes on the same IP address. There […]

{ 1 comment }

Q. Under Windows Server 2003 I can use active directory domain tools to get information about current domain and hostname. Can you tell me command to list current domain name and hostname under Red hat enterprise Linux 5? A. Both Linux / UNIX comes with the following utilities to display hostname / domain name: a) […]


Q. How do I check my domain zone file for error and validity the same under BIND DNS Server version 9? A. You need to use named- checkzone command as zone file validity checking tool. It is useful for checking zone files before configuring them into a name server. named-checkzone command syntax named-checkzone {zonename} {filename} […]


I‘m writing a wrapper bash shell script that will get the last argument (a domain name) from the command line into a shell variable called $_domain. I need to find all other parameters before last parameter in $@ and stored in a shell variable called $allargs. So that I can pass them as follows:

/path/to/real/binary “$allargs” “$_domain”

How do I do this using bash shell under Unix like operating systems?