Client Error on Chef on ubuntu linux 18

I am using a development environment on ubuntu linux running Chef and successfully installed it on the ubuntu server after running the details as requested for checking I ran the command
--- ```
chef-server-ctl install chef-manage

Received the error message 

Running handlers complete
Chef client failed. 0 resources updated in 03 minutes 58 sec
Fatal: stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
Fatal: Please provide the contents of the stacktrace.out file if you file a bug report
Fatal: SocketError: getaddrinfo: Temporary failure in name resolution
Fatal: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
Fatal: Please provide the contents of the stacktrace.out file you file a bug report
Fatal: SocketError: gataddrinfo: Temporary failure in name resolution 

Any help will be appreciated

Warmest Rgds

Hi there! To me that sounds like perhaps a DNS problem. Are you able to resolve the domains that you reference? The domains that are problematic might be outlined specifically in that stacktrace.

The system is on a dev environment and not on public what's the syntax to get the local DNS list there is only one name chef.ubuntu.com

warmest rgds

You can set a local resolution of the domain in /etc/hosts on the server itself:
http://manpages.ubuntu.com/manpages/trusty/man5/hosts.5.html