-
Archives
- May 2012
- April 2012
- February 2012
- January 2012
- December 2011
- September 2011
- August 2011
- June 2011
- January 2011
- December 2010
- November 2010
- October 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- January 2009
- November 2008
- September 2008
- August 2008
- July 2008
- March 2008
- February 2008
- January 2008
-
Meta
Category Archives: Linux
Keeping the Root Hints Current
To keep the root hints file current, use the following command. $ dig @a.root-servers.net . ns > db.cache
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
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
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 invalid nameserver, nameserver, ns1, ns2
Leave a comment
Create thumbnails from image in one command
In Linux, issue this command $ convert -thumbnail 200 INPUT_FILE.png OUTPUT_FILE.png To convert into another image type, just change the output file extension — as simple as that! $ convert -thumbnail 200 INPUT_FILE.png OUTPUT_FILE.jpg For more information please visit Cyberciti.biz … Continue reading
How to remove .svn folder
Windows: Save the following to the folder to clean to a filename with a .cmd extension (cleansvn.cmd). After that issue the command, eg., C:\www>cleansvn for /f “tokens=* delims=” %%i in (‘dir /s /b /a:d *svn’) do ( rd /s /q … Continue reading
How To Copy a DVD/VCD Using Mplayer/Mencoder
Here’s the command: mencoder dvd://4 -oac copy -avc copy mencoder is the executable program dvd:// is the name of the input device 4 means the fourth track. You can omit this information to copy the whole disc. -oac copy means … Continue reading
Posted in Linux, Music
Leave a comment
Vi is misbehaving with my arrow keys!
(Note: The following blog entry is for Linux users and may not be of any use to Windows users. No discrimination intended.) In my earlier days, I always use nano as my editor of choice whenever I’m on a Linux … Continue reading