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

Содержание

Журнал

Пятница (06/05/09)

/dev/pts/10
13:02:08
#dig class13.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class13.unix.nt mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 65344
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;class13.unix.nt.               IN      MX
;; Query time: 0 msec
;; SERVER: 192.168.15.13#53(192.168.15.13)
;; WHEN: Fri Jun  5 13:02:25 2009
;; MSG SIZE  rcvd: 33
/dev/pts/1
13:02:08
#dig class13.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class13.unix.nt mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 65344
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;class13.unix.nt.               IN      MX
;; Query time: 0 msec
;; SERVER: 192.168.15.13#53(192.168.15.13)
;; WHEN: Fri Jun  5 13:02:25 2009
;; MSG SIZE  rcvd: 33
13:02:25
#dig class13.unix.nt mx +short

/dev/pts/10
13:02:25
#dig class13.unix.nt mx +short

/dev/pts/3
13:04:04
#ssh 192.168.15.3
ssh: connect to host 192.168.15.3 port 22: Connection refused
/dev/pts/8
13:04:04
#ssh 192.168.15.3
ssh: connect to host 192.168.15.3 port 22: Connection refused
/dev/pts/3
13:04:08
#ssh 192.168.15.4
Linux linux4.class4.unix.nt 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 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.
You have mail.
Last login: Fri Jun  5 12:58:33 2009 from 192.168.15.11
l3-agent is already running: pid=4242; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/8
13:04:08
#ssh 192.168.15.4
Linux linux4.class4.unix.nt 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 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.
You have mail.
Last login: Fri Jun  5 12:58:33 2009 from 192.168.15.11
l3-agent is already running: pid=4242; pidfile=/root/.lilalo/l3-agent.pid
13:04:14
#cat /etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
...
zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local"
;
/dev/pts/3
13:04:14
#cat /etc/bind/named.conf
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
...
zone "0.in-addr.arpa" {
        type master;
        file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
        type master;
        file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local"
;
/dev/pts/8
13:04:24
#cat /etc/bind/named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "class4.unix.nt" {
        type master;
        file "/etc/bind/db.class4";
};
/dev/pts/3
13:04:24
#cat /etc/bind/named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "class4.unix.nt" {
        type master;
        file "/etc/bind/db.class4";
};
/dev/pts/8
13:04:30
#cat /etc/bind/named.conf.options
options {
        directory "/var/cache/bind";
        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
         forwarders {
                10.0.35.1;
         };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        #listen-on {127.0.0.1; };
        allow-recursion {127.0.0.0/8; };
};
/dev/pts/3
13:04:30
#cat /etc/bind/named.conf.options
options {
        directory "/var/cache/bind";
        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
         forwarders {
                10.0.35.1;
         };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        #listen-on {127.0.0.1; };
        allow-recursion {127.0.0.0/8; };
};
/dev/pts/1
13:04:56
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
        forwarders {
                10.0.35.1;
        };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        listen-on { 192.168.15.13; };
        #allow-recursion { 127.0.0.0/8; };
};
"/etc/bind/named.conf.options" 22L, 633C
/dev/pts/8
13:04:56
#cat /etc/bind/db.
db.0       db.127     db.255     db.class4  db.empty   db.local   db.root
/dev/pts/10
13:04:56
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
        // If there is a firewall between you and nameservers you want
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
        forwarders {
                10.0.35.1;
        };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        listen-on { 192.168.15.13; };
        #allow-recursion { 127.0.0.0/8; };
};
"/etc/bind/named.conf.options" 22L, 633C
/dev/pts/3
13:04:56
#cat /etc/bind/db.
db.0       db.127     db.255     db.class4  db.empty   db.local   db.root
13:04:56
#cat /etc/bind/db.class4
@       SOA linux4.class4.unix.nt. root.class4.unix.nt. 2009060401 3h 12h 72h 1h
        MX      10      linux4
        NS      linux4.class4.unix.nt.
linux4  A       192.168.15.4
super   A       10.0.35.1
mega    A       10.0.35.100
extra   A       10.0.35.254
linux1  A       192.168.15.1
linux2  A       192.168.15.2
linux3  A       192.168.15.3
...
linux7  A       192.168.15.7
linux8  A       192.168.15.8
linux9  A       192.168.15.9
linux10 A        192.168.15.10
linux11 A       192.168.15.11
linux12 A       192.168.15.12
linux13 A       192.168.15.13
linux14 A       192.168.15.14
linux15 A       192.168.15.15
linux16 A       192.168.15.16
/dev/pts/8
13:04:56
#cat /etc/bind/db.class4
@       SOA linux4.class4.unix.nt. root.class4.unix.nt. 2009060401 3h 12h 72h 1h
        MX      10      linux4
        NS      linux4.class4.unix.nt.
linux4  A       192.168.15.4
super   A       10.0.35.1
mega    A       10.0.35.100
extra   A       10.0.35.254
linux1  A       192.168.15.1
linux2  A       192.168.15.2
linux3  A       192.168.15.3
...
linux7  A       192.168.15.7
linux8  A       192.168.15.8
linux9  A       192.168.15.9
linux10 A        192.168.15.10
linux11 A       192.168.15.11
linux12 A       192.168.15.12
linux13 A       192.168.15.13
linux14 A       192.168.15.14
linux15 A       192.168.15.15
linux16 A       192.168.15.16
/dev/pts/10
13:05:14
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0        db.127      db.255      db.class13  db.empty    db.local    db.root
/dev/pts/1
13:05:14
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0        db.127      db.255      db.class13  db.empty    db.local    db.root
/dev/pts/10
13:05:14
#vim /etc/bind/db.class13
--- /tmp/l3-saved-4936.27572.27459	2009-06-05 13:05:46.000000000 +0300
+++ /etc/bind/db.class13	2009-06-05 13:06:06.000000000 +0300
@@ -1,6 +1,6 @@
 $TTL 	3h
 @ 	SOA 	linux13.class13.unix.nt. root.class13.unix.nt. 2009060401 3h 12h 72h 1h 
-	NS 	linux13.unix.nt.
+	NS 	linux13.class14.unix.nt.
 	MX	10 linux13
 linux13	A	192.168.15.13
 #alpha	A 	192.168.15.14
