Version 6 (modified by mitty, 15 years ago) (diff) |
---|
disable ipv6
- BIND9のIPV6絡みで発生するエラーと遅延の解決方法 - 知識の泉ちゃん
- 具体的には、以下のようにnamed起動時のオプションに「-4」を指定します。
- man named
-4 Use IPv4 only even if the host machine is capable of IPv6. -4 and -6 are mutually exclusive.
- Ubuntu => /etc/default/bind9
logging
DHCPとの連携
journal file error
- /var/log/named.log
Nov 8 09:57:43 iqus named[22728]: journal file /etc/bind/db.local.mitty.jp.jnl does not exist, creating it Nov 8 09:57:43 iqus named[22728]: /etc/bind/db.local.mitty.jp.jnl: create: permission denied Nov 8 09:57:43 iqus named[22728]: client 192.168.0.254#47526: updating zone 'local.mitty.jp/IN': error: journal open failed: unexpected error
- ls -ld /etc/bind
drwxr-sr-x 3 root bind 4096 2009-11-07 21:05 /etc/bind
- sudo chmod g+w /etc/bind