I ran lynis the other day and found this warning output:
Performing test ID NAME-4028 (Check domain name)
Test: Checking if dnsdomainname command is available
Result: dnsdomainname command returned no value
Result: using domain name from FQDN hostname (maxpc)
Suggestion: Check DNS configuration for the dns domain name [test:NAME-4028] [details:-] [solution:-]
I tried to solve it, however the command
gave no output.
Lynis also says:
Check DNS configuration for the dns domain name [NAME-4028]
Lynis control NAME-4028: DNS domain name - CISOfy
How do I fix this warning in lynis?