|
|
这个是在启动日志message中
---------------------------------------------------------------------
Jun 12 18:13:01 test named: named 启动 succeeded
Jun 12 18:13:01 test named[2537]: starting BIND 9.2.2 -u named
Jun 12 18:13:01 test named[2537]: using 1 CPU
Jun 12 18:13:01 test named[2537]: loading configuration from '/etc/named.conf'
Jun 12 18:13:01 test named[2537]: no IPv6 interfaces found
Jun 12 18:13:01 test named[2537]: listening on IPv4 interface eth0, 10.56.21.177#53
Jun 12 18:13:01 test named[2537]: listening on IPv4 interface eth1, 192.168.0.2#53
Jun 12 18:13:01 test named[2537]: listening on IPv4 interface lo, 127.0.0.1#53
Jun 12 18:13:01 test named[2537]: zone 'localhost' allows updates by IP address, which is insecure
Jun 12 18:13:01 test named[2537]: zone '0.0.127.in-addr.arpa' allows updates by IP address, which is insecure
Jun 12 18:13:01 test named[2537]: zone 'langzi.com' allows updates by IP address, which is insecure
Jun 12 18:13:01 test named[2537]: zone '0.168.192.in-addr.arpa' allows updates by IP address, which is insecure
Jun 12 18:13:01 test named[2537]: command channel listening on 127.0.0.1#953
Jun 12 18:13:01 test named[2537]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jun 12 18:13:01 test named[2537]: zone 0.168.192.in-addr.arpa/IN: loaded serial 1997022700
Jun 12 18:13:01 test named[2537]: dns_master_load: langzi.com.zone:11: unknown RR type 'test'
Jun 12 18:13:01 test named[2537]: zone langzi.com/IN: loading master file langzi.com.zone: unknown class/type
Jun 12 18:13:01 test named[2537]: zone localhost/IN: loaded serial 42
Jun 12 18:13:01 test named[2537]: running
----------------------------------------------------------------------
这个是我配置的那个langzi.com.zone文件
----------------------------------------------------------------------
$TTL 86400
@ IN SOA test.langzi.com. root.test.langzi.com. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS test.langzi.com.
test IN A 192.168.0.2
-------------------------------------------------------------------- |
|