/dev/pts/1
13:05:14
#vim /etc/bind/db.class13
/dev/pts/3
13:05:32
#cat /etc/bind/db.class4 |less
/dev/pts/8
13:05:32
#cat /etc/bind/db.class4 |less
/dev/pts/10
13:06:09
#rndc flush

/dev/pts/1
13:06:09
#rndc flush

/dev/pts/8
13:06:30
#dig @localhost ya.ru
dig: couldn't get address for 'localhost': not found
/dev/pts/3
13:06:30
#dig @localhost ya.ru
dig: couldn't get address for 'localhost': not found
/dev/pts/10
13:07:02
#vim /etc/hosts
--- /tmp/l3-saved-4936.27924.14028	2009-06-05 13:37:26.000000000 +0300
+++ /etc/hosts	2009-06-05 13:37:39.000000000 +0300
@@ -1 +1,2 @@
 192.168.15.13	linux13
+127.0.0.1	localhost
/dev/pts/1
13:07:02
#vim /etc/hosts
прошло 30 минут
/dev/pts/8
13:37:02
#dig @127.0.0.1 ya.ru
; <<>> DiG 9.6.0-P1 <<>> @127.0.0.1 ya.ru
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55141
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;ya.ru.                         IN      A
;; ANSWER SECTION:
ya.ru.                  7200    IN      A       77.88.21.8
ya.ru.                  7200    IN      A       93.158.134.8
ya.ru.                  7200    IN      A       213.180.204.8
;; AUTHORITY SECTION:
ya.ru.                  7200    IN      NS      ns5.yandex.ru.
ya.ru.                  7200    IN      NS      ns1.yandex.ru.
;; Query time: 98 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:37:15 2009
;; MSG SIZE  rcvd: 114
/dev/pts/3
13:37:02
#dig @127.0.0.1 ya.ru
; <<>> DiG 9.6.0-P1 <<>> @127.0.0.1 ya.ru
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55141
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;ya.ru.                         IN      A
;; ANSWER SECTION:
ya.ru.                  7200    IN      A       77.88.21.8
ya.ru.                  7200    IN      A       93.158.134.8
ya.ru.                  7200    IN      A       213.180.204.8
;; AUTHORITY SECTION:
ya.ru.                  7200    IN      NS      ns5.yandex.ru.
ya.ru.                  7200    IN      NS      ns1.yandex.ru.
;; Query time: 98 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:37:15 2009
;; MSG SIZE  rcvd: 114
/dev/pts/8
13:37:15
#dig @localhost ya.ru
dig: couldn't get address for 'localhost': not found
/dev/pts/3
13:37:15
#dig @localhost ya.ru
dig: couldn't get address for 'localhost': not found
/dev/pts/8
13:37:49
#dig @127.0.0.1 ya.ru
; <<>> DiG 9.6.0-P1 <<>> @127.0.0.1 ya.ru
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46395
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;ya.ru.                         IN      A
;; ANSWER SECTION:
ya.ru.                  6650    IN      A       213.180.204.8
ya.ru.                  6650    IN      A       77.88.21.8
ya.ru.                  6650    IN      A       93.158.134.8
;; AUTHORITY SECTION:
ya.ru.                  6650    IN      NS      ns1.yandex.ru.
ya.ru.                  6650    IN      NS      ns5.yandex.ru.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:46:25 2009
;; MSG SIZE  rcvd: 114
/dev/pts/3
13:37:49
#dig @127.0.0.1 ya.ru
; <<>> DiG 9.6.0-P1 <<>> @127.0.0.1 ya.ru
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 46395
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 2, ADDITIONAL: 0
;; QUESTION SECTION:
;ya.ru.                         IN      A
;; ANSWER SECTION:
ya.ru.                  6650    IN      A       213.180.204.8
ya.ru.                  6650    IN      A       77.88.21.8
ya.ru.                  6650    IN      A       93.158.134.8
;; AUTHORITY SECTION:
ya.ru.                  6650    IN      NS      ns1.yandex.ru.
ya.ru.                  6650    IN      NS      ns5.yandex.ru.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:46:25 2009
;; MSG SIZE  rcvd: 114
/dev/pts/10
13:38:12
#~
nameserver 192.168.15.13
domain class13.unix.nt
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/resolv.conf" 5L, 68C written
/dev/pts/1
13:38:12
#~
nameserver 192.168.15.13
domain class13.unix.nt
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/resolv.conf" 5L, 68C written
/dev/pts/10
13:38:27
#ping ya.ru
ping: unknown host ya.ru
/dev/pts/1
13:38:27
#ping ya.ru
ping: unknown host ya.ru
/dev/pts/10
13:38:38
#vim /etc/bind/named.conf
/dev/pts/1
13:38:38
#vim /etc/bind/named.conf
/dev/pts/10
13:39:33
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
@       NS      linux13.class14.unix.nt. root.class13.unix.nt. 2009060401 3h 12h 72h 1h
        MX      10 linux13
alex14  A       192.168.15.14
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/bind/db.class13" 7L, 183C written
/dev/pts/1
13:39:33
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
@       NS      linux13.class14.unix.nt. root.class13.unix.nt. 2009060401 3h 12h 72h 1h
        MX      10 linux13
alex14  A       192.168.15.14
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/bind/db.class13" 7L, 183C written
/dev/pts/10
13:40:59
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
        forwarders {
                10.0.35.1;
        };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        listen-on { 192.168.15.13; };
        #allow-recursion { 127.0.0.0/8; };
                  { 127.0.0.1; };
};
"/etc/bind/named.conf.options" 22L, 633C
"/etc/bind/named.conf.options" 22L, 629C written
/dev/pts/1
13:40:59
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
        // to talk to, you may need to fix the firewall to allow multiple
        // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
        forwarders {
                10.0.35.1;
        };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        listen-on { 192.168.15.13; };
        #allow-recursion { 127.0.0.0/8; };
                  { 127.0.0.1; };
};
"/etc/bind/named.conf.options" 22L, 633C
"/etc/bind/named.conf.options" 22L, 629C written
/dev/pts/10
13:41:27
#rndc flush

/dev/pts/1
13:41:27
#rndc flush

