Журнал лабораторных работ

Содержание

Журнал

Среда (06/28/06)

/dev/tty1
15:51:56
#vi /etc/bind/named.conf
15:52:05
#vi /etc/bind/dns.info
15:52:37
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
15:52:44
#dig 127.0.0.1 ns
; <<>> DiG 9.2.4 <<>> 127.0.0.1 ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 11498
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;127.0.0.1.                     IN      NS
;; AUTHORITY SECTION:
.                       9079    IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2006062701 1800 900 604800 86400
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 15:52:49 2006
;; MSG SIZE  rcvd: 102
15:52:49
#dig 127.0.0.1
; <<>> DiG 9.2.4 <<>> 127.0.0.1
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 4499
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;127.0.0.1.                     IN      A
;; AUTHORITY SECTION:
.                       9067    IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2006062701 1800 900 604800 86400
;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 15:53:01 2006
;; MSG SIZE  rcvd: 102
15:53:01
#vi /etc/bind/
15:53:01
#vi /etc/bind/db.0
15:54:38
#vi /etc/bind/db.
15:54:38
#vi /etc/bind/db.127
15:54:56
#vi /etc/bind/db.
15:54:56
#vi /etc/bind/db.local
15:55:36
#vi /etc/bind/dns.info
2,3c2,7
< @		SOA	igor.linux2.unix.nt. admin.unix.nt 20051103 10800 3600 604800 86400
< 		NS	igor.linux2.unix.nt.
---
> @		SOA	m02.linux2.unix.nt. admin.unix.nt ( 200651103 
> 							     10800 
> 							     3600 
> 							     604800 
> 							     86400 )
> 		NS	m02.linux2.unix.nt.
6c10
< 		MX	10 igor.linux2.unix.nt
---
> 		MX	10 m02.linux2.unix.nt
8c12
< igor		A	192.168.15.2
---
> m02		A	192.168.15.2
15:59:23
#vi /etc/bind/dns.info
2,6c2,3
< @		SOA	m02.linux2.unix.nt. admin.unix.nt ( 200651103 
< 							     10800 
< 							     3600 
< 							     604800 
< 							     86400 )
---
> @		SOA	m02.linux2.unix.nt. admin.linux2.unix.nt. ( 
> 			200651103 10800	3600 604800 86400 )
16:01:54
#vi /etc/bind/named.conf
16:03:57
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:04:03
#[root@linux1:root]# dig 172.0.0.1 ns
; <<>> DiG 9.2.4 <<>> 172.0.0.1 ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 48349
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;172.0.0.1.                     IN      NS
;; AUTHORITY SECTION:
.                       10800   IN      SOA     a.root-servers.net. nstld.verisign-grs.com. 2006062701 1800 900 604800 86400
;; Query time: 163 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 16:04:18 2006
;; MSG SIZE  rcvd: 102
/dev/tty1
16:05:20
#ping m01.linux1.unix.nt
ping: unknown host m01.linux1.unix.nt
16:05:45
#ping linux1.unix.nt
PING linux1.unix.nt (192.168.15.1) 56(84) bytes of data.
64 bytes from linux1.unix.nt (192.168.15.1): icmp_seq=1 ttl=64 time=0.060 ms
64 bytes from linux1.unix.nt (192.168.15.1): icmp_seq=2 ttl=64 time=0.049 ms
64 bytes from linux1.unix.nt (192.168.15.1): icmp_seq=3 ttl=64 time=0.044 ms
64 bytes from linux1.unix.nt (192.168.15.1): icmp_seq=4 ttl=64 time=0.049 ms
64 bytes from linux1.unix.nt (192.168.15.1): icmp_seq=5 ttl=64 time=0.047 ms
--- linux1.unix.nt ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.044/0.049/0.060/0.010 ms
16:05:54
#vi /etc/bind/named.conf
34c34
< 	allow-transfer {127.0.0.1; 192.168.15.0/24}; 
---
> 	allow-transfer {127.0.0.1; 192.168.15.0/24; }; 
прошло 10 минут
16:16:24
#vi /etc/bind/named.conf.options
34c34
< version "Not found!"
---
> version "Not found!";
16:17:05
#vi /etc/bind/named.conf
16:17:48
#vi /etc/bind/named.conf.options
16:17:57
#vi /etc/bind/named.conf
16:19:08
#vi /etc/bind/dns.info
2c2
< @		SOA	m02.linux2.unix.nt. admin.linux2.unix.nt. ( 
---
> @		SOA	kolya.linux1.unix.nt. admin.linux2.unix.nt. ( 
4c4
< 		NS	m02.linux2.unix.nt.
---
> 		NS	kolya.linux1.unix.nt.
8a9
> kolya.linux1.unix.nt	A	192.168.15.1
16:24:27
#vi /etc/bind/named.conf
16:24:44
#vi /etc/bind/named.conf
30c30
< zone "m01.linux1.unix.nt" {
---
> zone "linux1.unix.nt" {
16:25:03
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:25:10
#cat /var/log/daemon.log
Jun 28 15:27:48 linux1 named[10862]: /etc/bind/named.conf:33: syntax error near 'forwardes'
Jun 28 15:27:48 linux1 named[10862]: /etc/bind/named.conf:38: syntax error near zone
Jun 28 15:27:48 linux1 named[10862]: /etc/bind/named.conf:40: zone filename already set; skipping
Jun 28 15:27:48 linux1 named[10862]: /etc/bind/dns.info:6: Priority error near (linux2.unix.nt)
Jun 28 15:27:48 linux1 named[10862]: /etc/bind/dns.info:8: data "linux2.unix.nt" outside zone "linux1.unix.nt" (ignored)
Jun 28 15:27:48 linux1 named[10862]: master zone "linux1.unix.nt" (IN) rejected due to errors (serial 20051103)
Jun 28 15:27:48 linux1 named[10862]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 15:27:48 linux1 named[10862]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 15:27:48 linux1 named[10862]: listening on [127.0.0.1].53 (lo)
Jun 28 15:27:48 linux1 named[10862]: listening on [192.168.15.1].53 (eth0)
...
Jun 28 16:25:10 linux1 named[11656]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
Jun 28 16:25:10 linux1 named[11656]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: listening on [127.0.0.1].53 (lo)
Jun 28 16:25:10 linux1 named[11656]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [::].32900
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [0.0.0.0].32901
Jun 28 16:25:10 linux1 named[11657]: Ready to answer queries.
Jun 28 16:25:10 linux1 named[11657]: check_hints: A records for b.root-servers.net class 1 do not match hint records
16:25:24
#vi /etc/bind/named.conf
33c33
< 	forwardes{};
---
> 	forwardrs{};
16:26:07
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:26:12
#vi /etc/bind/named.conf
16:26:17
#cat /var/log/daemon.log
Jun 28 15:31:24 linux1 named[10925]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
Jun 28 15:31:24 linux1 named[10925]: In '/etc/bind/named.conf.options' line 36
Jun 28 15:31:24 linux1 named[10925]: included from '/etc/bind/named.conf' line 8
Jun 28 15:31:24 linux1 named[10925]: /etc/bind/named.conf.options:36: syntax error near '}'
Jun 28 15:31:24 linux1 named[10925]: /etc/bind/named.conf:13: syntax error near category
Jun 28 15:31:24 linux1 named[10925]: hint zone "" (IN) loaded (serial 0)
Jun 28 15:31:24 linux1 named[10925]: master zone "localhost" (IN) loaded (serial 1)
Jun 28 15:31:24 linux1 named[10925]: /etc/bind/named.conf:33: syntax error near 'forwardes'
Jun 28 15:31:24 linux1 named[10925]: /etc/bind/named.conf:38: syntax error near zone
Jun 28 15:31:24 linux1 named[10925]: /etc/bind/named.conf:40: zone filename already set; skipping
...
Jun 28 16:26:12 linux1 named[11688]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
Jun 28 16:26:12 linux1 named[11688]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:26:12 linux1 named[11688]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:26:12 linux1 named[11688]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:26:12 linux1 named[11688]: listening on [127.0.0.1].53 (lo)
Jun 28 16:26:12 linux1 named[11688]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:26:12 linux1 named[11688]: Forwarding source address is [::].32901
Jun 28 16:26:12 linux1 named[11688]: Forwarding source address is [0.0.0.0].32902
Jun 28 16:26:12 linux1 named[11689]: Ready to answer queries.
Jun 28 16:26:12 linux1 named[11689]: check_hints: A records for b.root-servers.net class 1 do not match hint records
16:26:19
#vi /etc/bind/named.conf
33c33
< 	forwardrs{};
---
> 	forwarders{};
16:26:48
#vi /etc/bind/named.conf
16:26:53
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:26:58
#cat /var/log/daemon.log
Jun 28 15:31:24 linux1 named[10925]: Forwarding source address is [::].32888
Jun 28 15:31:24 linux1 named[10925]: Forwarding source address is [0.0.0.0].32889
Jun 28 15:31:24 linux1 named[10926]: Ready to answer queries.
Jun 28 15:31:24 linux1 named[10926]: check_hints: A records for b.root-servers.net class 1 do not match hint records
Jun 28 15:39:43 linux1 named[10926]: named shutting down
Jun 28 15:39:43 linux1 named[10926]: USAGE 1151498383 1151497884 CPU=0.004999u/0.002999s CHILDCPU=0u/0s
Jun 28 15:39:43 linux1 named[10926]: NSTATS 1151498383 1151497884 A=8 NS=1 AAAA=4 A6=1
Jun 28 15:39:43 linux1 named[10926]: XSTATS 1151498383 1151497884 RR=26 RNXD=15 RFwdR=0 RDupR=0 RFail=6 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=12 SAns=19 SFwdQ=8 SDupQ=20 SErr=0 RQ=14 RIQ=0 RFwdQ=8 RDupQ=2 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=19 SNXD=5 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
Jun 28 15:39:45 linux1 named[11049]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
Jun 28 15:39:45 linux1 named[11049]: In '/etc/bind/named.conf.options' line 36
...
Jun 28 16:26:58 linux1 named[11752]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
Jun 28 16:26:58 linux1 named[11752]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:26:58 linux1 named[11752]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:26:58 linux1 named[11752]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:26:58 linux1 named[11752]: listening on [127.0.0.1].53 (lo)
Jun 28 16:26:58 linux1 named[11752]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:26:58 linux1 named[11752]: Forwarding source address is [::].32902
Jun 28 16:26:58 linux1 named[11752]: Forwarding source address is [0.0.0.0].32903
Jun 28 16:26:58 linux1 named[11753]: Ready to answer queries.
Jun 28 16:26:58 linux1 named[11753]: check_hints: A records for b.root-servers.net class 1 do not match hint records
16:27:01
#ping kolya.linux1.unix.nt
ping: unknown host kolya.linux1.unix.nt
16:27:34
#vi /etc/re
16:27:34
#vi /etc/resolv.conf
16:28:11
#[root@linux1:root]# vi /etc/bind/dns.info
@                       200651103 10800 3600 604800 86400 )
                NS      kolya.linux1.unix.nt.
                NS      m02.linux2.unix.nt.
                MX      10 kolya.linux1.unix.nt.
                                192.168.15.1
                A       192.168.15.2
m02ya.linux1.uniA.nt    192.168.15.15
linux15         A       192.168.15.254
admin
~
~
~
~
~
~
~
~
~
~
~
"/etc/bind/dns.info" 12L, 290C written
16:31:35
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:31:40
#vi /etc/bind/dns.info
16:32:39
#vi /etc/bind/named.conf
16:33:20
#vi /etc/bind/dns.info
9c9
< kolya.linux1.unix.nt	A	192.168.15.1
---
> kolya.linux1.unix.nt.	A	192.168.15.1
16:33:37
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:33:42
#rndc flush
bash: rndc: command not found
16:34:47
#rndc flush
bash: rndc: command not found
16:35:00
#[root@linux1:root]# ssh m02
Enter passphrase for key '/root/.ssh/id_dsa':
Last login: Wed Jun 28 16:35:06 2006 from 192.168.15.254
Linux linux2.unix.nt 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 i686
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
l3-agent is already running: pid=4459; pidfile=/root/.lilalo/l3-agent.pid
Agent pid 5365
16:37:08
#screen -x
16:37:16
#sc
scdaemon      screen        script
scp           screendump    scriptreplay
16:37:16
#screen -x
16:37:33
#screen
16:38:18
#exit
exit
Connection to m02 closed.
16:39:33
#[root@linux1:root]# sh
sh            shfsmount     showcfont     showmount
sha1sum       shfsumount    showchar      showrgb
shadowconfig  shift         showfont      shred
shar          shopt         showkey       shutdown
/dev/pts/5
16:42:54
#rndc stop
bash: rndc: command not found
16:42:56
#ndc stop

/dev/pts/4
16:45:55
#/etc/init.d/bind start
Starting domain name service: named.
16:46:29
#dig 172.0.0.1 ns
; <<>> DiG 9.2.4 <<>> 172.0.0.1 ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52355
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;172.0.0.1.                     IN      NS
;; AUTHORITY SECTION:
.                       10800   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2006062701 1800 900 604800 86400
;; Query time: 156 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 16:46:38 2006
;; MSG SIZE  rcvd: 102
16:46:38
#vi /etc/bind/dns.info
16:47:25
#vi /etc/bind/named.conf
36a37,43
> zone "linux2.unix.nt" {
>         type slave;
> 	file "/etc/bind/db.linux2.bak";
> 	forwarders{};
> 	allow-transfer {127.0.0.1; };
> 	masters { 192.168.15.2; };
> 	};
16:50:42
#vi /etc/bind/
16:50:42
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:50:59
#vi /etc/bind/
16:50:59
#vi /etc/bind/named.conf
16:52:57
#dig 172.0.0.1 ns
; <<>> DiG 9.2.4 <<>> 172.0.0.1 ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 9040
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;172.0.0.1.                     IN      NS
;; AUTHORITY SECTION:
.                       10800   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2006062701 1800 900 604800 86400
;; Query time: 148 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 16:53:05 2006
;; MSG SIZE  rcvd: 102
16:53:05
#dig @172.0.0.1 ns
; <<>> DiG 9.2.4 <<>> @172.0.0.1 ns
;; global options:  printcmd
;; connection timed out; no servers could be reached
16:53:22
#dig @172.0.0.1
; <<>> DiG 9.2.4 <<>> @172.0.0.1
;; global options:  printcmd
;; connection timed out; no servers could be reached
16:53:37
#dig kolya.linux.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51467
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;kolya.linux.unix.nt.           IN      A
;; AUTHORITY SECTION:
unix.nt.                3600    IN      SOA     linux.nt. imchubin.nt.com.ua. 2004050801 36000 3600 604800 3600
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 16:54:00 2006
;; MSG SIZE  rcvd: 104
16:54:00
#dig kolya.linux.unix.nt ns
; <<>> DiG 9.2.4 <<>> kolya.linux.unix.nt ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64278
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;kolya.linux.unix.nt.           IN      NS
;; AUTHORITY SECTION:
unix.nt.                3600    IN      SOA     linux.nt. imchubin.nt.com.ua. 2004050801 36000 3600 604800 3600
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 16:54:08 2006
;; MSG SIZE  rcvd: 104
16:54:08
#dig linux.unix.nt ns
; <<>> DiG 9.2.4 <<>> linux.unix.nt ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 8659
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;linux.unix.nt.                 IN      NS
;; AUTHORITY SECTION:
unix.nt.                3600    IN      SOA     linux.nt. imchubin.nt.com.ua. 2004050801 36000 3600 604800 3600
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 16:54:21 2006
;; MSG SIZE  rcvd: 98
16:54:21
#cat /var/log/daemon.log
Jun 28 16:04:03 linux1 named[11434]: included from '/etc/bind/named.conf' line 8
Jun 28 16:04:03 linux1 named[11434]: /etc/bind/named.conf.options:36: syntax error near '}'
Jun 28 16:04:03 linux1 named[11434]: /etc/bind/named.conf:13: syntax error near category
Jun 28 16:04:03 linux1 named[11434]: hint zone "" (IN) loaded (serial 0)
Jun 28 16:04:03 linux1 named[11434]: master zone "localhost" (IN) loaded (serial 1)
Jun 28 16:04:03 linux1 named[11434]: /etc/bind/named.conf:33: syntax error near 'forwardes'
Jun 28 16:04:03 linux1 named[11434]: /etc/bind/named.conf:34: syntax error near '}'
Jun 28 16:04:03 linux1 named[11434]: master zone "m01.linux1.unix.nt" (IN) loaded (serial 200651103)
Jun 28 16:04:03 linux1 named[11434]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:04:03 linux1 named[11434]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
...
Jun 28 16:50:59 linux1 named[12260]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:50:59 linux1 named[12260]: listening on [127.0.0.1].53 (lo)
Jun 28 16:50:59 linux1 named[12260]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:50:59 linux1 named[12260]: Forwarding source address is [::].32909
Jun 28 16:50:59 linux1 named[12260]: Forwarding source address is [0.0.0.0].32910
Jun 28 16:50:59 linux1 named[12261]: Ready to answer queries.
Jun 28 16:50:59 linux1 named[12261]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
Jun 28 16:50:59 linux1 named-xfer[12267]: send AXFR query 0 to [192.168.15.2].53 for linux2.unix.nt
Jun 28 16:50:59 linux1 named-xfer[12267]: [[[192.168.15.1].36920].36920] transfer refused from [[192.168.15.2].53], zone linux2.unix.nt
Jun 28 16:50:59 linux1 named[12261]: zoneref: Masters for slave zone "linux2.unix.nt" REFUSED transfer
16:54:41
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:55:00
#ps aux |grep bind
root     12366  0.0  0.0  3732  724 pts/5    S+   16:55   0:00 grep bind
16:55:24
#cat /var/log/daemon.log
Jun 28 16:25:08 linux1 named[11435]: XSTATS 1151501108 1151499843 RR=3 RNXD=2 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=3 SFwdQ=2 SDupQ=0 SErr=0 RQ=3 RIQ=0 RFwdQ=2 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=2 SNXD=1 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
Jun 28 16:25:10 linux1 named[11656]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
Jun 28 16:25:10 linux1 named[11656]: hint zone "" (IN) loaded (serial 0)
Jun 28 16:25:10 linux1 named[11656]: master zone "localhost" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: /etc/bind/named.conf:33: syntax error near 'forwardes'
Jun 28 16:25:10 linux1 named[11656]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
Jun 28 16:25:10 linux1 named[11656]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: listening on [127.0.0.1].53 (lo)
...
Jun 28 16:55:00 linux1 named[12357]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:55:00 linux1 named[12357]: listening on [127.0.0.1].53 (lo)
Jun 28 16:55:00 linux1 named[12357]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:55:00 linux1 named[12357]: Forwarding source address is [::].32911
Jun 28 16:55:00 linux1 named[12357]: Forwarding source address is [0.0.0.0].32912
Jun 28 16:55:00 linux1 named[12358]: Ready to answer queries.
Jun 28 16:55:00 linux1 named[12358]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
Jun 28 16:55:00 linux1 named-xfer[12362]: send AXFR query 0 to [192.168.15.2].53 for linux2.unix.nt
Jun 28 16:55:00 linux1 named-xfer[12362]: [[[192.168.15.1].36939].36939] transfer refused from [[192.168.15.2].53], zone linux2.unix.nt
Jun 28 16:55:00 linux1 named[12358]: zoneref: Masters for slave zone "linux2.unix.nt" REFUSED transfer
16:55:32
#vi /etc/bind/named.conf
42c42
< 	masters { 192.168.15.2; };
---
> 	masters { 192.168.15.15; };
16:56:37
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:56:42
#ndc flush
Unrecognized command "flush" (args "")
16:56:58
#ndc flush
Unrecognized command "flush" (args "")
16:57:13
#rndc flush
bash: rndc: command not found
16:57:18
#cat /var/log/daemon.log
Jun 28 16:25:10 linux1 named[11656]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: listening on [127.0.0.1].53 (lo)
Jun 28 16:25:10 linux1 named[11656]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [::].32900
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [0.0.0.0].32901
Jun 28 16:25:10 linux1 named[11657]: Ready to answer queries.
Jun 28 16:25:10 linux1 named[11657]: check_hints: A records for b.root-servers.net class 1 do not match hint records
Jun 28 16:26:09 linux1 named[11657]: named shutting down
Jun 28 16:26:09 linux1 named[11657]: USAGE 1151501169 1151501110 CPU=0.000999u/0.001999s CHILDCPU=0u/0s
...
Jun 28 16:55:00 linux1 named-xfer[12362]: send AXFR query 0 to [192.168.15.2].53 for linux2.unix.nt
Jun 28 16:55:00 linux1 named-xfer[12362]: [[[192.168.15.1].36939].36939] transfer refused from [[192.168.15.2].53], zone linux2.unix.nt
Jun 28 16:55:00 linux1 named[12358]: zoneref: Masters for slave zone "linux2.unix.nt" REFUSED transfer
Jun 28 16:56:40 linux1 named[12358]: named shutting down
Jun 28 16:56:40 linux1 named[12358]: USAGE 1151503000 1151502900 CPU=0.000999u/0.002999s CHILDCPU=0.002999u/0.003999s
Jun 28 16:56:40 linux1 named[12358]: NSTATS 1151503000 1151502900
Jun 28 16:56:40 linux1 named[12358]: XSTATS 1151503000 1151502900 RR=2 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=2 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
Jun 28 16:56:42 linux1 named[12397]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
Jun 28 16:56:42 linux1 named[12397]: hint zone "" (IN) loaded (serial 0)
Jun 28 16:56:42 linux1 named[12397]: master zone "localhost" (IN) loaded (serial 1)
16:57:31
#iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
16:58:04
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:58:14
#cat /var/log/daemon.log
Jun 28 16:25:10 linux1 named[11656]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: listening on [127.0.0.1].53 (lo)
Jun 28 16:25:10 linux1 named[11656]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [::].32900
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [0.0.0.0].32901
Jun 28 16:25:10 linux1 named[11657]: Ready to answer queries.
Jun 28 16:25:10 linux1 named[11657]: check_hints: A records for b.root-servers.net class 1 do not match hint records
Jun 28 16:26:09 linux1 named[11657]: named shutting down
Jun 28 16:26:09 linux1 named[11657]: USAGE 1151501169 1151501110 CPU=0.000999u/0.001999s CHILDCPU=0u/0s
...
Jun 28 16:55:00 linux1 named-xfer[12362]: send AXFR query 0 to [192.168.15.2].53 for linux2.unix.nt
Jun 28 16:55:00 linux1 named-xfer[12362]: [[[192.168.15.1].36939].36939] transfer refused from [[192.168.15.2].53], zone linux2.unix.nt
Jun 28 16:55:00 linux1 named[12358]: zoneref: Masters for slave zone "linux2.unix.nt" REFUSED transfer
Jun 28 16:56:40 linux1 named[12358]: named shutting down
Jun 28 16:56:40 linux1 named[12358]: USAGE 1151503000 1151502900 CPU=0.000999u/0.002999s CHILDCPU=0.002999u/0.003999s
Jun 28 16:56:40 linux1 named[12358]: NSTATS 1151503000 1151502900
Jun 28 16:56:40 linux1 named[12358]: XSTATS 1151503000 1151502900 RR=2 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=2 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
Jun 28 16:56:42 linux1 named[12397]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
Jun 28 16:56:42 linux1 named[12397]: hint zone "" (IN) loaded (serial 0)
Jun 28 16:56:42 linux1 named[12397]: master zone "localhost" (IN) loaded (serial 1)
16:58:17
#vi /etc/bind/named.conf
37c37
< zone "linux2.unix.nt" {
---
> zone "sergey.unix.nt" {
42c42
< 	masters { 192.168.15.15; };
---
> 	masters { 192.168.15.1; };
16:59:51
#/etc/init.d/bind restart
Stopping domain name service: named.
Starting domain name service: named.
16:59:55
#cat /var/log/daemon.log
Jun 28 16:25:10 linux1 named[11656]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
Jun 28 16:25:10 linux1 named[11656]: listening on [127.0.0.1].53 (lo)
Jun 28 16:25:10 linux1 named[11656]: listening on [192.168.15.1].53 (eth0)
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [::].32900
Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [0.0.0.0].32901
Jun 28 16:25:10 linux1 named[11657]: Ready to answer queries.
Jun 28 16:25:10 linux1 named[11657]: check_hints: A records for b.root-servers.net class 1 do not match hint records
Jun 28 16:26:09 linux1 named[11657]: named shutting down
Jun 28 16:26:09 linux1 named[11657]: USAGE 1151501169 1151501110 CPU=0.000999u/0.001999s CHILDCPU=0u/0s
...
Jun 28 16:55:00 linux1 named-xfer[12362]: send AXFR query 0 to [192.168.15.2].53 for linux2.unix.nt
Jun 28 16:55:00 linux1 named-xfer[12362]: [[[192.168.15.1].36939].36939] transfer refused from [[192.168.15.2].53], zone linux2.unix.nt
Jun 28 16:55:00 linux1 named[12358]: zoneref: Masters for slave zone "linux2.unix.nt" REFUSED transfer
Jun 28 16:56:40 linux1 named[12358]: named shutting down
Jun 28 16:56:40 linux1 named[12358]: USAGE 1151503000 1151502900 CPU=0.000999u/0.002999s CHILDCPU=0.002999u/0.003999s
Jun 28 16:56:40 linux1 named[12358]: NSTATS 1151503000 1151502900
Jun 28 16:56:40 linux1 named[12358]: XSTATS 1151503000 1151502900 RR=2 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=2 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
Jun 28 16:56:42 linux1 named[12397]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
Jun 28 16:56:42 linux1 named[12397]: hint zone "" (IN) loaded (serial 0)
Jun 28 16:56:42 linux1 named[12397]: master zone "localhost" (IN) loaded (serial 1)
16:59:57
#dig @127.0.0.1
; <<>> DiG 9.2.4 <<>> @127.0.0.1
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40001
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUESTION SECTION:
;.                              IN      NS
;; ANSWER SECTION:
.                       517672  IN      NS      M.ROOT-SERVERS.NET.
.                       517672  IN      NS      A.ROOT-SERVERS.NET.
...
G.ROOT-SERVERS.NET.     604072  IN      A       192.112.36.4
H.ROOT-SERVERS.NET.     604072  IN      A       128.63.2.53
I.ROOT-SERVERS.NET.     604072  IN      A       192.36.148.17
J.ROOT-SERVERS.NET.     604072  IN      A       192.58.128.30
K.ROOT-SERVERS.NET.     604072  IN      A       193.0.14.129
L.ROOT-SERVERS.NET.     604072  IN      A       198.32.64.12
;; Query time: 9 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:00:19 2006
;; MSG SIZE  rcvd: 436
17:00:19
#dig @127.0.0.1 ns
; <<>> DiG 9.2.4 <<>> @127.0.0.1 ns
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10279
;; flags: qr rd ra; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
;; QUESTION SECTION:
;.                              IN      NS
;; ANSWER SECTION:
.                       517667  IN      NS      J.ROOT-SERVERS.NET.
.                       517667  IN      NS      K.ROOT-SERVERS.NET.
...
D.ROOT-SERVERS.NET.     604067  IN      A       128.8.10.90
E.ROOT-SERVERS.NET.     604067  IN      A       192.203.230.10
F.ROOT-SERVERS.NET.     604067  IN      A       192.5.5.241
G.ROOT-SERVERS.NET.     604067  IN      A       192.112.36.4
H.ROOT-SERVERS.NET.     604067  IN      A       128.63.2.53
I.ROOT-SERVERS.NET.     604067  IN      A       192.36.148.17
;; Query time: 8 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:00:24 2006
;; MSG SIZE  rcvd: 436
17:00:24
#dig @127.0.0.1 sergey.unix.nt
; <<>> DiG 9.2.4 <<>> @127.0.0.1 sergey.unix.nt
;; global options:  printcmd
;; connection timed out; no servers could be reached
17:01:05
#dig @127.0.0.1 linux15.sergey.unix.nt
;; Warning: ID mismatch: expected ID 41977, got 18586
17:01:31
#dig @127.0.0.1 m02.linux2.unix.nt
; <<>> DiG 9.2.4 <<>> @127.0.0.1 m02.linux2.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64818
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;m02.linux2.unix.nt.            IN      A
;; ANSWER SECTION:
m02.linux2.unix.nt.     3600    IN      A       192.168.15.2
;; AUTHORITY SECTION:
linux2.unix.nt.         3600    IN      NS      linux15.sergey.unix.nt.
linux2.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
linux15.sergey.unix.nt. 604295  IN      A       192.168.15.15
m02.linux2.unix.nt.     3600    IN      A       192.168.15.2
;; Query time: 7 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:01:46 2006
;; MSG SIZE  rcvd: 145
17:01:46
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 10912
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3553    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:33 2006
;; MSG SIZE  rcvd: 125
17:02:33
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62848
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3535    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:51 2006
;; MSG SIZE  rcvd: 125
17:02:51
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45395
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3535    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:51 2006
;; MSG SIZE  rcvd: 125
17:02:51
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22668
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3534    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:52 2006
;; MSG SIZE  rcvd: 125
17:02:52
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22645
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3533    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:53 2006
;; MSG SIZE  rcvd: 125
17:02:53
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14330
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3533    IN      A       192.168.15.2
;; Query time: 42 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:53 2006
;; MSG SIZE  rcvd: 125
17:02:53
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42366
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3532    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:54 2006
;; MSG SIZE  rcvd: 125
17:02:54
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34628
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3531    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:55 2006
;; MSG SIZE  rcvd: 125
17:02:55
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21018
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3530    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:56 2006
;; MSG SIZE  rcvd: 125
17:02:56
#dig kolya.linux1.unix.nt
; <<>> DiG 9.2.4 <<>> kolya.linux1.unix.nt
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55237
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;kolya.linux1.unix.nt.          IN      A
;; ANSWER SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
;; AUTHORITY SECTION:
linux1.unix.nt.         3600    IN      NS      kolya.linux1.unix.nt.
linux1.unix.nt.         3600    IN      NS      m02.linux2.unix.nt.
;; ADDITIONAL SECTION:
kolya.linux1.unix.nt.   3600    IN      A       192.168.15.1
m02.linux2.unix.nt.     3529    IN      A       192.168.15.2
;; Query time: 5 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jun 28 17:02:57 2006
;; MSG SIZE  rcvd: 125

Файлы

  • /var/log/daemon.log
  • /var/log/daemon.log
    >
    Jun 28 16:25:10 linux1 named[11656]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:25:10 linux1 named[11656]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:25:10 linux1 named[11656]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:25:10 linux1 named[11656]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [::].32900
    Jun 28 16:25:10 linux1 named[11656]: Forwarding source address is [0.0.0.0].32901
    Jun 28 16:25:10 linux1 named[11657]: Ready to answer queries.
    Jun 28 16:25:10 linux1 named[11657]: check_hints: A records for b.root-servers.net class 1 do not match hint records
    Jun 28 16:26:09 linux1 named[11657]: named shutting down
    Jun 28 16:26:09 linux1 named[11657]: USAGE 1151501169 1151501110 CPU=0.000999u/0.001999s CHILDCPU=0u/0s
    Jun 28 16:26:09 linux1 named[11657]: NSTATS 1151501169 1151501110
    Jun 28 16:26:09 linux1 named[11657]: XSTATS 1151501169 1151501110 RR=1 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:26:12 linux1 named[11688]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:26:12 linux1 named[11688]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:26:12 linux1 named[11688]: master zone "localhost" (IN) loaded (serial 1)
    Jun 28 16:26:12 linux1 named[11688]: /etc/bind/named.conf:33: syntax error near 'forwardrs'
    Jun 28 16:26:12 linux1 named[11688]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
    Jun 28 16:26:12 linux1 named[11688]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:26:12 linux1 named[11688]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:26:12 linux1 named[11688]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:26:12 linux1 named[11688]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:26:12 linux1 named[11688]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:26:12 linux1 named[11688]: Forwarding source address is [::].32901
    Jun 28 16:26:12 linux1 named[11688]: Forwarding source address is [0.0.0.0].32902
    Jun 28 16:26:12 linux1 named[11689]: Ready to answer queries.
    Jun 28 16:26:12 linux1 named[11689]: check_hints: A records for b.root-servers.net class 1 do not match hint records
    Jun 28 16:26:56 linux1 named[11689]: named shutting down
    Jun 28 16:26:56 linux1 named[11689]: USAGE 1151501216 1151501172 CPU=0.001999u/0.000999s CHILDCPU=0u/0s
    Jun 28 16:26:56 linux1 named[11689]: NSTATS 1151501216 1151501172
    Jun 28 16:26:56 linux1 named[11689]: XSTATS 1151501216 1151501172 RR=1 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:26:58 linux1 named[11752]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:26:58 linux1 named[11752]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:26:58 linux1 named[11752]: master zone "localhost" (IN) loaded (serial 1)
    Jun 28 16:26:58 linux1 named[11752]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
    Jun 28 16:26:58 linux1 named[11752]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:26:58 linux1 named[11752]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:26:58 linux1 named[11752]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:26:58 linux1 named[11752]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:26:58 linux1 named[11752]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:26:58 linux1 named[11752]: Forwarding source address is [::].32902
    Jun 28 16:26:58 linux1 named[11752]: Forwarding source address is [0.0.0.0].32903
    Jun 28 16:26:58 linux1 named[11753]: Ready to answer queries.
    Jun 28 16:26:58 linux1 named[11753]: check_hints: A records for b.root-servers.net class 1 do not match hint records
    Jun 28 16:31:38 linux1 named[11753]: named shutting down
    Jun 28 16:31:38 linux1 named[11753]: USAGE 1151501498 1151501218 CPU=0.001999u/0.002999s CHILDCPU=0u/0s
    Jun 28 16:31:38 linux1 named[11753]: NSTATS 1151501498 1151501218 A=8 NS=4 AAAA=1
    Jun 28 16:31:38 linux1 named[11753]: XSTATS 1151501498 1151501218 RR=12 RNXD=9 RFwdR=0 RDupR=0 RFail=2 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=8 SAns=20 SFwdQ=2 SDupQ=9 SErr=0 RQ=13 RIQ=0 RFwdQ=2 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=14 SNXD=2 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:31:40 linux1 named[11811]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:31:40 linux1 named[11811]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:31:40 linux1 named[11811]: master zone "localhost" (IN) loaded (serial 1)
    Jun 28 16:31:40 linux1 named[11811]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
    Jun 28 16:31:40 linux1 named[11811]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:31:40 linux1 named[11811]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:31:40 linux1 named[11811]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:31:40 linux1 named[11811]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:31:40 linux1 named[11811]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:31:40 linux1 named[11811]: Forwarding source address is [::].32904
    Jun 28 16:31:40 linux1 named[11811]: Forwarding source address is [0.0.0.0].32905
    Jun 28 16:31:40 linux1 named[11812]: Ready to answer queries.
    Jun 28 16:31:40 linux1 named[11812]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
    Jun 28 16:32:43 linux1 named[11812]: approved AXFR from [192.168.15.254].40560 for "linux1.unix.nt"
    Jun 28 16:32:43 linux1 named[11812]: zone transfer (AXFR) of "linux1.unix.nt" (IN) to [192.168.15.254].40560 serial 200651103
    Jun 28 16:33:40 linux1 named[11812]: named shutting down
    Jun 28 16:33:40 linux1 named[11812]: USAGE 1151501620 1151501500 CPU=0.004999u/0.003999s CHILDCPU=0u/0s
    Jun 28 16:33:40 linux1 named[11812]: NSTATS 1151501620 1151501500 A=7 NS=3 AXFR=1
    Jun 28 16:33:40 linux1 named[11812]: XSTATS 1151501620 1151501500 RR=5 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=1 RLame=0 ROpts=0 SSysQ=5 SAns=10 SFwdQ=0 SDupQ=0 SErr=0 RQ=11 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=1 SFwdR=0 SFail=0 SFErr=0 SNaAns=2 SNXD=4 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:33:42 linux1 named[11869]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:33:42 linux1 named[11869]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:33:42 linux1 named[11869]: master zone "localhost" (IN) loaded (serial 1)
    Jun 28 16:33:42 linux1 named[11869]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
    Jun 28 16:33:42 linux1 named[11869]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:33:42 linux1 named[11869]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:33:42 linux1 named[11869]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:33:42 linux1 named[11869]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:33:42 linux1 named[11869]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:33:42 linux1 named[11869]: Forwarding source address is [::].32905
    Jun 28 16:33:42 linux1 named[11869]: Forwarding source address is [0.0.0.0].32906
    Jun 28 16:33:42 linux1 named[11870]: Ready to answer queries.
    Jun 28 16:33:42 linux1 named[11870]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
    Jun 28 16:33:45 linux1 named[11870]: approved AXFR from [192.168.15.254].48902 for "linux1.unix.nt"
    Jun 28 16:33:45 linux1 named[11870]: zone transfer (AXFR) of "linux1.unix.nt" (IN) to [192.168.15.254].48902 serial 200651103
    Jun 28 16:35:01 linux1 named[11870]: approved AXFR from [192.168.15.15].50362 for "linux1.unix.nt"
    Jun 28 16:35:01 linux1 named[11870]: zone transfer (AXFR) of "linux1.unix.nt" (IN) to [192.168.15.15].50362 serial 200651103
    Jun 28 16:40:27 linux1 named[11870]: approved AXFR from [192.168.15.2].33351 for "linux1.unix.nt"
    Jun 28 16:40:27 linux1 named[11870]: zone transfer (AXFR) of "linux1.unix.nt" (IN) to [192.168.15.2].33351 serial 200651103
    Jun 28 16:43:09 linux1 named[11870]: named shutting down
    Jun 28 16:43:09 linux1 named[11870]: USAGE 1151502189 1151501622 CPU=0.006998u/0.004999s CHILDCPU=0u/0s
    Jun 28 16:43:09 linux1 named[11870]: NSTATS 1151502189 1151501622 A=8 SOA=2 PTR=3 AAAA=5 AXFR=3
    Jun 28 16:43:09 linux1 named[11870]: XSTATS 1151502189 1151501622 RR=6 RNXD=1 RFwdR=1 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=3 RLame=0 ROpts=0 SSysQ=1 SAns=17 SFwdQ=4 SDupQ=0 SErr=0 RQ=21 RIQ=0 RFwdQ=4 RDupQ=0 RTCP=4 SFwdR=1 SFail=0 SFErr=0 SNaAns=10 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:46:29 linux1 named[12202]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:46:29 linux1 named[12202]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:46:29 linux1 named[12202]: master zone "localhost" (IN) loaded (serial 1)
    Jun 28 16:46:29 linux1 named[12202]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
    Jun 28 16:46:29 linux1 named[12202]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:46:29 linux1 named[12202]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:46:29 linux1 named[12202]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:46:29 linux1 named[12202]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:46:29 linux1 named[12202]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:46:29 linux1 named[12202]: Forwarding source address is [::].32907
    Jun 28 16:46:29 linux1 named[12202]: Forwarding source address is [0.0.0.0].32908
    Jun 28 16:46:29 linux1 named[12203]: Ready to answer queries.
    Jun 28 16:46:29 linux1 named[12203]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
    Jun 28 16:50:57 linux1 named[12203]: named shutting down
    Jun 28 16:50:57 linux1 named[12203]: USAGE 1151502657 1151502389 CPU=0.001999u/0.002999s CHILDCPU=0u/0s
    Jun 28 16:50:57 linux1 named[12203]: NSTATS 1151502657 1151502389 NS=1
    Jun 28 16:50:57 linux1 named[12203]: XSTATS 1151502657 1151502389 RR=2 RNXD=1 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=1 SAns=1 SFwdQ=1 SDupQ=0 SErr=0 RQ=1 RIQ=0 RFwdQ=1 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=1 SNXD=1 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:50:59 linux1 named[12260]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:50:59 linux1 named[12260]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:50:59 linux1 named[12260]: master zone "localhost" (IN) loaded (serial 1)
    Jun 28 16:50:59 linux1 named[12260]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
    Jun 28 16:50:59 linux1 named[12260]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:50:59 linux1 named[12260]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:50:59 linux1 named[12260]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:50:59 linux1 named[12260]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:50:59 linux1 named[12260]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:50:59 linux1 named[12260]: Forwarding source address is [::].32909
    Jun 28 16:50:59 linux1 named[12260]: Forwarding source address is [0.0.0.0].32910
    Jun 28 16:50:59 linux1 named[12261]: Ready to answer queries.
    Jun 28 16:50:59 linux1 named[12261]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
    Jun 28 16:50:59 linux1 named-xfer[12267]: send AXFR query 0 to [192.168.15.2].53 for linux2.unix.nt
    Jun 28 16:50:59 linux1 named-xfer[12267]: [[[192.168.15.1].36920].36920] transfer refused from [[192.168.15.2].53], zone linux2.unix.nt
    Jun 28 16:50:59 linux1 named[12261]: zoneref: Masters for slave zone "linux2.unix.nt" REFUSED transfer
    Jun 28 16:54:58 linux1 named[12261]: named shutting down
    Jun 28 16:54:58 linux1 named[12261]: USAGE 1151502898 1151502659 CPU=0.003999u/0.001999s CHILDCPU=0.002999u/0.003999s
    Jun 28 16:54:58 linux1 named[12261]: NSTATS 1151502898 1151502659 A=1 NS=3 AAAA=2
    Jun 28 16:54:58 linux1 named[12261]: XSTATS 1151502898 1151502659 RR=6 RNXD=4 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=2 SAns=6 SFwdQ=4 SDupQ=0 SErr=0 RQ=6 RIQ=0 RFwdQ=4 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=6 SNXD=1 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:55:00 linux1 named[12357]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:55:00 linux1 named[12357]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:55:00 linux1 named[12357]: master zone "localhost" (IN) loaded (serial 1)
    Jun 28 16:55:00 linux1 named[12357]: master zone "linux1.unix.nt" (IN) loaded (serial 200651103)
    Jun 28 16:55:00 linux1 named[12357]: master zone "127.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:55:00 linux1 named[12357]: master zone "0.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:55:00 linux1 named[12357]: master zone "255.in-addr.arpa" (IN) loaded (serial 1)
    Jun 28 16:55:00 linux1 named[12357]: listening on [127.0.0.1].53 (lo)
    Jun 28 16:55:00 linux1 named[12357]: listening on [192.168.15.1].53 (eth0)
    Jun 28 16:55:00 linux1 named[12357]: Forwarding source address is [::].32911
    Jun 28 16:55:00 linux1 named[12357]: Forwarding source address is [0.0.0.0].32912
    Jun 28 16:55:00 linux1 named[12358]: Ready to answer queries.
    Jun 28 16:55:00 linux1 named[12358]: check_hints: A records for B.ROOT-SERVERS.NET class 1 do not match hint records
    Jun 28 16:55:00 linux1 named-xfer[12362]: send AXFR query 0 to [192.168.15.2].53 for linux2.unix.nt
    Jun 28 16:55:00 linux1 named-xfer[12362]: [[[192.168.15.1].36939].36939] transfer refused from [[192.168.15.2].53], zone linux2.unix.nt
    Jun 28 16:55:00 linux1 named[12358]: zoneref: Masters for slave zone "linux2.unix.nt" REFUSED transfer
    Jun 28 16:56:40 linux1 named[12358]: named shutting down
    Jun 28 16:56:40 linux1 named[12358]: USAGE 1151503000 1151502900 CPU=0.000999u/0.002999s CHILDCPU=0.002999u/0.003999s
    Jun 28 16:56:40 linux1 named[12358]: NSTATS 1151503000 1151502900
    Jun 28 16:56:40 linux1 named[12358]: XSTATS 1151503000 1151502900 RR=2 RNXD=0 RFwdR=0 RDupR=0 RFail=0 RFErr=0 RErr=0 RAXFR=0 RLame=0 ROpts=0 SSysQ=2 SAns=0 SFwdQ=0 SDupQ=0 SErr=0 RQ=0 RIQ=0 RFwdQ=0 RDupQ=0 RTCP=0 SFwdR=0 SFail=0 SFErr=0 SNaAns=0 SNXD=0 RUQ=0 RURQ=0 RUXFR=0 RUUpd=0
    Jun 28 16:56:42 linux1 named[12397]: starting (/etc/bind/named.conf).  named 8.4.4-NOESW Sun Jan 25 12:50:29 MST 2004 ^Ilamont@mix.mmjgroup.com:/usr/local/src/Packages/bind/bind-8.4.4/src/bin/named
    Jun 28 16:56:42 linux1 named[12397]: hint zone "" (IN) loaded (serial 0)
    Jun 28 16:56:42 linux1 named[12397]: master zone "localhost" (IN) loaded (serial 1)
    

    Статистика

    Время первой команды журнала15:51:56 2006- 6-28
    Время последней команды журнала17:02:56 2006- 6-28
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %18.81
    Процент синтаксически неверно набранных команд, % 3.96
    Суммарное время работы с терминалом *, час 1.18
    Количество командных строк в единицу времени, команда/мин 1.42
    Частота использования команд
    vi35|==================================| 34.31%
    dig24|=======================| 23.53%
    /etc/init.d/bind13|============| 12.75%
    cat8|=======| 7.84%
    rndc4|===| 3.92%
    [root@linux1:root]#4|===| 3.92%
    screen3|==| 2.94%
    ping3|==| 2.94%
    ndc3|==| 2.94%
    ps1|| 0.98%
    grep1|| 0.98%
    iptables1|| 0.98%
    exit1|| 0.98%
    sc1|| 0.98%
    ____
    *) Интервалы неактивности длительностью 30 минут и более не учитываются

    Справка

    Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
    1. В журнал автоматически попадают все команды, данные в любом терминале системы.

    2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

    3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
      $ l s-l
      bash: l: command not found
      

    4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
      $ test 5 -lt 4
      Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

    5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
      $ find / -name abc
      find: /home/devi-orig/.gnome2: Keine Berechtigung
      find: /home/devi-orig/.gnome2_private: Keine Berechtigung
      find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
      find: /home/devi-orig/.metacity: Keine Berechtigung
      find: /home/devi-orig/.inkscape: Keine Berechtigung
      ^C
      

    6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
      # id
      uid=0(root) gid=0(root) Gruppen=0(root)
      

    7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
      $ vi ~/.bashrc
      2a3,5
      >    if [ -f /usr/local/etc/bash_completion ]; then
      >         . /usr/local/etc/bash_completion
      >        fi
      

    8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
      $ patch ~/.bashrc
      В данном случае изменения применяются к файлу ~/.bashrc

    9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

      Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

    10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

    11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

    12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

    13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

    14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

      $ whoami
      
      user
      
      $ #^ Интересно, кто я?
      
      в журнале это будет выглядеть так:
      $ whoami
      
      user
      
      Интересно, кто я?

    15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

      $ whoami
      
      user
      
      $ cat > /dev/null #^ Интересно, кто я?
      
      Программа whoami выводит имя пользователя, под которым 
      мы зарегистрировались в системе.
      -
      Она не может ответить на вопрос о нашем назначении 
      в этом мире.
      
      В журнале это будет выглядеть так:
      $ whoami
      user
      
      Интересно, кто я?
      Программа whoami выводит имя пользователя, под которым
      мы зарегистрировались в системе.

      Она не может ответить на вопрос о нашем назначении
      в этом мире.
      Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

    16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

    17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
    18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
    19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
      1
          2
      3   
          4
      
      Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

    О программе

    LiLaLo (L3) расшифровывается как Live Lab Log.
    Программа разработана для повышения эффективности обучения Unix/Linux-системам.
    (c) Игорь Чубин, 2004-2008

    $Id$