Bind / Named in a container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

regen-bind-key 134 B

6 years ago
123456
  1. #!/bin/bash
  2. # reconfigure bind - regenerates secret keys
  3. if [ ! -f /etc/bind/rndc.key ]; then
  4. rndc-confgen -a -r /dev/urandom
  5. fi