My lab VM can not lookup the hostname. When I run the nslookup, I can the query refuse error as below screenshot:
This is due to my DNS server ( 10.0.1.101) only allow the localhost to query.
The configure parameter is set at named.conf.
Fix the option and bounce the DNS service ( named) to make it effective.