added DNS PHP functionality