can u check an ip based from domain in this variable? when I try to match a fqdn in this variable with an if statement, I get the proper result. If it try to match an ip, I do not get a result if($fd == "XXX.XXX.XXX.XXX") { do this;} does not work if($fd == "abc.com") {do this;} does work any thoughts?