In order to have a proper name resolution in PAM, please make sure that:
In the "Configuration / Network / Network Settings" the 'DNS Servers' box has the correct DNS Server there. One or more DNS servers (one per line to a maximum of three lines). The appliance only considers the first three entries due to restrictions on the underlying OS.
Then you can use the Configuration / Tools" section to validate and test network resolution