/dev/pts/10
13:41:32
#ping ya.ru
PING ya.ru (213.180.204.8) 56(84) bytes of data.
64 bytes from ya.ru (213.180.204.8): icmp_seq=1 ttl=56 time=30.2 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=2 ttl=56 time=31.4 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=3 ttl=56 time=88.7 ms
^C
--- ya.ru ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 30.225/50.129/88.714/27.289 ms
/dev/pts/1
13:41:32
#ping ya.ru
PING ya.ru (213.180.204.8) 56(84) bytes of data.
64 bytes from ya.ru (213.180.204.8): icmp_seq=1 ttl=56 time=30.2 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=2 ttl=56 time=31.4 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=3 ttl=56 time=88.7 ms
^C
--- ya.ru ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 30.225/50.129/88.714/27.289 ms
/dev/pts/10
13:41:40
#dig linux13
; <<>> DiG 9.6.0-P1 <<>> linux13
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 19022
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;linux13.                       IN      A
;; AUTHORITY SECTION:
.                       10800   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060500 1800 900 604800 86400
;; Query time: 149 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:42:39 2009
;; MSG SIZE  rcvd: 100
You have new mail in /var/mail/root
/dev/pts/1
13:41:40
#dig linux13
; <<>> DiG 9.6.0-P1 <<>> linux13
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 19022
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;linux13.                       IN      A
;; AUTHORITY SECTION:
.                       10800   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060500 1800 900 604800 86400
;; Query time: 149 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:42:39 2009
;; MSG SIZE  rcvd: 100
You have new mail in /var/mail/root
/dev/pts/10
13:42:39
#dig linux13 mx
; <<>> DiG 9.6.0-P1 <<>> linux13 mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17600
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;linux13.                       IN      MX
;; AUTHORITY SECTION:
.                       10795   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060500 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:42:44 2009
;; MSG SIZE  rcvd: 100
/dev/pts/1
13:42:39
#dig linux13 mx
; <<>> DiG 9.6.0-P1 <<>> linux13 mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 17600
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;linux13.                       IN      MX
;; AUTHORITY SECTION:
.                       10795   IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060500 1800 900 604800 86400
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:42:44 2009
;; MSG SIZE  rcvd: 100
/dev/pts/8
13:46:39
#dig 127.0.0.1 mx +short

/dev/pts/3
13:46:39
#dig 127.0.0.1 mx +short

13:46:48
#dig 127.0.0.1 ya.ru
; <<>> DiG 9.6.0-P1 <<>> 127.0.0.1 ya.ru
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 14929
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;127.0.0.1.                     IN      A
;; AUTHORITY SECTION:
.                       8108    IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060500 1800 900 604800 86400
;; Query time: 0 msec
...
ya.ru.                  6496    IN      A       93.158.134.8
ya.ru.                  6496    IN      A       213.180.204.8
ya.ru.                  6496    IN      A       77.88.21.8
;; AUTHORITY SECTION:
ya.ru.                  6496    IN      NS      ns1.yandex.ru.
ya.ru.                  6496    IN      NS      ns5.yandex.ru.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:48:59 2009
;; MSG SIZE  rcvd: 114
/dev/pts/8
13:46:48
#dig 127.0.0.1 ya.ru
; <<>> DiG 9.6.0-P1 <<>> 127.0.0.1 ya.ru
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 14929
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;127.0.0.1.                     IN      A
;; AUTHORITY SECTION:
.                       8108    IN      SOA     A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060500 1800 900 604800 86400
;; Query time: 0 msec
...
ya.ru.                  6496    IN      A       93.158.134.8
ya.ru.                  6496    IN      A       213.180.204.8
ya.ru.                  6496    IN      A       77.88.21.8
;; AUTHORITY SECTION:
ya.ru.                  6496    IN      NS      ns1.yandex.ru.
ya.ru.                  6496    IN      NS      ns5.yandex.ru.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun  5 13:48:59 2009
;; MSG SIZE  rcvd: 114
/dev/pts/10
13:47:08
#ssh 192.168.15.4
Linux linux4.class4.unix.nt 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 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.
You have mail.
Last login: Fri Jun  5 13:04:14 2009 from 192.168.15.13
l3-agent is already running: pid=4242; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/1
13:47:08
#ssh 192.168.15.4
Linux linux4.class4.unix.nt 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 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.
You have mail.
Last login: Fri Jun  5 13:04:14 2009 from 192.168.15.13
l3-agent is already running: pid=4242; pidfile=/root/.lilalo/l3-agent.pid
/dev/pts/8
13:48:59
#netstat -lnp | less
/dev/pts/3
13:48:59
#netstat -lnp | less
/dev/pts/8
13:49:36
#route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.15.0    *               255.255.255.0   U     0      0        0 eth0
default         192.168.15.254  0.0.0.0         UG    0      0        0 eth0
/dev/pts/3
13:49:36
#route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.15.0    *               255.255.255.0   U     0      0        0 eth0
default         192.168.15.254  0.0.0.0         UG    0      0        0 eth0
/dev/pts/8
13:49:43
#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:04:76:a0:a9:12
          inet addr:192.168.15.4  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::204:76ff:fea0:a912/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1067 errors:0 dropped:0 overruns:0 frame:0
          TX packets:622 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:114595 (111.9 KiB)  TX bytes:175387 (171.2 KiB)
          Interrupt:20 Base address:0xc00
eth1      Link encap:Ethernet  HWaddr 00:1b:fc:7d:bb:1e
...
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:430 errors:0 dropped:0 overruns:0 frame:0
          TX packets:430 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:41552 (40.5 KiB)  TX bytes:41552 (40.5 KiB)
/dev/pts/3
13:49:43
#ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:04:76:a0:a9:12
          inet addr:192.168.15.4  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::204:76ff:fea0:a912/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1067 errors:0 dropped:0 overruns:0 frame:0
          TX packets:622 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:114595 (111.9 KiB)  TX bytes:175387 (171.2 KiB)
          Interrupt:20 Base address:0xc00
eth1      Link encap:Ethernet  HWaddr 00:1b:fc:7d:bb:1e
...
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:430 errors:0 dropped:0 overruns:0 frame:0
          TX packets:430 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:41552 (40.5 KiB)  TX bytes:41552 (40.5 KiB)
