Need help?

Our experts have had an average response time of 13.52 minutes in October 2021 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

Dnsadmin failed to answer a request – Let’s fix it

by | Oct 16, 2021

Stuck with, Dnsadmin failed to answer a request? We can help you.

Here, at Bobcares, we assist several of our customers with such errors as part of our Server Management Services.

Today, let us see how our Support Techs fix this for our customers.

 

Dnsadmin failed to answer a request

Most often, we receive this error while we use AutoSSL to acquire SSL certificates. The error message will look like the following:

get_zones_for_domains(): dnsadmin failed to answer a request that it
accepted. at /usr/local/cpanel/Cpanel/DnsUtils/AskDnsAdmin.pm line 130.
Failed to begin “cpaneluser”’s DCV: Can’t use string (“0”) as an
ARRAY ref while “strict refs” in use at
/usr/local/cpanel/Cpanel/SSL/Auto/Run/CAA.pm line 69.

To verify the DNS zones for the domains allocated to the account, we can use the cPanel’s AutoSSL feature.

Suppose, if a zone is corrupted, it can cause the response in cPanel DNSAdmin to fail.

If the DNS request fails, the DNSAdmin log “/usr/local/cpanel/logs/dnsadmin_log” will return similar errors:

[2021-10-08 20:56:07 -0400] info [dnsadmin] Accepted connection on fd=5
Can’t call method “rdata” on an undefined value at
/usr/local/cpanel/Cpanel/NameServer/Utils.pm line 138.
…propagated at whostmgr/bin/dnsadmin.pl line 608.
Can’t call method “rdata” on an undefined value at
/usr/local/cpanel/Cpanel/NameServer/Utils.pm line 138.
…propagated at whostmgr/bin/dnsadmin.pl line 608.

Moving ahead, let us see how our Support Techs fix this error.

Initially, we need to check the DNS zones on the account to determine if any zones return errors:

named-checkzone domain.com /var/named/domain.com.db

We perform this check for all domains on the account to determine the presence of any corrupt DNS zones.

Now, we need to address the errors in the zone files or backup the zone and then perform a reset.

  • Reset a DNS zone file

To reset a DNS zone file, we can either go to the WHM interface DNS Zone Manager or use the WHM API 1 Functions – resetzone.

To make this change using the interface, our Support Techs perform the following steps:

  1. First, we click Manage for the domain that we want to modify. It will open a new interface.
  2. Here, above the zone record table, we click Actions.
  3. Then, from the menu, we can select Reset DNS Zone. We will now see a confirmation window.
  4. Finally, we click Continue to reset the domain’s DNS zone file, or click Cancel.

In case we want to reset a large number of zone files our Support Techs advise automating this process using the API tool.

In cPanel versions 94 or earlier, we can perform this task through the WHM interface Reset a DNS Zone instead.

However, make note that, resetting a zone can result in missing DNS records. So we prefer this only if we cannot repair the DNS zone errors.

[Need further assistance? We are here for you]

 

Conclusion

In short, we saw how our Support Techs fix the cPanel DNS error for our customers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF