SyntaxFix
Write A Post
Hire A Developer
Questions
If dns_get_record() fails, it should return FALSE, so you can suppress the warning with @ and then check the return value.
dns_get_record()
FALSE
@