resolv.conf cannot be validated on PTA
134
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 12:56 PM
Symptom
When running
RUN_DIAGNOSTICS
on a PTA server, you get the following error:
./tasks/PTA/task059. sh - [P061] Verifying resolv.conf file validity... [ FAIL ] (Make sure /etc/resolv.conf file defined correctly)
Environment
9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10 PTA
Cause
The resolv.conf file goes through strict validation to ensure it is valid, and to confirm it is valid it must adhere to:
ONE search
AT LEAST one nameserver
Resolution
Ensure your /etc/resolv.conf file meets the validation requirement, an example is below:
cat /etc/resolv.conf
search cyberark.local nameserver 10.0.0.50 nameserver 10.0.0.51