I purchased the domain from AWS Route 53 and registered with the AWS Name Server.
I set the DNS server address of my PC to 18.104.22.168 and tried to find my subdomain registered with the AWS name server with the nslookup command.
But there is a ‘non-existent domain’ error.
After the error occurred, I changed the DNS name server address to 22.214.171.124 and checked it again, and I was able to find the domain normally.
I have searched around for an answer to this, and do not seem to be able to find a suitable answer.