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.

Synchronize DNS fails (bug report)

Discussion in 'Bind / DNS / Nameserver Issues' started by uadm, May 30, 2003.

  1. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    There's a bug in /scripts/dnstransfer.
    This script would be used if you run 2 cpanels servers configured as primary and secondary ns servers.
    Its job is to " Synchronize DNS Records With Primary Nameserver " it does that by using scp to transfer named conf file.

    Scp fails at this line in the script:
    system("scp -o \"Protocol 1,2\" $dnsmaster:/etc/named.conf /etc/named.conf.dnstransfer");

    A quick work around is to change the line to:
    system("scp -o \"Protocol 1,2\" $dnsmaster:/etc/named.conf /etc/named.conf.dnstransfer 2>/dev/null");


    further more if the file /etc/named.conf.dnstrasnfer exist the user is mistakenly presented with a success transfer. The script does not delete this file at the end of its run.


    I hope to see it fixed in next release


    HTH
    -G

    cPanel.net Support Ticket Number:
     
    #1 uadm, May 30, 2003
    Last edited: May 30, 2003
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    Have you submitted an actual bug report to DarkOrb? If not they probably won't see this.

    cPanel.net Support Ticket Number:
     
  3. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    I just did. Thanks.

    cPanel.net Support Ticket Number:
     
  4. uadm

    uadm Well-Known Member

    Joined:
    May 19, 2003
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    6
    Do you mean the bug report forum in cpanel site under support?

    cPanel.net Support Ticket Number:
     
  5. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
Loading...

Share This Page