Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 20
  1. #1
    DCH
    DCH is offline
    Member
    Join Date
    May 2006
    Posts
    14

    Default DNS zones not reloading...

    Is anyone else having this problem...

    When copying multiple accounts via WHM between two DNS clustered servers....

    the IP in the zone gets updated properly. However, named doesn't seem to be reloading the updated zone.

    I have to edit the zone - and save without changes. At that point, the IP change takes effect.

    Anyone have this problem and know how to fix it?

    Thanks!

  2. #2
    Member
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    18

    Default

    I have the same issue since I updated to latest current.

    When calling the reload from perl with cPScript::DnsUtils::askdnsadmin("RELOADBIND",0,"domain.com");

    i get :

    Can't use string ("CentOS release 4.3 (Final)
    ") as an ARRAY ref while "strict refs" in use at /usr/local/cpanel/Cpanel/DNSLib.pm line 831.
    Bind reloading on server2 using rndc zone: [domain.com]

    it's not reloading the local zone, but it's working on the other server of the cluster (which isn't running the latest current)

    Anyone has a solution ?

  3. #3
    Member
    Join Date
    Oct 2005
    Posts
    9

    Default

    I'm also having the same issue, I have a ticket in with cPanel, so hopefully they will have a fix for this soon.

  4. #4
    BANNED
    Join Date
    Jul 2005
    Posts
    537

    Default

    Yep, that happens here on clustered Freebsd server too.

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge jackal's Avatar
    Join Date
    Feb 2002
    Posts
    708

    Default

    Having same issue on 5 servers we have tried so far /scripts/fixndc we do not have servers clustered but all have centos 3.7 to 4.3 on them
    Last edited by jackal; 05-16-2006 at 08:14 AM.

  6. #6
    Member
    Join Date
    Mar 2003
    Location
    Europe
    Posts
    18

    Default

    the issue seems to be only on CentOS : http://bugzilla.cpanel.net/show_bug.cgi?id=4155

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge jackal's Avatar
    Join Date
    Feb 2002
    Posts
    708

    Default

    Edge 100 still has the issue

    root@ [~]# /scripts/fixndc
    Can't use string ("CentOS release 3.7 (Final)
    ") as an ARRAY ref while "strict refs" in use at /scripts/cPScript/DNSLib.pm line 831.

  8. #8
    Member
    Join Date
    Aug 2005
    Posts
    31

    Default same problem, any way of sorting it out?

    I have the same issue. If anyone has a solution, please let us all know.

    Clients are adding domains daily and I have to manually reload bind.

    host 1:

    WHM 10.8.0 cPanel 10.8.2-C101
    CentOS 4.2 i686 - WHM X v3.1.0

    Host 2:

    WHM 10.8.0 cPanel 10.8.2-C101
    CentOS 3.7 i686 - WHM X v3.1.0

    Thanks.

  9. #9
    Registered User
    Join Date
    May 2006
    Posts
    1

    Default

    Following the directions I found on a bug ticket, I got our server working properly by commenting out the following line from the /scripts/cPScript/DNSLib.pm file.

    Code:
               return ($loc,(split(/\//,$loc))[$#${_}]) if wantarray;
    To read:

    Code:
    #           return ($loc,(split(/\//,$loc))[$#${_}]) if wantarray;
    Then I reloaded bind from WHM. Worked like a charm, and it fixed a major problem we had with a new domain account not resolving.

    Regards,

    CapTech

  10. #10
    Member
    Join Date
    May 2005
    Posts
    34

    Default

    Same problem here with lastest edge.. ;/

  11. #11
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Yup, a search in bugzilla will find you the entry I logged about this issue and the workaround I posted that CapTech has quoted above.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  12. #12
    Member
    Join Date
    Aug 2005
    Posts
    31

    Default workaround

    I applied the workaround and restarted bind in WHM. Now, when modifying records, it doesnt say that it's restarting bind on the clustered servers. How do i know it's helping at all?

    Thanks.

  13. #13
    Member
    Join Date
    May 2005
    Posts
    34

    Default

    chirpy: Yes, after editing both files mentioned in bugzilla it works .

  14. #14
    Member
    Join Date
    Aug 2005
    Posts
    31

    Default Thanks

    Thanks guys. Editing both files sorts it out, as Jonathan mentioned.

  15. #15
    Member Sergiu Tot's Avatar
    Join Date
    Jul 2007
    Location
    Cluj, Romania
    Posts
    63
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    I get the same error when I transfer an account from one web server (CentOS WHM 11.15.0 cPanel 11.17.0-R19434) to another one (FreeBSD WHM 11.15.0 cPanel 11.17.0-R19434).

    Code:
    Bind reloading on ro02 using rndc zone: [domain.ro]
    Changed all instances of [OLD_IP] -> [NEW_IP] in domain.ro.db
    Bind reloading on ro02 using rndc zone: [addondomain1]
    Changed all instances of [OLD_IP] -> [NEW_IP] in addondomain1.db
    Bind reloading on ro02 using rndc zone: [addondomain2]
    Changed all instances of [OLD_IP] -> [NEW_IP] in addondomain2.db
    Bind reloading on ro02 using rndc zone: [domain.ro]
    Changed all instances of [OLD_IP] -> [NEW_IP] in domain.ro.db
    Bind reloading on ro02 using rndc zone: [addondomain1]
    Changed all instances of [OLD_IP] -> [NEW_IP] in addondomain1.db
    Bind reloading on ro02 using rndc zone: [addondomain2]
    Changed all instances of [OLD_IP] -> [NEW_IP] in addondomain2.db
    I tried to modify the /scripts/cPScript/DNSLib.pm file on both CentOS and FreeBSD machine but the result is the same.

Similar Threads & Tags
Similar threads

  1. DNS cluster issues - BIND not reloading
    By xanthi in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 04-22-2011, 08:11 PM
  2. More effecient DNS loading/reloading
    By n8whnp in forum Archived Feature Requests
    Replies: 1
    Last Post: 03-12-2010, 02:22 PM
  3. Cluster DNS issue: remove redundant dns zones?
    By gundamz in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 08-27-2005, 12:37 PM
  4. Reloading Master DNS server
    By Imai in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-11-2003, 03:39 PM
  5. Edit a DNS Zones shows no zones
    By bambenek in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-01-2002, 09:14 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube