15.08.2010, 04:55
You have to parse the output. It is period (or fullstop for you brits) separated so parse(sscanf) it by that. The problem is host name formats are non-standard so your best bet is banning by domain name by getting whats on the left and right of the last period.