[PATCH] dnsapi: Use the ARRAY_SIZE() macro