????????????????????¨????°???¨??§????????°???????¨??????¬???????????°?????±??????????????§??????
[ANSWER SECTION]が表示されない |
|
- ????????? 2017/02/24 16:27
- ????????? stone/stone
-
1.不明点・障害内容:表題の通りです。bindは起動しましたがanswersectionが表示されません。
2.ログの有無 : (有:その内容) : ●named.confの編集 [root@server16:16:42named]$ cat named.conf // // /etc/named.conf - Dekiru Linux, June 2013 //
options { listen-on port 53 { 192.168.1.1; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; allow-transfer { localhost; 203.139.160.104; }; allow-query { localhost; 192.168.0.0/24; }; allow-recursion { localhost; 192.168.0.0/24; };
dnssec-enable yes; dnssec-validation yes; dnssec-lookaside auto;
/* Path to ISC DLV key */ bindkeys-file "/etc/named.iscdlv.key";
managed-keys-directory "/var/named/dynamic"; };
logging { channel default_debug { file "data/named.run"; severity dynamic; }; };
zone "." IN { type hint; file "named.ca"; };
include "/etc/named.rfc1912.zones"; include "/etc/named.root.key";
zone "dekiru.gr.jp" { type master; allow-query { any; }; file "dekiru.gr.jp"; };
zone "0.0.168.192.in-addr.arpa" { type master; allow-query { any; }; file "dekiru.gr.jp.rev"; }; ●正引き設定 [root@server16:19:53named]$ cat dekiru.gr.jp ;; ;; template -- Dekiru Linux, June 2013 ;; $TTL 86400 @ IN SOA server.dekiru.gr.jp. postmaster.dekiru.gr.jp. ( 2017022400 ; Serial no (yyyy/mm/dd/nn) 3600 ; Refresh after 1 hour 1800 ; Retry after 30 minutes 604800 ; Expire after 1 week 7200 ) ; Minimum TTL of 2 hours
IN NS ns IN NS ns-tk022.ocn.ad.jp. IN MX 10 server
localhost IN A 192.168.1.1
;; ;; define names for dekiru.gr.jp. ;; router IN A 192.168.1.1 server IN A 192.168.1.180 ns IN A 192.168.1.180
;; ;; aliases for service ;; smtp IN CNAME server pop IN CNAME server imap IN CNAME server ftp IN CNAME server www IN CNAME server proxy IN CNAME server
;; ;; aliases for httpd virtual host ;; ●逆引き設定 [root@server16:20:21named]$ cat dekiru.gr.jp.rev ;; ;; template.rev -- Dekiru Linux, June 2013 ;; $TTL 86400 @ IN SOA server.dekiru.gr.jp. postmaster.dekiru.gr.jp. ( 2017022400 ; Serial no (yyyy/mm/dd/nn) 3600 ; Refresh after 1 hour 1800 ; Retry after 30 minutes 604800 ; Expire after 1 week 7200 ) ; Minimum TTL of 2 hours
IN NS ns.dekiru.gr.jp. IN NS ns-tk022.ocn.ad.jp.
;; ;; define addresses for dekiru.gr.jp. ;; 001 IN PTR router.dekiru.gr.jp. 180 IN PTR server.dekiru.gr.jp.
●ネットワーク設定など IPADDR=192.168.1.180 PREFIX=24 NETWORK=192.168.1.0 GATEWAY=192.168.1.1 DNS1=192.168.1.1
ご指摘をお願いします。
|
■ コンテンツ関連情報
Re: [ANSWER SECTION]が表示されない ( No.1 ) |
|
- ????????? 2017/03/11 15:38
- ????????? 管理者
-
> ●ネットワーク設定など
> IPADDR=192.168.1.180 > PREFIX=24
第三オクテットが1に対しallow-queryが合っていません。(以下)
> allow-query { > localhost; > 192.168.0.0/24; > };
|
■ その他