The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED DNS: Cpanel::DnsUtils::_add_error: Conflicting record

Discussion in 'Bind / DNS / Nameserver Issues' started by bloatedstoat, Nov 26, 2016.

Tags:
  1. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    98
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Hello,
    We've recently begun sorting IPV6 on our server. I've begun by adding all of the shared accounts to the shared IPV6 address.

    When adding a domain which has domain aliases the following error is thrown and appears in our logs. Is it anything to be concerned about?

    Code:
    [2016-11-25 16:32:19 +1100] warn [xml-api] Cpanel::DnsUtils::_add_error: Conflicting record "mail.aliased-domain.com" found in zone "aliased-domain.com" at /usr/local/cpanel/Cpanel/DnsUtils.pm line 674, <$socket> line 20.
    
    Cpanel::DnsUtils::_add_error(ARRAY(0x7170b30), "Conflicting record \"mail.aliased-domain.com\" found in zon"...) called at /usr/local/cpanel/Cpanel/DnsUtils.pm line 562
    
    Cpanel::DnsUtils::install_records("TXT", ARRAY(0x2fe1838), ARRAY(0x7038270), undef, ARRAY(0x716e268), undef, undef) called at /usr/local/cpanel/Cpanel/DnsUtils.pm line 687
    
    Cpanel::DnsUtils::install_txt_records(ARRAY(0x2fe1838), ARRAY(0x7038270), undef) called at /usr/local/cpanel/Cpanel/SPF.pm line 266
    
    Cpanel::SPF::setup_spf("user", "__MAIN_ACCOUNT_USERNAME__") called at /usr/local/cpanel/Cpanel/IPv6/ApiSupport.pm line 161
    
    Cpanel::IPv6::ApiSupport::enable_ipv6_for_single_user("__MAIN_ACCOUNT_USERNAME__", "SHARED") called at /usr/local/cpanel/Cpanel/IPv6/ApiSupport.pm line 59
        eval {...} called at /usr/local/cpanel/Cpanel/IPv6/ApiSupport.pm line 59
    
    Cpanel::IPv6::ApiSupport::enable_ipv6_for_user("__MAIN_ACCOUNT_USERNAME__", "SHARED") called at /usr/local/cpanel/Whostmgr/API/1/IPv6.pm line 32
    
    Whostmgr::API::1::IPv6::ipv6_enable_account(HASH(0x2e6e6f0), HASH(0x6666e78), HASH(0x64f2160)) called at whostmgr/bin/xml-api.pl line 2877
    whostmgr::bin::xml_api::__ANON__(HASH(0x6666e78), HASH(0x2e6e6f0), HASH(0x64f2160), CODE(0x5523f70)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 217
    Whostmgr::API::1::Data::Wrapper::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
    eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
    
    Try::Tiny::try(CODE(0x59cda40), Try::Tiny::Catch=REF(0x667c198)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 236
    
    Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x5a634b0), HASH(0x2e6e6f0), HASH(0x64f2160), HASH(0x5a42838), CODE(0x5523f70)) called at whostmgr/bin/xml-api.pl line 3028
    whostmgr::bin::xml_api::runapp("ipv6_enable_account", HASH(0x64f2160), HASH(0x2e87908), 0, CODE(0x5523f70)) called at whostmgr/bin/xml-api.pl line 2810
    whostmgr::bin::xml_api::script(CODE(0x5523f70), "-json", "./ipv6_enable_account") called at whostmgr/bin/xml-api.pl line 2764
    Additionally, the "Assign IPV6 Address" tool under "IP Functions" in WHM when used, modifies the current DNS records we have set up for www. and mail. from A records to CNAME records. As such when we test SPF on MX Toolbox it throws an error for mail.domain.com - expecting SPF found CNAME. We prefer the A records as it only takes one lookup as opposed to two and so now we're having to plough through all of the updated records to change them back individually *yawn*.

    Any way around this so that current records are not updated when merely adding a AAAA using the tool above?

    Thanks.
     
  2. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    98
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Actually errors are being thrown even with domains that have no aliases:

    Code:
    [2016-11-27 08:45:42 +1100] warn [cpsrvd] The subprocess (whostmgr (whostmgr10)) exited with an error: The subprocess ended prematurely because it received the “SEGV” (11) signal. at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 156.
        Cpanel::Server::Handlers::SubProcess::_report_subprocess_errors(Cpanel::Server::Handlers::SubProcess=HASH(0x3abe378)) called at /usr/local/cpanel/Cpanel/Server/Handlers/SubProcess.pm line 71
        Cpanel::Server::Handlers::SubProcess::handler(Cpanel::Server::Handlers::SubProcess=HASH(0x3abe378), "subprocess_name", "whostmgr (whostmgr10)", "subprocess_read_handle", IO::Handle=GLOB(0x3abdf60), "subprocess_write_handle", IO::Handle=GLOB(0x3abe080), "api_type", "html", ...) called at cpsrvd.pl line 6433
        cpanel::cpsrvd::cpHandler("app", "whostmgr", "json", 0, "document", "./scripts10/roothtml") called at cpsrvd.pl line 5646
        cpanel::cpsrvd::dodoc_whostmgrd() called at cpsrvd.pl line 1586
        cpanel::cpsrvd::dodoc(HASH(0x139c930)) called at cpsrvd.pl line 1291
        cpanel::cpsrvd::handle_one_connection() called at cpsrvd.pl line 836
        cpanel::cpsrvd::script() called at cpsrvd.pl line 319
    
    [2016-11-27 08:49:55 +1100] warn [xml-api] Cpanel::DnsUtils::_add_error: Conflicting record "mail.domain-name.com" found in zone "domain-name.com" at /usr/local/cpanel/Cpanel/DnsUtils.pm line 674, <$socket> line 5.
        Cpanel::DnsUtils::_add_error(ARRAY(0x6941b20), "Conflicting record \"mail.domain-name.com\" found in zon"...) called at /usr/local/cpanel/Cpanel/DnsUtils.pm line 562
        Cpanel::DnsUtils::install_records("TXT", ARRAY(0x2fe1838), ARRAY(0x6941df0), undef, ARRAY(0x6941ee0), undef, undef) called at /usr/local/cpanel/Cpanel/DnsUtils.pm line 687
        Cpanel::DnsUtils::install_txt_records(ARRAY(0x2fe1838), ARRAY(0x6941df0), undef) called at /usr/local/cpanel/Cpanel/SPF.pm line 266
        Cpanel::SPF::setup_spf("user", "account_username") called at /usr/local/cpanel/Cpanel/IPv6/ApiSupport.pm line 161
        Cpanel::IPv6::ApiSupport::enable_ipv6_for_single_user("account_username", "SHARED") called at /usr/local/cpanel/Cpanel/IPv6/ApiSupport.pm line 59
        eval {...} called at /usr/local/cpanel/Cpanel/IPv6/ApiSupport.pm line 59
        Cpanel::IPv6::ApiSupport::enable_ipv6_for_user("account_username", "SHARED") called at /usr/local/cpanel/Whostmgr/API/1/IPv6.pm line 32
        Whostmgr::API::1::IPv6::ipv6_enable_account(HASH(0x2e6e6f0), HASH(0x5124fc8), HASH(0x561f260)) called at whostmgr/bin/xml-api.pl line 2877
        whostmgr::bin::xml_api::__ANON__(HASH(0x5124fc8), HASH(0x2e6e6f0), HASH(0x561f260), CODE(0x57248f0)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 217
        Whostmgr::API::1::Data::Wrapper::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
        Try::Tiny::try(CODE(0x52db3e8), Try::Tiny::Catch=REF(0x61ab1a8)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 236
        Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x56df3a8), HASH(0x2e6e6f0), HASH(0x561f260), HASH(0x5d637e0), CODE(0x57248f0)) called at whostmgr/bin/xml-api.pl line 3028
        whostmgr::bin::xml_api::runapp("ipv6_enable_account", HASH(0x561f260), HASH(0x2e87908), 0, CODE(0x57248f0)) called at whostmgr/bin/xml-api.pl line 2810
        whostmgr::bin::xml_api::script(CODE(0x57248f0), "-json", "./ipv6_enable_account") called at whostmgr/bin/xml-api.pl line 2764
    
    [2016-11-27 08:49:57 +1100] warn [xml-api] The system was unable to update SPF records for “account_username”: Cpanel::DnsUtils:562: Conflicting record "mail.domain-name.com" found in zone "domain-name.com" at /usr/local/cpanel/Cpanel/IPv6/ApiSupport.pm line 76, <$socket> line 7.
        Cpanel::IPv6::ApiSupport::enable_ipv6_for_user("account_username", "SHARED") called at /usr/local/cpanel/Whostmgr/API/1/IPv6.pm line 32
        Whostmgr::API::1::IPv6::ipv6_enable_account(HASH(0x2e6e6f0), HASH(0x5124fc8), HASH(0x561f260)) called at whostmgr/bin/xml-api.pl line 2877
        whostmgr::bin::xml_api::__ANON__(HASH(0x5124fc8), HASH(0x2e6e6f0), HASH(0x561f260), CODE(0x57248f0)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 217
        Whostmgr::API::1::Data::Wrapper::__ANON__() called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 80
        eval {...} called at /usr/local/cpanel/3rdparty/perl/522/lib64/perl5/cpanel_lib/Try/Tiny.pm line 71
        Try::Tiny::try(CODE(0x52db3e8), Try::Tiny::Catch=REF(0x61ab1a8)) called at /usr/local/cpanel/Whostmgr/API/1/Data/Wrapper.pm line 236
        Whostmgr::API::1::Data::Wrapper::execute_internal(CODE(0x56df3a8), HASH(0x2e6e6f0), HASH(0x561f260), HASH(0x5d637e0), CODE(0x57248f0)) called at whostmgr/bin/xml-api.pl line 3028
        whostmgr::bin::xml_api::runapp("ipv6_enable_account", HASH(0x561f260), HASH(0x2e87908), 0, CODE(0x57248f0)) called at whostmgr/bin/xml-api.pl line 2810
        whostmgr::bin::xml_api::script(CODE(0x57248f0), "-json", "./ipv6_enable_account") called at whostmgr/bin/xml-api.pl line 2764
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,280
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @bloatedstoat,

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
  4. bloatedstoat

    bloatedstoat Well-Known Member

    Joined:
    Jun 14, 2012
    Messages:
    98
    Likes Received:
    8
    Trophy Points:
    8
    Location:
    Victoria, Australia
    cPanel Access Level:
    Root Administrator
    Thank you.
    Ticket #8024561
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,280
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    To update, per the support ticket, the IPv6 ranges were able to be successfully added. The additional alias entry for "mail" was unrelated, and associated with an issue where "mail.domain.tld" subdomains were added automatically during the update to cPanel version 60 and converted into parked, addon, and subdomains. Internal case CPANEL-9337 implements a change that will detect which domains were incorrectly upgraded, and then reset the userdata and cpuser data files for the affected users. I'll update this thread once that case is published.

    Thank you.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,037
    Likes Received:
    1,280
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page