finish the method of add nameservice