/l3/users/eb/2009/linux13/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 :74 :75 :76 |
|
#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 |
#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 |
#dig class13.unix.nt mx +short
|
#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 |
#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 |
#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" ; |
#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" ; |
#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"; }; |
#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"; }; |
#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; }; }; |
#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; }; }; |
#+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 |
#+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 |
#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 |
#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 |
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0 db.127 db.255 db.class13 db.empty db.local db.root |
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
db.0 db.127 db.255 db.class13 db.empty db.local db.root |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#~
nameserver 192.168.15.13 domain class13.unix.nt ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/resolv.conf" 5L, 68C written |
#~
nameserver 192.168.15.13 domain class13.unix.nt ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/resolv.conf" 5L, 68C written |
#+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 |
#+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 |
#+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 |
#+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 |
#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 |
#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 |
#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 |
#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 |
#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 |
#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 |
|