-
Notifications
You must be signed in to change notification settings - Fork 12
Setup: bind
drkitty edited this page Dec 29, 2014
·
2 revisions
- Debian:
bind9 - Fedora, Arch:
bind
-
Start
named(using systemctl or whatever) -
Generate
/etc/rndc.key:
```
SPECIAL WARNING: Make sure your bind config is set up to allow underscores in hostnames, or else the check-name validation can cause bind to ignore entire zone files.
$ ./manage.py maintain_migrate -b
[snip]
rndc: error: open: /etc/rndc.key: permission denied
rndc: could not load rndc configuration
Failed to reload rndc. Do you have permission?
This error is raised because you don't have read access to /etc/rndc.key.
sudo when using the -b flag.
-
Determine
/etc/rndc.key's group:
$ ls -l /etc/rndc.key -rw-r----- 1 root named 77 Jun 13 23:01 /etc/rndc.key ```
On my system it's `named`.
-
Give
rndcthe same group:
```
-
Make
rndcsetgid
```