/dev/pts/8
13:49:50
#exit
exit
Connection to 192.168.15.4 closed.
You have new mail in /var/mail/root
/dev/pts/3
13:49:50
#exit
exit
Connection to 192.168.15.4 closed.
You have new mail in /var/mail/root
/dev/pts/8
13:50:05
#mutt
  73 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 400 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 106 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 401 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 402 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 403 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 383 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 384 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 385 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 386 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
...
 391 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 392 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 393 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 394 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 395 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 396                               46) Postmaster notify: see transcript for details
 397 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 398 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 399 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
                                                                                                       52
/dev/pts/3
13:50:05
#mutt
  73 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 400 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 106 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 401 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 402 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 403 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 383 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 384 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 385 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 386 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
...
 391 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 392 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 393 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 394 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 395 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 396                               46) Postmaster notify: see transcript for details
 397 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 398 N   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 399 N   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
                                                                                                       52
/dev/pts/8
13:50:56
#mutt
   1 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 533 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   3                               46) Postmaster notify: see transcript for details
   4 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   5                               46) Postmaster notify: see transcript for details
   6 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   7                               46) Postmaster notify: see transcript for details
   8 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   9                               46) Postmaster notify: see transcript for details
  10 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
...
  13                               46) Postmaster notify: see transcript for details
  14 O   Jun 05 Mail Delivery S (  50) Returned maile transcript for details
  15 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
  16 O   Jun 05 Mail Delivery S (  47) Postmaster notify: see transcript for details
  17 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 543 O   Jun 05 Mail Delivery S (  50) Returned maile transcript for details
  19 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
  20 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
  21                                      Del:1 1.2M]---(threads/date)
546 kept, 0 deleted.
/dev/pts/3
13:50:56
#mutt
   1 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 533 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   3                               46) Postmaster notify: see transcript for details
   4 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   5                               46) Postmaster notify: see transcript for details
   6 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   7                               46) Postmaster notify: see transcript for details
   8 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
   9                               46) Postmaster notify: see transcript for details
  10 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
...
  13                               46) Postmaster notify: see transcript for details
  14 O   Jun 05 Mail Delivery S (  50) Returned maile transcript for details
  15 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
  16 O   Jun 05 Mail Delivery S (  47) Postmaster notify: see transcript for details
  17 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 543 O   Jun 05 Mail Delivery S (  50) Returned maile transcript for details
  19 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
  20 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
  21                                      Del:1 1.2M]---(threads/date)
546 kept, 0 deleted.
/dev/pts/8
13:51:21
#mutt
 127 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 128 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 129 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 130 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 131 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 132 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 133 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 134 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 135 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 136 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
...
 139 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 140 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 141 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 142 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 143 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 143 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 144 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 145 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 146 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 147 O   Jun 05 Mail Delivery S (  50) Returned42ail: see transcript for details                        6
/dev/pts/3
13:51:21
#mutt
 127 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 128 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 129 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 130 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 131 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 132 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 133 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 134 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 135 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 136 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
...
 139 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 140 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 141 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 142 OD  Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 143 OD  Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 143 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 144 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 145 O   Jun 05 Mail Delivery S (  46) Postmaster notify: see transcript for details
 146 O   Jun 05 Mail Delivery S (  50) Returned mail: see transcript for details
 147 O   Jun 05 Mail Delivery S (  50) Returned42ail: see transcript for details                        6
/dev/pts/1
13:51:45
#vim /etc/bind/named.conf
/dev/pts/10
13:51:45
#vim /etc/bind/named.conf
13:52:12
#// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
         forwarders {
                10.0.35.1;
         };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        #listen-on {127.0.0.1; };
        allow-recursion {127.0.0.0/8; };
};
"/etc/bind/named.conf.options" 22L, 643C
Переход в режим Ex. Для перехода в Обычный режим наб
:q!
/dev/pts/1
13:52:12
#// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
        // If your ISP provided one or more IP addresses for stable
        // nameservers, you probably want to use them as forwarders.
        // Uncomment the following block, and insert the addresses replacing
        // the all-0's placeholder.
         forwarders {
                10.0.35.1;
         };
        auth-nxdomain no;    # conform to RFC1035
        listen-on-v6 { any; };
        #listen-on {127.0.0.1; };
        allow-recursion {127.0.0.0/8; };
};
"/etc/bind/named.conf.options" 22L, 643C
Переход в режим Ex. Для перехода в Обычный режим наб
:q!
/dev/pts/10
13:52:19
#vim /etc/bind/named.conf.local
/dev/pts/1
13:52:19
#vim /etc/bind/named.conf.local
/dev/pts/10
13:52:29
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0       db.127     db.255     db.class4  db.empty   db.local   db.root
13:52:29
#vim /etc/bind/db.class4
/dev/pts/1
13:52:29
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0       db.127     db.255     db.class4  db.empty   db.local   db.root
13:52:29
#vim /etc/bind/db.class4
/dev/pts/10
13:52:41
#cat /var/mail/root

/dev/pts/1
13:52:41
#cat /var/mail/root

13:52:43
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
exit
Connection to 192.168.15.4 closed.
You have mail in /var/mail/root
/dev/pts/10
13:52:43
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
exit
Connection to 192.168.15.4 closed.
You have mail in /var/mail/root
/dev/pts/8
13:53:02
#mutt
      To: root@linux13.class13.unix.nt
      Cc:
     Bcc:
 Subject: dafbdsfbdsf
Reply-To: Alex Antonov <user@linux13.class13.unix.nt>
     Fcc: ~/sent
     Mix: <no chain defined>
Security: Clear
-- Attachments
Ma-l sent/var/mail/root [Msgs:0]---(threads/date)---                                                  (all)
Mailbox is unchanged.
/dev/pts/3
13:53:02
#mutt
      To: root@linux13.class13.unix.nt
      Cc:
     Bcc:
 Subject: dafbdsfbdsf
Reply-To: Alex Antonov <user@linux13.class13.unix.nt>
     Fcc: ~/sent
     Mix: <no chain defined>
