Category Archives: Linux

How to Refresh my DNS cached record?

Use OpenDNS free services by adding 208.67.222.222 and 208.67.220.220 on your /etc/resolv.conf. Go to http://www.opendns.com/support/cache/ then enter the website address.

Posted in Linux | Tagged , , | Leave a comment

How to list all users on a Linux machine?

 cat /etc/passwd | cut -d”:” -f1

Posted in Linux, Linux Administration | Tagged , | Leave a comment

Multiple SSL Certificate on Single IP

Follow the links: Virtual host examples from Apache website. http://httpd.apache.org/docs/2.0/vhosts/examples.html Turns out that it is possible to have multiple VirtualHosts on port 80 (Default http), but because of a limitation of SSL, we can’t have multiple VirtualHosts on port 443 … Continue reading

Posted in Apache2, Linux, Linux Administration | Tagged , , | Leave a comment

How to Unzip a .gz File

$ gzip -d compressed_file.gz

Posted in Linux | Tagged , | 1 Comment

Free Secondary DNS and Online DNS Tools

These free tools have been designed to validate and check the health of your public DNS servers. Free Secondary DNS for your domains. If your looking for another DNS to put your domain in, this is for you. Providing additional … Continue reading

Posted in Linux, Linux Administration | Tagged , , | 1 Comment

How to setup a primary nameservers on a dedicated server

Here are the steps: Locate named.conf and go to that folder. Add DNS entries for your nameserver. Edit the pri.yourname.com file for the domain you are adding nameservers for. Add these two lines at the bottom of the file: ns1 … Continue reading

Posted in Linux, Linux Administration | Tagged , , , | Leave a comment

Keeping the Root Hints Current

To keep the root hints file current, use the following command. $ dig @a.root-servers.net . ns > db.cache

Posted in Linux, Linux Administration | Tagged , , | Leave a comment

How to check your DNS configuration and zone files

If you are running BIND 9, you have handy new tools to help maintain your nameserver files: named-checkconf and named-checkzone. These tools reside in /usr/sbin or /usr/local/sbin. named-checkconf checks the configuration file for syntax errors. $ /usr/sbin/named-checkconf zonename db.local zone … Continue reading

Posted in Linux, Linux Administration | Tagged , , | Leave a comment

Installing your own DNS Server

This how-to assumes a Debian-type Linux server.  1)  Install BIND $ sudo apt-get install bind9 2)  Run BIND chrooted.  For security reasons we want to run BIND chrooted so we have to do the following: $ sudo /etc/init.d/bind9 stop Edit … Continue reading

Posted in Linux, Linux Administration | Tagged | Leave a comment

How to check if nameserver is valid (NS1.example.com, NS2.example.com)

A.  How to check if nameserver is valid $ dig ns com ;; ANSWER SECTION: com. 93009 IN NS a.gtld-servers.net. com. 93009 IN NS b.gtld-servers.net. com. 93009 IN NS c.gtld-servers.net. com. 93009 IN NS d.gtld-servers.net. com. 93009 IN NS e.gtld-servers.net. … Continue reading

Posted in Linux, Linux Administration | Tagged , , , | Leave a comment