Unable to resolve Perforce server host name 'perforce' for RPC connection

I am trying to integrate Perforce with Jenkins and getting an error after adding credentials and mapping the same in pipeline source code management >perforce software .Jenkins through error “Unable to resolve Perforce server host name ‘perforce’ for RPC connection”. I have followed Credentials for this activity.
Any expert who can help me here?

resolve is DNS. I would recommend talking to your network/IT team to see what needs to be done to make it resolvable.