To simplify many things, including knowing you've actually set something correctly, instead of editing or adding a value in the directadmin.conf, you can very simply type: cd /usr/local/directadmin ./directadmin set name value restart for example: ./directadmin set dns_ttl 1 restart The 4th restart option is optional. You can omit it if you wish to restart yourself after setting other things. directadmin will exit code 0, with: name=value if it succeeds. Any errors will be non-zero, and output to stdout. Added June 21th 2019.