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 Read More…
Month: October 2012
“Warning: Parameter 1 to” “expected to be a reference, value given in”
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: Read More…
How do I get my public IP address on the UNIX CLI ?
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 Read More…
You must be logged in to post a comment.