October, 2012

Check an SPF record from your own server (CLI)

October 25, 2012 Jordansphere FreeBSD

OS: FreeBSD/Centos From the CLI type nslookup Then press Enter -> and type the following set type=txt  Press Enter -> Finally enter the domain name you want to check (eg gmail.com in this case) gmail.com Output: Server: 127.0.0.1 Address: 127.0.0.1#53 Non-authoritative answer: gmail.com text = “v=spf1 redirect=_spf.google.com” Authoritative answers can be found from: gmail.com nameserver […]

More

“Warning: Parameter 1 to” “expected to be a reference, value given in”

October 24, 2012 Jordansphere Linux

We just upgraded an old Joomla website from PHP 5.2 from PHP 5.3 and got Warnings in a few pages   The line of code that was spitting out the error was:   if (method_exists($this, $event)) { return call_user_func_array ( array($this, $event), $args ); } else {   Adding a @ sign fixed the issue: […]

More

How do I get my public IP address on the UNIX CLI ?

October 17, 2012 Jordansphere FreeBSD

I’ve deployed a Centos server and wanted to make sure I was going out through the correct IP address. With a windows machine I would just use something like www.whatismyip.com. However, with only the CLI  this isnt possible. Having a POP3 server external to this device I just popped the  mail server to get the […]

More

Powered by WordPress. Designed by elogi.