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.

/scripts/makesecondary

Discussion in 'General Discussion' started by wmostrey, Dec 29, 2003.

  1. wmostrey

    wmostrey Member

    Joined:
    Dec 11, 2003
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    How do you call /scripts/makesecondary? When I run the script via cPanel's "Synchronize DNS Records with Primary Nameserver" it runs perfectly, but when I run it manually, I get the following error:

    [/scripts]# ./makesecondary
    ndc: connection to remote host closed
    This may indicate that the remote server is using an older version of
    the command protocol, this host is not authorized to connect,
    or the key is invalid.

    Do I need to add a value to the command?

    I want to have the DNS Records synced each X hours, with the Primary Nameserver.

    *edit*

    after a ./fixndc the error is now this:

    [/scripts]# ./makesecondary
    ndc: connect failed: connection refused
     
    #1 wmostrey, Dec 29, 2003
    Last edited: Dec 29, 2003
  2. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Run fixndc again. That script has to be run twice for some reason.
     
Loading...

Share This Page