Security: Clear
-- Attachments
Ma-l sent/var/mail/root [Msgs:0]---(threads/date)---                                                  (all)
Mailbox is unchanged.
/dev/pts/10
13:53:51
#ls /var/mail/root
/var/mail/root
/dev/pts/1
13:53:51
#ls /var/mail/root
/var/mail/root
/dev/pts/10
13:53:54
#cd /var/mail/root
bash: cd: /var/mail/root: Not a directory
/dev/pts/1
13:53:54
#cd /var/mail/root
bash: cd: /var/mail/root: Not a directory
/dev/pts/10
13:54:04
#cat /var/mail/root

/dev/pts/1
13:54:04
#cat /var/mail/root

13:54:08
#vim /root/.muttrc
/dev/pts/10
13:54:08
#vim /root/.muttrc
--- /tmp/l3-saved-4936.27679.2417	2009-06-05 13:54:26.000000000 +0300
+++ /root/.muttrc	2009-06-05 13:54:43.000000000 +0300
@@ -1,3 +1,3 @@
-my_hdr  From:           Alex Antonov     <user@linux13.class13.unix.nt>
-my_hdr  Reply-To:       Alex Antonov     <user@linux13.class13.unix.nt>
+my_hdr  From:           Alex Antonov     <root@linux13.class13.unix.nt>
+my_hdr  Reply-To:       Alex Antonov     <root@linux13.class13.unix.nt>
 set     realname =      'Alex Antonov'
13:54:44
#cat /var/log/mail.log
Jun  4 18:20:01 linux13 sm-msp-queue[8221]: My unqualified host name (linux13) unknown; sleeping for retry
Jun  4 18:20:01 linux13 sm-mta[8222]: n54FK1O7008222: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041520.n54FK1iG008194@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
Jun  4 18:20:01 linux13 sm-mta[8222]: n54FK1O7008222: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
Jun  4 18:20:01 linux13 sendmail[8194]: n54FK1iG008194: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FK1O7008222 Message accepted for delivery)
Jun  4 18:21:01 linux13 sendmail[8211]: unable to qualify my own domain name (linux13) -- using short name
Jun  4 18:21:01 linux13 sendmail[8211]: n54FL101008211: from=root, size=341, class=0, nrcpts=1, msgid=<200906041521.n54FL101008211@linux13>, relay=root@localhost
Jun  4 18:21:01 linux13 sm-msp-queue[8221]: unable to qualify my own domain name (linux13) -- using short name
Jun  4 18:21:01 linux13 sm-mta[8245]: n54FL1Rm008245: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041521.n54FL101008211@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
Jun  4 18:21:01 linux13 sm-mta[8245]: n54FL1Rm008245: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
Jun  4 18:21:01 linux13 sendmail[8211]: n54FL101008211: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FL1Rm008245 Message accepted for delivery)
...
Jun  4 18:40:01 linux13 sm-mta[9057]: n54Fe1LW009057: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
Jun  4 18:40:01 linux13 sendmail[9054]: My unqualified host name (linux13) unknown; sleeping for retry
Jun  4 18:40:01 linux13 sendmail[9009]: n54Fe1Bm009009: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fe1LW009057 Message accepted for delivery)
Jun  4 18:40:01 linux13 sm-msp-queue[9064]: My unqualified host name (linux13) unknown; sleeping for retry
Jun  4 18:41:01 linux13 sendmail[9054]: unable to qualify my own domain name (linux13) -- using short name
Jun  4 18:41:01 linux13 sendmail[9054]: n54Ff1s0009054: from=root, size=341, class=0, nrcpts=1, msgid=<200906041541.n54Ff1s0009054@linux13>, relay=root@localhost
Jun  4 18:41:01 linux13 sendmail[9076]: My unqualified host name (linux13) unknown; sleeping for retry
Jun  4 18:41:01 linux13 sm-mta[9069]: n54Ff1bb009069: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041541.n54Ff1s0009054@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
Jun  4 18:41:01 linux13 sm-mta[9069]: n54Ff1bb009069: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
Jun  4 18:41:01 linux13 sendmail[9054]: n54Ff1s0009054: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Ff1bb009069 Message accepted for delivery)

