Category Archives: Servers
-
BIND, NS Records, and CNAME’s
While troubleshooting sending email to a particular domain. I found that BIND would return a SERVFAIL for every query against that domain. This is an invalid and bad DNS configuration, as documented in: RFC2181 (10.3), RFC1912 (2.4). ; <<>> DiG 9.4.3-P2 <<>> dns2.example.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER< ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;dns2.example.com. IN A ;; ANSWER SECTION: dns2.example.com. 86400 IN CNAME ns2.example.com. ns2.example.com. 86400 IN A 192.0.2.4 ;; AUTHORITY SECTION: example.com. 86400 IN NS dns1.example.com. example.com. 86400 IN NS dns2.example.com. ;; Query time: …
-
How To Enable SSH method for installing Updates/Themes/Plugins in WordPress
I turned up my WordPress Blog today, and went to install a new theme, and the only option available was FTP. I don’t run FTP on my server, everything I do is via SFTP. I went searching and found this answer as to how to enable other methods for file upload in wordpress, including SFTP, and direct. To get SFTP working on my FreeBSD server it boiled down to this simple command to install the SSH2 PHP Extension. portmaster security/pecl-ssh2 And this one to restart apache: /usr/local/etc/rc.d/apache22 restart Direct file mode can be enable by following the recommendations here for …