Failed to validate args in method GAP::Dns::record_update - cPanel issue

POSTED ON 01, Sep 2018 By John

Recently I needed to verify my domain with Google's Firestore to allow custom domain on emails sent by the app. I headed to the cPanel to update the TXT and CNAME records as instructed by Google.  That is where I encountered an issue  Failed to validate args in method GAP::Dns::record_update. A quick internet search proved futile with many having the same issue and hosting companies providing generic answers or telling users to talk to their tech support.  The problem is, most tech support response was that it is not possible to do so. 

While tinkering with different settings, I accidentaly came across a fairly easy solution. This will only work if you have access to a WebHost Manager (WHM) account. Usually if you have a VPS package with your hosting and can be accessed on port 2086 of your domain ( 

  1. Login to your cPanel and navigate to the domain's DNS editor.
  2. Enter the host record but remove any underscores in the field "Points To:" then click "add record". The record should save successfully. 
  3. Login to your WHM and navigate to "edit DNS Zone"
  4. Select the domain you are working on and click "edit" 
  5. Scroll down to the record you just entered in cPanel DNS editor and overwrite the "Points To: " record with the correct one including the underscores.
  6. Save and go back to cPanel and reload to verify that the settings updated 

DNS changes can take up to 4 hours for propagation but in most cases, I have seen the changes take only 10 - 20 minutes. 

Contact us today for any domain and hosting solutions. We provide a complete package of domain, WHOIS guard, SSL certificates, secure FTP (SFTP) and SSH access. Use our contact form or send email to  info[@]


About John

John is a co-founder and a lead developer at A&M Digital Technologies. He is a tech enthusiast who has a vast experience with server and client side web applications development. Favorite languages include PHP, JavaScript and Python. Frameworks include Laravel, CodeIgnitor, Ionic and Flask. Website