Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    force DNS slave zone to retransfer

    DHCP and DNS
    2
    2
    47
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SBW1 last edited by SBW1

      Hi how do I force a slave zone to retransfer? If I run
      rndc retransfer <zone name>
      it gives me this:

      rndc: 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,
      • the clocks are not synchronized,
      • the key signing algorithm is incorrect, or
      • the key is invalid.
      1 Reply Last reply Reply Quote 0
      • kiokoman
        kiokoman LAYER 8 last edited by kiokoman

        i think you need the -k options
        rndc -k /path/to/rndc.key retransfer <zone name>

        i have installed it on my 2.5.0-devel just to test it

        [2.5.0-DEVELOPMENT][root@pfSense.localdomain]/cf/named/etc/namedb: rndc -k rndc-key zonestatus test.home
        name: test.home
        type: master
        files: /etc/namedb/master/trusted/test.home.DB
        serial: 2581012914
        nodes: 2
        last loaded: Thu, 06 Feb 2020 18:23:59 GMT
        secure: no
        dynamic: yes
        frozen: no
        reconfigurable via modzone: no
        

        the key is inside /cf/named/etc/namedb/rndc.conf

        i just copied the key part inside a new file to use it with rndc
        the content of my rndc-key is

        key "rndc-key" {
                algorithm hmac-sha256;
                secret "blablablablablalbalblsablalblablaalbalablabala";
        };
        

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post