libnetjoin: identify type of domain early.