dns: Add unique request ID allocator