Yearly Archives: 2010

Bind Stats in Centos/RHEL5

Just a lit­tle tip, if your look­ing for bind stats and your chrooted will give you All you have to do is Now after you run rndc stats your named.stats fill will be pop­u­lated with information.

Clear DNS Cache in Linux

Had a slightly vex­ing issue the other day. Dur­ing a migra­tion the des­ti­na­tion host ended up caching some stale DNS entries. I tried a quick restart of nscd to no avail, rebooted the VM, again no joy. Even over­rid­ing the host in /etc/hosts wasn’t work­ing. Took a few min­utes of dig­ging but what did work was

Growing a root file system

IMHO one of the great ben­e­fits of vir­tu­al­iza­tion is the abil­ity to prop­erly size your guests. Many times 512M mem­ory and an 8G / is plenty. Increas­ing mem­ory for a vir­tual machine is typ­i­cally pretty straight for­ward, but there are sev­eral options when adding disk space. Mount­ing the space in the file sys­tem and doing

CheckDomain Zenpack

No one likes to for­get to renew a domain. Its not wholly uncom­mon though. Microsoft for­got to renew passport.com in 1999, and hotmail.co.uk in 2003. Vivendi Uni­ver­sal for­got to renew its MP3.com in 2003, the Wash­ing­ton Post for­got to renew in 2004, and Foursquare for­got to renew their domain in 2010. I stum­bled on the check_domain

Nginx stub_status Zenpack

Nginx is a great lit­tle web server. I have posted pre­vi­ously about using it as a reverse proxy. Weather your using it as a reverse proxy or as a nor­mal web­server you will prob­a­bly even­tu­ally want to know what its doing over time so you can adjust resources as nec­es­sary. The other day I threw