Файлы

  • /etc/bind/db.
  • /etc/bind/db.class4
  • /etc/bind/named.conf
  • /etc/bind/named.conf.local
  • /etc/bind/named.conf.options
  • /var/log/mail.log
  • /var/mail/root
  • /etc/bind/db.
    >
    db.0       db.127     db.255     db.class4  db.empty   db.local   db.root
    
    /etc/bind/db.class4
    >
    @       SOA linux4.class4.unix.nt. root.class4.unix.nt. 2009060401 3h 12h 72h 1h
            MX      10      linux4
            NS      linux4.class4.unix.nt.
    linux4  A       192.168.15.4
    super   A       10.0.35.1
    mega    A       10.0.35.100
    extra   A       10.0.35.254
    linux1  A       192.168.15.1
    linux2  A       192.168.15.2
    linux3  A       192.168.15.3
    linux5  A       192.168.15.5
    linux6  A       192.168.15.6
    linux7  A       192.168.15.7
    linux8  A       192.168.15.8
    linux9  A       192.168.15.9
    linux10 A        192.168.15.10
    linux11 A       192.168.15.11
    linux12 A       192.168.15.12
    linux13 A       192.168.15.13
    linux14 A       192.168.15.14
    linux15 A       192.168.15.15
    linux16 A       192.168.15.16
    
    /etc/bind/named.conf
    >
    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
    // structure of BIND configuration files in Debian, *BEFORE* you customize
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local
    include "/etc/bind/named.conf.options";
    // prime the server with knowledge of the root servers
    zone "." {
            type hint;
            file "/etc/bind/db.root";
    };
    // be authoritative for the localhost forward and reverse zones, and for
    // broadcast zones as per RFC 1912
    zone "localhost" {
            type master;
            file "/etc/bind/db.local";
    };
    zone "127.in-addr.arpa" {
            type master;
            file "/etc/bind/db.127";
    };
    zone "0.in-addr.arpa" {
            type master;
            file "/etc/bind/db.0";
    };
    zone "255.in-addr.arpa" {
            type master;
            file "/etc/bind/db.255";
    };
    include "/etc/bind/named.conf.local"
    ;
    
    /etc/bind/named.conf.local
    >
    //
    // Do any local configuration here
    //
    // Consider adding the 1918 zones here, if they are not used in your
    // organization
    //include "/etc/bind/zones.rfc1918";
    zone "class4.unix.nt" {
            type master;
            file "/etc/bind/db.class4";
    };
    
    /etc/bind/named.conf.options
    >
    options {
            directory "/var/cache/bind";
            // If there is a firewall between you and nameservers you want
            // to talk to, you may need to fix the firewall to allow multiple
            // ports to talk.  See http://www.kb.cert.org/vuls/id/800113
            // If your ISP provided one or more IP addresses for stable
            // nameservers, you probably want to use them as forwarders.
            // Uncomment the following block, and insert the addresses replacing
            // the all-0's placeholder.
             forwarders {
                    10.0.35.1;
             };
            auth-nxdomain no;    # conform to RFC1035
            listen-on-v6 { any; };
            #listen-on {127.0.0.1; };
            allow-recursion {127.0.0.0/8; };
    };
    
    /var/log/mail.log
    >
    Jun  4 18:20:01 linux13 sm-msp-queue[8221]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:20:01 linux13 sm-mta[8222]: n54FK1O7008222: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041520.n54FK1iG008194@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:20:01 linux13 sm-mta[8222]: n54FK1O7008222: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:20:01 linux13 sendmail[8194]: n54FK1iG008194: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FK1O7008222 Message accepted for delivery)
    Jun  4 18:21:01 linux13 sendmail[8211]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:21:01 linux13 sendmail[8211]: n54FL101008211: from=root, size=341, class=0, nrcpts=1, msgid=<200906041521.n54FL101008211@linux13>, relay=root@localhost
    Jun  4 18:21:01 linux13 sm-msp-queue[8221]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:21:01 linux13 sm-mta[8245]: n54FL1Rm008245: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041521.n54FL101008211@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:21:01 linux13 sm-mta[8245]: n54FL1Rm008245: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:21:01 linux13 sendmail[8211]: n54FL101008211: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FL1Rm008245 Message accepted for delivery)
    Jun  4 18:21:01 linux13 sendmail[8252]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:22:01 linux13 sendmail[8252]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:22:01 linux13 sendmail[8252]: n54FM1p1008252: from=root, size=341, class=0, nrcpts=1, msgid=<200906041522.n54FM1p1008252@linux13>, relay=root@localhost
    Jun  4 18:22:01 linux13 sendmail[8265]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:22:01 linux13 sm-mta[8263]: n54FM1qM008263: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041522.n54FM1p1008252@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:22:01 linux13 sm-mta[8263]: n54FM1qM008263: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:22:01 linux13 sendmail[8252]: n54FM1p1008252: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FM1qM008263 Message accepted for delivery)
    Jun  4 18:22:36 linux13 sm-mta[8371]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:22:38 linux13 sm-msp-queue[8376]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:23:01 linux13 sendmail[8265]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:23:01 linux13 sendmail[8265]: n54FN1Ag008265: from=root, size=341, class=0, nrcpts=1, msgid=<200906041523.n54FN1Ag008265@linux13>, relay=root@localhost
    Jun  4 18:23:01 linux13 sendmail[8265]: n54FN1Ag008265: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jun  4 18:23:01 linux13 sendmail[8382]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:23:36 linux13 sm-mta[8371]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:23:36 linux13 sm-mta[8447]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Jun  4 18:23:38 linux13 sm-msp-queue[8376]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:23:38 linux13 sm-mta[8451]: n54FNcgl008451: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041523.n54FN1Ag008265@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:23:38 linux13 sm-mta[8451]: n54FNcgl008451: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:23:38 linux13 sm-msp-queue[8449]: n54FN1Ag008265: to=root, ctladdr=root (0/0), delay=00:00:37, xdelay=00:00:00, mailer=relay, pri=120341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FNcgl008451 Message accepted for delivery)
    Jun  4 18:24:01 linux13 sendmail[8382]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:24:01 linux13 sendmail[8382]: n54FO15Q008382: from=root, size=341, class=0, nrcpts=1, msgid=<200906041524.n54FO15Q008382@linux13>, relay=root@localhost
    Jun  4 18:24:01 linux13 sendmail[8475]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:24:01 linux13 sm-mta[8470]: n54FO1MA008470: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041524.n54FO15Q008382@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:24:01 linux13 sm-mta[8470]: n54FO1MA008470: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:24:01 linux13 sendmail[8382]: n54FO15Q008382: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FO1MA008470 Message accepted for delivery)
    Jun  4 18:25:01 linux13 sendmail[8475]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:25:01 linux13 sendmail[8475]: n54FP1Db008475: from=root, size=341, class=0, nrcpts=1, msgid=<200906041525.n54FP1Db008475@linux13>, relay=root@localhost
    Jun  4 18:25:01 linux13 sm-mta[8485]: n54FP1We008485: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041525.n54FP1Db008475@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:25:01 linux13 sm-mta[8485]: n54FP1We008485: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:25:01 linux13 sendmail[8475]: n54FP1Db008475: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FP1We008485 Message accepted for delivery)
    Jun  4 18:25:01 linux13 sendmail[8492]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:26:01 linux13 sendmail[8527]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:26:01 linux13 sendmail[8492]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:26:01 linux13 sendmail[8492]: n54FQ14P008492: from=root, size=341, class=0, nrcpts=1, msgid=<200906041526.n54FQ14P008492@linux13>, relay=root@localhost
    Jun  4 18:26:01 linux13 sm-mta[8529]: n54FQ1CA008529: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041526.n54FQ14P008492@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:26:01 linux13 sm-mta[8529]: n54FQ1CA008529: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:26:01 linux13 sendmail[8492]: n54FQ14P008492: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FQ1CA008529 Message accepted for delivery)
    Jun  4 18:27:01 linux13 sendmail[8527]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:27:01 linux13 sendmail[8527]: n54FR1cx008527: from=root, size=341, class=0, nrcpts=1, msgid=<200906041527.n54FR1cx008527@linux13>, relay=root@localhost
    Jun  4 18:27:01 linux13 sm-mta[8544]: n54FR1h8008544: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041527.n54FR1cx008527@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:27:01 linux13 sm-mta[8544]: n54FR1h8008544: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:27:01 linux13 sendmail[8527]: n54FR1cx008527: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FR1h8008544 Message accepted for delivery)
    Jun  4 18:27:01 linux13 sendmail[8551]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:28:01 linux13 sendmail[8565]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:28:01 linux13 sendmail[8551]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:28:01 linux13 sendmail[8551]: n54FS15a008551: from=root, size=341, class=0, nrcpts=1, msgid=<200906041528.n54FS15a008551@linux13>, relay=root@localhost
    Jun  4 18:28:02 linux13 sm-mta[8567]: n54FS1T4008567: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041528.n54FS15a008551@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:28:02 linux13 sm-mta[8567]: n54FS1T4008567: to=<root@linux13>, delay=00:00:01, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:28:02 linux13 sendmail[8551]: n54FS15a008551: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FS1T4008567 Message accepted for delivery)
    Jun  4 18:29:01 linux13 sendmail[8583]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:29:01 linux13 sendmail[8565]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:29:01 linux13 sendmail[8565]: n54FT1E3008565: from=root, size=341, class=0, nrcpts=1, msgid=<200906041529.n54FT1E3008565@linux13>, relay=root@localhost
    Jun  4 18:29:01 linux13 sm-mta[8585]: n54FT1FX008585: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041529.n54FT1E3008565@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:29:01 linux13 sm-mta[8585]: n54FT1FX008585: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:29:01 linux13 sendmail[8565]: n54FT1E3008565: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FT1FX008585 Message accepted for delivery)
    Jun  4 18:30:01 linux13 sendmail[8583]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:30:01 linux13 sendmail[8583]: n54FU11M008583: from=root, size=341, class=0, nrcpts=1, msgid=<200906041530.n54FU11M008583@linux13>, relay=root@localhost
    Jun  4 18:30:01 linux13 sm-mta[8586]: n54FU1gk008586: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041530.n54FU11M008583@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:30:01 linux13 sm-mta[8586]: n54FU1gk008586: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:30:01 linux13 sendmail[8583]: n54FU11M008583: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FU1gk008586 Message accepted for delivery)
    Jun  4 18:30:01 linux13 sendmail[8592]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:30:27 linux13 sm-mta[8543]: n54FQYFq008543: from=root@mail.ru, size=100, class=0, nrcpts=1, msgid=<200906041528.n54FQYFq008543@linux13>, proto=SMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:30:27 linux13 sm-mta[8543]: n54FQYFq008543: to=root@class13.unix.nt, delay=00:01:51, mailer=esmtp, pri=30100, dsn=4.4.3, stat=queued
    Jun  4 18:31:01 linux13 sendmail[8592]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:31:01 linux13 sendmail[8592]: n54FV1U2008592: from=root, size=341, class=0, nrcpts=1, msgid=<200906041531.n54FV1U2008592@linux13>, relay=root@localhost
    Jun  4 18:31:01 linux13 sendmail[8601]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:31:01 linux13 sm-mta[8597]: n54FV1u3008597: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041531.n54FV1U2008592@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:31:01 linux13 sm-mta[8597]: n54FV1u3008597: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:31:01 linux13 sendmail[8592]: n54FV1U2008592: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FV1u3008597 Message accepted for delivery)
    Jun  4 18:32:01 linux13 sendmail[8601]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:32:01 linux13 sendmail[8601]: n54FW1xh008601: from=root, size=341, class=0, nrcpts=1, msgid=<200906041532.n54FW1xh008601@linux13>, relay=root@localhost
    Jun  4 18:32:01 linux13 sendmail[8764]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:32:01 linux13 sm-mta[8757]: n54FW17G008757: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041532.n54FW1xh008601@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:32:01 linux13 sm-mta[8757]: n54FW17G008757: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:32:01 linux13 sendmail[8601]: n54FW1xh008601: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FW17G008757 Message accepted for delivery)
    Jun  4 18:33:01 linux13 sendmail[8764]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:33:01 linux13 sendmail[8764]: n54FX1Nk008764: from=root, size=341, class=0, nrcpts=1, msgid=<200906041533.n54FX1Nk008764@linux13>, relay=root@localhost
    Jun  4 18:33:01 linux13 sendmail[8785]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:33:01 linux13 sm-mta[8779]: n54FX1b1008779: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041533.n54FX1Nk008764@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:33:01 linux13 sm-mta[8779]: n54FX1b1008779: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:33:01 linux13 sendmail[8764]: n54FX1Nk008764: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FX1b1008779 Message accepted for delivery)
    Jun  4 18:34:01 linux13 sendmail[8785]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:34:01 linux13 sendmail[8785]: n54FY1Os008785: from=root, size=341, class=0, nrcpts=1, msgid=<200906041534.n54FY1Os008785@linux13>, relay=root@localhost
    Jun  4 18:34:01 linux13 sendmail[8804]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:34:01 linux13 sm-mta[8798]: n54FY10J008798: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041534.n54FY1Os008785@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:34:01 linux13 sm-mta[8798]: n54FY10J008798: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:34:01 linux13 sendmail[8785]: n54FY1Os008785: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54FY10J008798 Message accepted for delivery)
    Jun  4 18:35:01 linux13 sendmail[8804]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:35:01 linux13 sendmail[8804]: n54FZ181008804: from=root, size=341, class=0, nrcpts=1, msgid=<200906041535.n54FZ181008804@linux13>, relay=root@localhost
    Jun  4 18:35:01 linux13 sendmail[8804]: n54FZ181008804: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jun  4 18:35:01 linux13 sendmail[8875]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:35:02 linux13 sm-mta[8901]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:35:04 linux13 sm-msp-queue[8906]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:36:01 linux13 sendmail[8875]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:36:01 linux13 sendmail[8916]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:36:01 linux13 sendmail[8875]: n54Fa1PM008875: from=root, size=341, class=0, nrcpts=1, msgid=<200906041536.n54Fa1PM008875@linux13>, relay=root@localhost
    Jun  4 18:36:01 linux13 sendmail[8875]: n54Fa1PM008875: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
    Jun  4 18:36:02 linux13 sm-mta[8901]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:36:02 linux13 sm-mta[8918]: starting daemon (8.14.3): SMTP+queueing@00:10:00
    Jun  4 18:36:04 linux13 sm-msp-queue[8906]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:36:04 linux13 sm-mta[8922]: n54Fa4n3008922: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041536.n54Fa1PM008875@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:36:04 linux13 sm-mta[8922]: n54Fa4n3008922: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:36:04 linux13 sm-msp-queue[8920]: n54Fa1PM008875: to=root, ctladdr=root (0/0), delay=00:00:03, xdelay=00:00:00, mailer=relay, pri=120341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fa4n3008922 Message accepted for delivery)
    Jun  4 18:36:05 linux13 sm-mta[8922]: n54Fa4n5008922: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041535.n54FZ181008804@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:36:05 linux13 sm-mta[8922]: n54Fa4n5008922: to=<root@linux13>, delay=00:00:01, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:36:05 linux13 sm-msp-queue[8920]: n54FZ181008804: to=root, ctladdr=root (0/0), delay=00:01:04, xdelay=00:00:01, mailer=relay, pri=120341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fa4n5008922 Message accepted for delivery)
    Jun  4 18:37:01 linux13 sendmail[8916]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:37:01 linux13 sendmail[8916]: n54Fb12t008916: from=root, size=341, class=0, nrcpts=1, msgid=<200906041537.n54Fb12t008916@linux13>, relay=root@localhost
    Jun  4 18:37:01 linux13 sm-mta[8946]: n54Fb1wb008946: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041537.n54Fb12t008916@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:37:01 linux13 sm-mta[8946]: n54Fb1wb008946: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:37:01 linux13 sendmail[8916]: n54Fb12t008916: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fb1wb008946 Message accepted for delivery)
    Jun  4 18:37:01 linux13 sendmail[8951]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:38:01 linux13 sendmail[8951]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:38:01 linux13 sendmail[8951]: n54Fc1vT008951: from=root, size=341, class=0, nrcpts=1, msgid=<200906041538.n54Fc1vT008951@linux13>, relay=root@localhost
    Jun  4 18:38:01 linux13 sendmail[8967]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:38:01 linux13 sm-mta[8969]: n54Fc16C008969: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041538.n54Fc1vT008951@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:38:01 linux13 sm-mta[8969]: n54Fc16C008969: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:38:01 linux13 sendmail[8951]: n54Fc1vT008951: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fc16C008969 Message accepted for delivery)
    Jun  4 18:38:28 linux13 sm-mta[8944]: n54FaIgp008944: from=root@mail.ru, size=93, class=0, nrcpts=1, msgid=<200906041537.n54FaIgp008944@linux13>, proto=SMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:38:28 linux13 sm-mta[8944]: n54FaIgp008944: to=root@class13.unix.nt, delay=00:00:52, mailer=local, pri=30093, dsn=4.4.3, stat=queued
    Jun  4 18:39:01 linux13 sendmail[8967]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:39:01 linux13 sendmail[8967]: n54Fd1kW008967: from=root, size=341, class=0, nrcpts=1, msgid=<200906041539.n54Fd1kW008967@linux13>, relay=root@localhost
    Jun  4 18:39:01 linux13 sm-mta[9003]: n54Fd1YL009003: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041539.n54Fd1kW008967@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:39:01 linux13 sm-mta[9003]: n54Fd1YL009003: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:39:01 linux13 sendmail[8967]: n54Fd1kW008967: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fd1YL009003 Message accepted for delivery)
    Jun  4 18:39:01 linux13 sendmail[9009]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:40:01 linux13 sendmail[9009]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:40:01 linux13 sendmail[9009]: n54Fe1Bm009009: from=root, size=341, class=0, nrcpts=1, msgid=<200906041540.n54Fe1Bm009009@linux13>, relay=root@localhost
    Jun  4 18:40:01 linux13 sm-mta[9057]: n54Fe1LW009057: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041540.n54Fe1Bm009009@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:40:01 linux13 sm-mta[9057]: n54Fe1LW009057: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:40:01 linux13 sendmail[9054]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:40:01 linux13 sendmail[9009]: n54Fe1Bm009009: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Fe1LW009057 Message accepted for delivery)
    Jun  4 18:40:01 linux13 sm-msp-queue[9064]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:41:01 linux13 sendmail[9054]: unable to qualify my own domain name (linux13) -- using short name
    Jun  4 18:41:01 linux13 sendmail[9054]: n54Ff1s0009054: from=root, size=341, class=0, nrcpts=1, msgid=<200906041541.n54Ff1s0009054@linux13>, relay=root@localhost
    Jun  4 18:41:01 linux13 sendmail[9076]: My unqualified host name (linux13) unknown; sleeping for retry
    Jun  4 18:41:01 linux13 sm-mta[9069]: n54Ff1bb009069: from=<root@linux13>, size=571, class=0, nrcpts=1, msgid=<200906041541.n54Ff1s0009054@linux13>, proto=ESMTP, daemon=MTA-v4, relay=localhost [127.0.0.1] (may be forged)
    Jun  4 18:41:01 linux13 sm-mta[9069]: n54Ff1bb009069: to=<root@linux13>, delay=00:00:00, mailer=local, pri=30571, dsn=4.4.3, stat=queued
    Jun  4 18:41:01 linux13 sendmail[9054]: n54Ff1s0009054: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30341, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (n54Ff1bb009069 Message accepted for delivery)
    
    /var/mail/root
    >

    Статистика

    Время первой команды журнала13:02:08 2009- 6- 5
    Время последней команды журнала13:54:44 2009- 6- 5
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, % 9.90
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 0.38
    Количество командных строк в единицу времени, команда/мин 4.47
    Частота использования команд
    dig20|===================| 19.05%
    cat17|================| 16.19%
    vim14|=============| 13.33%
    +q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b3112|===========| 11.43%
    mutt8|=======| 7.62%
    ssh6|=====| 5.71%
    rndc4|===| 3.81%
    less4|===| 3.81%
    ping4|===| 3.81%
    ifconfig2|=| 1.90%
    netstat2|=| 1.90%
    ~2|=| 1.90%
    Please2|=| 1.90%
    ls2|=| 1.90%
    route2|=| 1.90%
    exit2|=| 1.90%
    cd2|=| 1.90%
    ____
    *) Интервалы неактивности длительностью 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$