Skip to main content

Bug on Bind (named) when restoring an account

Comments

7 comments

  • cPRex Jurassic Moderator

    Hey there!  This is related to a known issue our team is working on under case ZC-12388, where the DNS data gets out of sync.  We have a fix in place, and it's going through final testing now so it will be included in all versions of 126 and it's scheduled to get backported to 124.

    In the mean time, you can run this command to clean up the DNS on the server:

    /scripts/cleandns -v -r

     

    1
  • Rogerio Vitiello

    Hi cPRex, glad to know that will be a fix soon.

    Thank you!

    0
  • cPRex Jurassic Moderator

    You're welcome!

    0
  • Rogerio Vitiello

    cPRex just one question: it's safe to run

    /scripts/cleandns -v -r

    anytime? It will recreate the named.conf file with the actual zones? I have >150 in production.

    I ran "named-checkconf -z" today and realized some entries removed several months ago. It just alerts "zone not found" (.db file) but does not impact. I removed them manually.

    0
  • cPRex Jurassic Moderator

    As with any change, it's best to run it during non-peak hours just in case, but I wouldn't expect this to cause any issues.  Yes, this will recreate named.conf, although so does adding or deleting any record, in theory.

    You can take a backup of /etc/named.conf first just in case as well.

    0
  • Rogerio Vitiello

    Ok, sure, non-peak hours. I'll take a copy of named.conf before.

    Thanks.

    0
  • cPRex Jurassic Moderator

    You're very welcome!

    0

Please sign in to leave a comment.