starting BIND 9.2.1 -u named
using 1 CPU
loading configuration from '/etc/named.conf'
/etc/named.conf:30: missing ';' before '/'
/etc/named.conf:30: '}' expected near '/'
loading configuration: unexpected token
exiting (due to fatal error)
named startup succeeded
刚才的问题已经解决了,不过启动后有错误提示:no IPv6 interfaces found
Nov 2 15:41:29 test1 named[3413]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 2 15:41:29 test1 named[3413]: listening on IPv4 interface eth0, 192.168.0.230#53
Nov 2 15:41:29 test1 named[3413]: command channel listening on 127.0.0.1#953
Nov 2 15:41:29 test1 named[3413]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2004111111
Nov 2 15:41:29 test1 named[3413]: dns_rdata_fromtext: 192.168.1rev:6: near '86400': extra input text
Nov 2 15:41:29 test1 named[3413]: zone 1.168.192.in-addr.arpa/IN: loading master file 192.168.1.rev: extra input text
Nov 2 15:41:29 test1 named[3413]: dns_master_load: 1156.com.cn.zone:15: unknown RR type 'CHAME'
Nov 2 15:41:29 test1 named[3413]: zone 1156.com.cn/IN: loading master file 1156.com.cn.zone: unknown class/type
Nov 2 15:41:29 test1 named[3413]: running
请教高手这些问题是什么意思,怎样解决??
no IPv6 interfaces found
Nov 2 15:41:29 test1 named[3413]: listening on IPv4 interface lo, 127.0.0.1#53
Nov 2 15:41:29 test1 named[3413]: listening on IPv4 interface eth0, 192.168.0.230#53
Nov 2 15:41:29 test1 named[3413]: command channel listening on 127.0.0.1#953
Nov 2 15:41:29 test1 named[3413]: zone 0.0.127.in-addr.arpa/IN: loaded serial 2004111111
Nov 2 15:41:29 test1 named[3413]: running
这些都是提示信息
dns_rdata_fromtext: 192.168.1rev:6: near '86400': extra input text
192.168.1.rev 里面有多余信息(两个2004111111?)
Nov 2 15:41:29 test1 named[3413]: dns_master_load: 1156.com.cn.zone:15: unknown RR type 'CHAME'
Nov 2 15:41:29 test1 named[3413]: zone 1156.com.cn/IN: loading master file 1156.com.cn.zone: unknown
非常感谢版主!!!
再请教一个问题
dns_rdata_fromtext: 192.168.1.rev:2: near eol: unexpected end of input
zone 1.168.192.in-addr.arpa/IN: loading master file 192.168.1.rev: unexpected end of input
我用nslookup测试正向解析正常,反向解析出现** server can't find 230.1.168.192.in-addr.arpa: SERVFAIL的提示。
192.168.1.rev文件内容如下:
$TTL 2D
@ IN SOA test1.yehoo.com.cn. root.yehoo.com.cn.
( 2004111117 ;serial
3H ;refresh
15M ;retry
1W ;expire
1D ) ;minimum
IN NS ns.yehoo.com.cn.
230 IN PTR www.yehoo.com.cn.
230 IN PTR www.1156.com.cn.
我需要用同一个IP绑定两个域名。还请版主指点!!