/l3/users/27-07-2009/nt-fbsdnet/fbsd6.net.nt/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 |
|
#ssh 92.249.122.111:10222
ssh: 92.249.122.111:10222: hostname nor servname provided, or not known |
#ping 92.249.122.111
PING 92.249.122.111 (92.249.122.111): 56 data bytes ^C --- 92.249.122.111 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss |
#ping 94249.122.111
PING 94.249.122.111 (94.249.122.111): 56 data bytes ^C --- 94.249.122.111 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 92249.122.111
PING 92.249.122.111 (92.249.122.111): 56 data bytes ^C --- 92.249.122.111 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#ping host1.andr.net.nt
PING host1.andr.net.nt (192.168.16.25): 56 data bytes 64 bytes from 192.168.16.25: icmp_seq=0 ttl=64 time=0.411 ms 64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=0.193 ms ^C --- host1.andr.net.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.193/0.302/0.411/0.109 ms |
#ee /etc/resolv
|
#ping host1.andr.net.nt
PING host1.andr.net.nt (192.168.16.25): 56 data bytes 64 bytes from 192.168.16.25: icmp_seq=0 ttl=64 time=1.101 ms 64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=0.265 ms ^C --- host1.andr.net.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.265/0.683/1.101/0.418 ms |
#ping hostAandr.net.nt
ping: cannot resolve hostA.andr.net.nt: Unknown host |
#ping hostA.andr.net.nt
ping: cannot resolve hostA.andr.net.nt: Unknown host |
#ping host1.andr.net.nt
PING host1.andr.net.nt (192.168.16.25): 56 data bytes 64 bytes from 192.168.16.25: icmp_seq=0 ttl=64 time=0.600 ms ^[[A64 bytes from 192.168.16.25: icmp_seq=1 ttl=64 time=0.246 ms ^C --- host1.andr.net.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.246/0.423/0.600/0.177 ms |
#ping host1.maxt.nt
PING host1.max.net.nt (192.168.16.24): 56 data bytes 64 bytes from 192.168.16.24: icmp_seq=0 ttl=64 time=0.516 ms 64 bytes from 192.168.16.24: icmp_seq=1 ttl=64 time=0.224 ms ^C --- host1.max.net.nt ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.224/0.370/0.516/0.146 ms |
#ping deb5.sid
PING deb5.sid.net.nt (192.168.16.5): 56 data bytes 64 bytes from 192.168.16.5: icmp_seq=0 ttl=64 time=1.101 ms 64 bytes from 192.168.16.5: icmp_seq=1 ttl=64 time=0.160 ms 64 bytes from 192.168.16.5: icmp_seq=2 ttl=64 time=0.152 ms 64 bytes from 192.168.16.5: icmp_seq=3 ttl=64 time=0.160 ms 64 bytes from 192.168.16.5: icmp_seq=4 ttl=64 time=0.164 ms 64 bytes from 192.168.16.5: icmp_seq=5 ttl=64 time=0.158 ms 64 bytes from 192.168.16.5: icmp_seq=6 ttl=64 time=0.170 ms 64 bytes from 192.168.16.5: icmp_seq=7 ttl=64 time=0.153 ms 64 bytes from 192.168.16.5: icmp_seq=8 ttl=64 time=0.166 ms 64 bytes from 192.168.16.5: icmp_seq=9 ttl=64 time=0.141 ms 64 bytes from 192.168.16.5: icmp_seq=10 ttl=64 time=0.180 ms ^C --- deb5.sid.net.nt ping statistics --- 11 packets transmitted, 11 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.141/0.246/1.101/0.271 ms |
#ping deb7.serg.nt
ping: cannot resolve deb7.serg.net.nt: Unknown host |
#ping deb7.serg.net.nt
|
#ping host
|
#cd /etc/named
bash: cd: /etc/named: No such file or directory |
#cd /etc/namedb
|
#ls
db.dima.net.nt master named.root slave dynamic named.conf rndc.key |
#ee db.dima.net.nt
|
#dib MX dima.net.nt
bash: dib: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#digMX dima.net.nt
; <<>> DiG 9.3.4-P1 <<>> MX dima.net.nt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35191 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;dima.net.nt. IN MX ;; ANSWER SECTION: dima.net.nt. 604800 IN MX 5 fbsd6.dima.net.nt. ;; AUTHORITY SECTION: dima.net.nt. 604800 IN NS fbsd6.dima.net.nt. ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Aug 10 20:44:03 2009 ;; MSG SIZE rcvd: 65 |
#shutdown now
Shutdown NOW! shutdown: [pid 2746] wall: /dev/:0: No such file or directory |
#ping 92.249.122.111
PING 92.249.122.111 (92.249.122.111): 56 data bytes ^C --- 92.249.122.111 ping statistics --- 2 packets transmitted, 0 packets received, 100% packet loss |
#telnet 92.249.122.111 22
Trying 92.249.122.111... ^C |
#nmap 92.249.122.111
bash: nmap: ËÏÍÁÎÄÁ ÎÅ ÎÁÊÄÅÎÁ |
#PACKAGESITE=ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/ pkg_add -r fluxbox-1.0.0.tbz
Fetching ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/fluxbox-1.0.0.tbz... Done. Fetching ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/libungif-4.1.4_5.tbz... Done. Fetching ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/6.3-RELEASE/packages/All/imlib2-20070223_1,1.tbz... Done. |
#vim /usr/local/lib/X11/xdm/Xsession
Files /tmp/l3-saved-1042.31624.4581 and /usr/local/lib/X11/xdm/Xsession differ |
#man Xvnc
|
#vim /etc/inetd.conf
--- /tmp/l3-saved-1042.27966.19473 2009-08-11 19:22:20.000000000 +0300 +++ /etc/inetd.conf 2009-08-11 19:22:50.000000000 +0300 @@ -124,4 +124,4 @@ # an appropriate block rule to your pf.conf # #ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none +vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none AlwaysShared |
#/etc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#less /var/log/messages
|
#ps aux | grep inetd
root 1281 0,0 0,2 1492 1212 ?? Ss 19:22 0:00,01 /usr/sbin/inetd -wW -C 60 root 1300 0,0 0,2 1612 1064 p1 S+ 19:23 0:00,00 grep inetd |
#sockstat -4l | less
|
#ls -lt /var/log | less
|
#date
×ÔÏÒÎÉË, 11 Á×ÇÕÓÔÁ 2009 Ç. 19:24:01 (EEST) |
#less /var/log/messages
|
#/etc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#sockstat -4l | less
|
#man Xvnc
|
#vim /etc/inetd.conf
--- /tmp/l3-saved-1042.18584.26761 2009-08-11 19:25:47.000000000 +0300 +++ /etc/inetd.conf 2009-08-11 19:26:13.000000000 +0300 @@ -124,4 +124,4 @@ # an appropriate block rule to your pf.conf # #ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none AlwaysShared +vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -once -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none |
#/etc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#Xvnc --help | less
|
#vim /etc/inetd.conf
--- /tmp/l3-saved-1042.1467.14229 2009-08-11 19:28:30.000000000 +0300 +++ /etc/inetd.conf 2009-08-11 19:28:40.000000000 +0300 @@ -124,4 +124,4 @@ # an appropriate block rule to your pf.conf # #ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -once -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none +vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none |
#vim /etc/inetd.conf
--- /tmp/l3-saved-1042.14098.3148 2009-08-11 19:28:47.000000000 +0300 +++ /etc/inetd.conf 2009-08-11 19:29:06.000000000 +0300 @@ -124,4 +124,4 @@ # an appropriate block rule to your pf.conf # #ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none +vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none AlwaysShared=yes |
#/etc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#vim /etc/inetd.conf
--- /tmp/l3-saved-1042.13577.12955 2009-08-11 19:29:36.000000000 +0300 +++ /etc/inetd.conf 2009-08-11 19:29:48.000000000 +0300 @@ -124,4 +124,4 @@ # an appropriate block rule to your pf.conf # #ftp-proxy stream tcp nowait root /usr/libexec/ftp-proxy ftp-proxy -vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none AlwaysShared=yes +vnc1 stream tcp nowait nobody /usr/X11R6/bin/Xvnc Xvnc -inetd -query localhost -depth 24 -geometry 1000x700 SecurityTypes=none |
#/etc/rc.d/inetd restart
Stopping inetd. Starting inetd. |
#shutdown now
Shutdown NOW! shutdown: [pid 1725] wall: /dev/:2: No such file or directory |
#ee /etc/rc.conf
--- /tmp/l3-saved-6938.27136.20468 2009-08-12 18:18:11.000000000 +0300 +++ /etc/rc.conf 2009-08-12 18:19:42.000000000 +0300 @@ -16,3 +16,6 @@ hostname="fbsdvm.unix.nt" ifconfig_re0="inet 192.168.16.26 netmask 255.255.255.0" hostname="fbsd6.net.nt" + +named_enable="YES" + |
#/etc/rc.d/named start
wrote key file "/var/named/etc/namedb/rndc.key" Starting named. |
#ps aux | grep named
bind 7042 0,0 0,7 4428 3536 ?? Ss 18:20 0:00,06 /usr/sbin/named -t /var/named -u bind |
#/etc/rc.d/named restart
Stopping named. Starting named. |
#ee /etc/resolv.conf
--- /tmp/l3-saved-6938.15651.19417 2009-08-12 18:21:01.000000000 +0300 +++ /etc/resolv.conf 2009-08-12 18:22:10.000000000 +0300 @@ -1,5 +1,5 @@ -search net.nt unix.nt +search dima.net.nt unix.nt +nameserver 192.168.16.26 nameserver 192.168.16.254 -nameserver 10.0.17.1 -nameserver 10.0.35.1 +#nameserver 10.0.35.1 |
#ee /etc/rc.conf
--- /tmp/l3-saved-6938.13174.9297 2009-08-12 18:22:13.000000000 +0300 +++ /etc/rc.conf 2009-08-12 18:23:41.000000000 +0300 @@ -11,11 +11,12 @@ scrnmap="koi8-r2cp866" usbd_enable="YES" inetd_enable=yes -ifconfig_re0="inet 192.168.16.250 netmask 255.255.255.0" -defaultrouter="192.168.16.254" -hostname="fbsdvm.unix.nt" +#ifconfig_re0="inet 192.168.16.250 netmask 255.255.255.0" +#defaultrouter="192.168.16.254" +#hostname="fbsdvm.unix.nt" ifconfig_re0="inet 192.168.16.26 netmask 255.255.255.0" -hostname="fbsd6.net.nt" +hostname="host1.dima.net.nt" +defaultrouter="192.168.16.254" named_enable="YES" |
#/etc/netstart restart
devd already running? (pid=2197). lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING> inet 192.168.16.26 netmask 0xffffff00 broadcast 192.168.16.255 ether 00:16:4e:00:00:06 media: Ethernet autoselect (100baseTX <full-duplex>) status: active add net default: gateway 192.168.16.254 Additional routing options:. |
#uname -r
6.3-RELEASE |
#uname -a
FreeBSD fbsd6.net.nt 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:45:45 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 |
#ping host1.dima.net.nt
ping: cannot resolve host1.dima.net.nt: Host name lookup failure |
#ee /etc/namedb/named.conf
|
#ee /etc/namedb/named.conf
--- /tmp/l3-saved-6938.4853.15242 2009-08-12 18:35:57.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:40:38.000000000 +0300 @@ -44,7 +44,7 @@ // benefit from its cache, thus reduce overall DNS traffic in the Internet. /* forwarders { - 127.0.0.1; + 192.168.16.254; }; */ /* @@ -248,22 +248,20 @@ algorithm hmac-md5; secret "sf87HJqjkqh8ac87a02lla=="; }; -zone "example.org" { +*/ +zone "dima.net.nt" { type master; - allow-update { - key "exampleorgkey"; + }; file "dynamic/example.org"; }; -*/ -/* Example of a slave reverse zone + + zone "1.168.192.in-addr.arpa" { type slave; file "slave/1.168.192.in-addr.arpa"; masters { 192.168.1.1; }; -}; -*/ |
#vim /etc/namedb/master/db.dima.net.nt
--- /dev/null 2009-08-12 18:28:21.000000000 +0300 +++ /etc/namedb/master/db.dima.net.nt 2009-08-12 18:28:22.000000000 +0300 @@ -0,0 +1,266 @@ + + +; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 net.nt axfr +; (1 server found) +;; global options: printcmd +net.nt. 604800 IN SOA debian.net.nt. root.debian.net.nt. 15 604800 86400 2419200 604800 +net.nt. 604800 IN NS debian.net.nt. +net.nt. 604800 IN MX 5 fbsdvm.net.nt. +alex.net.nt. 604800 IN NS hostA.alex.net.nt. +hostA.alex.net.nt. 604800 IN A 192.168.16.6 +andr.net.nt. 604800 IN NS host1.andr.net.nt. +host1.andr.net.nt. 604800 IN A 192.168.16.25 +debian.net.nt. 604800 IN A 192.168.16.254 +debian11.net.nt. 604800 IN A 192.168.16.11 +dima.net.nt. 604800 IN NS host1.dima.net.nt. +host1.dima.net.nt. 604800 IN A 192.168.16.26 +fbsd27.net.nt. 604800 IN A 192.168.16.27 +fbsd28.net.nt. 604800 IN A 192.168.16.28 +fbsd29.net.nt. 604800 IN A 192.168.16.29 +fbsd30.net.nt. 604800 IN A 192.168.16.30 +fbsd31.net.nt. 604800 IN A 192.168.16.31 +fbsd32.net.nt. 604800 IN A 192.168.16.32 +fbsd33.net.nt. 604800 IN A 192.168.16.33 +fbsd34.net.nt. 604800 IN A 192.168.16.34 +fbsd35.net.nt. 604800 IN A 192.168.16.35 +fbsd36.net.nt. 604800 IN A 192.168.16.36 +fbsd37.net.nt. 604800 IN A 192.168.16.37 +fbsd38.net.nt. 604800 IN A 192.168.16.38 +fbsd39.net.nt. 604800 IN A 192.168.16.39 +fbsd40.net.nt. 604800 IN A 192.168.16.40 +fbsd41.net.nt. 604800 IN A 192.168.16.41 +host100.net.nt. 604800 IN A 192.168.16.100 +host101.net.nt. 604800 IN A 192.168.16.101 +host102.net.nt. 604800 IN A 192.168.16.102 +host103.net.nt. 604800 IN A 192.168.16.103 +host104.net.nt. 604800 IN A 192.168.16.104 +host105.net.nt. 604800 IN A 192.168.16.105 +host106.net.nt. 604800 IN A 192.168.16.106 +host107.net.nt. 604800 IN A 192.168.16.107 +host108.net.nt. 604800 IN A 192.168.16.108 +host109.net.nt. 604800 IN A 192.168.16.109 +host110.net.nt. 604800 IN A 192.168.16.110 +host111.net.nt. 604800 IN A 192.168.16.111 +host112.net.nt. 604800 IN A 192.168.16.112 +host113.net.nt. 604800 IN A 192.168.16.113 +host114.net.nt. 604800 IN A 192.168.16.114 +host115.net.nt. 604800 IN A 192.168.16.115 +host116.net.nt. 604800 IN A 192.168.16.116 +host117.net.nt. 604800 IN A 192.168.16.117 +host118.net.nt. 604800 IN A 192.168.16.118 +host119.net.nt. 604800 IN A 192.168.16.119 +host120.net.nt. 604800 IN A 192.168.16.120 +host121.net.nt. 604800 IN A 192.168.16.121 +host122.net.nt. 604800 IN A 192.168.16.122 +host123.net.nt. 604800 IN A 192.168.16.123 +host124.net.nt. 604800 IN A 192.168.16.124 +host125.net.nt. 604800 IN A 192.168.16.125 +host126.net.nt. 604800 IN A 192.168.16.126 +host127.net.nt. 604800 IN A 192.168.16.127 +host128.net.nt. 604800 IN A 192.168.16.128 +host129.net.nt. 604800 IN A 192.168.16.129 +host130.net.nt. 604800 IN A 192.168.16.130 +host131.net.nt. 604800 IN A 192.168.16.131 +host132.net.nt. 604800 IN A 192.168.16.132 +host133.net.nt. 604800 IN A 192.168.16.133 +host134.net.nt. 604800 IN A 192.168.16.134 +host135.net.nt. 604800 IN A 192.168.16.135 +host136.net.nt. 604800 IN A 192.168.16.136 +host137.net.nt. 604800 IN A 192.168.16.137 +host138.net.nt. 604800 IN A 192.168.16.138 +host139.net.nt. 604800 IN A 192.168.16.139 +host140.net.nt. 604800 IN A 192.168.16.140 +host141.net.nt. 604800 IN A 192.168.16.141 +host142.net.nt. 604800 IN A 192.168.16.142 +host143.net.nt. 604800 IN A 192.168.16.143 +host144.net.nt. 604800 IN A 192.168.16.144 +host145.net.nt. 604800 IN A 192.168.16.145 +host146.net.nt. 604800 IN A 192.168.16.146 +host147.net.nt. 604800 IN A 192.168.16.147 +host148.net.nt. 604800 IN A 192.168.16.148 +host149.net.nt. 604800 IN A 192.168.16.149 +host150.net.nt. 604800 IN A 192.168.16.150 +host151.net.nt. 604800 IN A 192.168.16.151 +host152.net.nt. 604800 IN A 192.168.16.152 +host153.net.nt. 604800 IN A 192.168.16.153 +host154.net.nt. 604800 IN A 192.168.16.154 +host155.net.nt. 604800 IN A 192.168.16.155 +host156.net.nt. 604800 IN A 192.168.16.156 +host157.net.nt. 604800 IN A 192.168.16.157 +host158.net.nt. 604800 IN A 192.168.16.158 +host159.net.nt. 604800 IN A 192.168.16.159 +host160.net.nt. 604800 IN A 192.168.16.160 +host161.net.nt. 604800 IN A 192.168.16.161 +host162.net.nt. 604800 IN A 192.168.16.162 +host163.net.nt. 604800 IN A 192.168.16.163 +host164.net.nt. 604800 IN A 192.168.16.164 +host165.net.nt. 604800 IN A 192.168.16.165 +host166.net.nt. 604800 IN A 192.168.16.166 +host167.net.nt. 604800 IN A 192.168.16.167 +host168.net.nt. 604800 IN A 192.168.16.168 +host169.net.nt. 604800 IN A 192.168.16.169 +host170.net.nt. 604800 IN A 192.168.16.170 +host171.net.nt. 604800 IN A 192.168.16.171 +host172.net.nt. 604800 IN A 192.168.16.172 +host173.net.nt. 604800 IN A 192.168.16.173 +host174.net.nt. 604800 IN A 192.168.16.174 +host175.net.nt. 604800 IN A 192.168.16.175 +host176.net.nt. 604800 IN A 192.168.16.176 +host177.net.nt. 604800 IN A 192.168.16.177 +host178.net.nt. 604800 IN A 192.168.16.178 +host179.net.nt. 604800 IN A 192.168.16.179 +host180.net.nt. 604800 IN A 192.168.16.180 +host181.net.nt. 604800 IN A 192.168.16.181 +host182.net.nt. 604800 IN A 192.168.16.182 +host183.net.nt. 604800 IN A 192.168.16.183 +host184.net.nt. 604800 IN A 192.168.16.184 +host185.net.nt. 604800 IN A 192.168.16.185 +host186.net.nt. 604800 IN A 192.168.16.186 +host187.net.nt. 604800 IN A 192.168.16.187 +host188.net.nt. 604800 IN A 192.168.16.188 +host189.net.nt. 604800 IN A 192.168.16.189 +host190.net.nt. 604800 IN A 192.168.16.190 +host191.net.nt. 604800 IN A 192.168.16.191 +host192.net.nt. 604800 IN A 192.168.16.192 +host193.net.nt. 604800 IN A 192.168.16.193 +host194.net.nt. 604800 IN A 192.168.16.194 +host195.net.nt. 604800 IN A 192.168.16.195 +host196.net.nt. 604800 IN A 192.168.16.196 +host197.net.nt. 604800 IN A 192.168.16.197 +host198.net.nt. 604800 IN A 192.168.16.198 +host199.net.nt. 604800 IN A 192.168.16.199 +host200.net.nt. 604800 IN A 192.168.16.200 +host201.net.nt. 604800 IN A 192.168.16.201 +host202.net.nt. 604800 IN A 192.168.16.202 +host203.net.nt. 604800 IN A 192.168.16.203 +host204.net.nt. 604800 IN A 192.168.16.204 +host205.net.nt. 604800 IN A 192.168.16.205 +host206.net.nt. 604800 IN A 192.168.16.206 +host207.net.nt. 604800 IN A 192.168.16.207 +host208.net.nt. 604800 IN A 192.168.16.208 +host209.net.nt. 604800 IN A 192.168.16.209 +host210.net.nt. 604800 IN A 192.168.16.210 +host211.net.nt. 604800 IN A 192.168.16.211 +host212.net.nt. 604800 IN A 192.168.16.212 +host213.net.nt. 604800 IN A 192.168.16.213 +host214.net.nt. 604800 IN A 192.168.16.214 +host215.net.nt. 604800 IN A 192.168.16.215 +host216.net.nt. 604800 IN A 192.168.16.216 +host217.net.nt. 604800 IN A 192.168.16.217 +host218.net.nt. 604800 IN A 192.168.16.218 +host219.net.nt. 604800 IN A 192.168.16.219 +host220.net.nt. 604800 IN A 192.168.16.220 +host221.net.nt. 604800 IN A 192.168.16.221 +host222.net.nt. 604800 IN A 192.168.16.222 +host223.net.nt. 604800 IN A 192.168.16.223 +host224.net.nt. 604800 IN A 192.168.16.224 +host225.net.nt. 604800 IN A 192.168.16.225 +host226.net.nt. 604800 IN A 192.168.16.226 +host227.net.nt. 604800 IN A 192.168.16.227 +host228.net.nt. 604800 IN A 192.168.16.228 +host229.net.nt. 604800 IN A 192.168.16.229 +host230.net.nt. 604800 IN A 192.168.16.230 +host231.net.nt. 604800 IN A 192.168.16.231 +host232.net.nt. 604800 IN A 192.168.16.232 +host233.net.nt. 604800 IN A 192.168.16.233 +host234.net.nt. 604800 IN A 192.168.16.234 +host235.net.nt. 604800 IN A 192.168.16.235 +host236.net.nt. 604800 IN A 192.168.16.236 +host237.net.nt. 604800 IN A 192.168.16.237 +host238.net.nt. 604800 IN A 192.168.16.238 +host239.net.nt. 604800 IN A 192.168.16.239 +host240.net.nt. 604800 IN A 192.168.16.240 +host241.net.nt. 604800 IN A 192.168.16.241 +host242.net.nt. 604800 IN A 192.168.16.242 +host243.net.nt. 604800 IN A 192.168.16.243 +host244.net.nt. 604800 IN A 192.168.16.244 +host245.net.nt. 604800 IN A 192.168.16.245 +host246.net.nt. 604800 IN A 192.168.16.246 +host247.net.nt. 604800 IN A 192.168.16.247 +host248.net.nt. 604800 IN A 192.168.16.248 +host249.net.nt. 604800 IN A 192.168.16.249 +host250.net.nt. 604800 IN A 192.168.16.250 +host251.net.nt. 604800 IN A 192.168.16.251 +host252.net.nt. 604800 IN A 192.168.16.252 +host253.net.nt. 604800 IN A 192.168.16.253 +host42.net.nt. 604800 IN A 192.168.16.42 +host43.net.nt. 604800 IN A 192.168.16.43 +host44.net.nt. 604800 IN A 192.168.16.44 +host45.net.nt. 604800 IN A 192.168.16.45 +host46.net.nt. 604800 IN A 192.168.16.46 +host47.net.nt. 604800 IN A 192.168.16.47 +host48.net.nt. 604800 IN A 192.168.16.48 +host49.net.nt. 604800 IN A 192.168.16.49 +host50.net.nt. 604800 IN A 192.168.16.50 +host51.net.nt. 604800 IN A 192.168.16.51 +host52.net.nt. 604800 IN A 192.168.16.52 +host53.net.nt. 604800 IN A 192.168.16.53 +host54.net.nt. 604800 IN A 192.168.16.54 +host55.net.nt. 604800 IN A 192.168.16.55 +host56.net.nt. 604800 IN A 192.168.16.56 +host57.net.nt. 604800 IN A 192.168.16.57 +host58.net.nt. 604800 IN A 192.168.16.58 +host59.net.nt. 604800 IN A 192.168.16.59 +host60.net.nt. 604800 IN A 192.168.16.60 +host61.net.nt. 604800 IN A 192.168.16.61 +host62.net.nt. 604800 IN A 192.168.16.62 +host63.net.nt. 604800 IN A 192.168.16.63 +host64.net.nt. 604800 IN A 192.168.16.64 +host65.net.nt. 604800 IN A 192.168.16.65 +host66.net.nt. 604800 IN A 192.168.16.66 +host67.net.nt. 604800 IN A 192.168.16.67 +host68.net.nt. 604800 IN A 192.168.16.68 +host69.net.nt. 604800 IN A 192.168.16.69 +host70.net.nt. 604800 IN A 192.168.16.70 +host71.net.nt. 604800 IN A 192.168.16.71 +host72.net.nt. 604800 IN A 192.168.16.72 +host73.net.nt. 604800 IN A 192.168.16.73 +host74.net.nt. 604800 IN A 192.168.16.74 +host75.net.nt. 604800 IN A 192.168.16.75 +host76.net.nt. 604800 IN A 192.168.16.76 +host77.net.nt. 604800 IN A 192.168.16.77 +host78.net.nt. 604800 IN A 192.168.16.78 +host79.net.nt. 604800 IN A 192.168.16.79 +host80.net.nt. 604800 IN A 192.168.16.80 +host81.net.nt. 604800 IN A 192.168.16.81 +host82.net.nt. 604800 IN A 192.168.16.82 +host83.net.nt. 604800 IN A 192.168.16.83 +host84.net.nt. 604800 IN A 192.168.16.84 +host85.net.nt. 604800 IN A 192.168.16.85 +host86.net.nt. 604800 IN A 192.168.16.86 +host87.net.nt. 604800 IN A 192.168.16.87 +host88.net.nt. 604800 IN A 192.168.16.88 +host89.net.nt. 604800 IN A 192.168.16.89 +host90.net.nt. 604800 IN A 192.168.16.90 +host91.net.nt. 604800 IN A 192.168.16.91 +host92.net.nt. 604800 IN A 192.168.16.92 +host93.net.nt. 604800 IN A 192.168.16.93 +host94.net.nt. 604800 IN A 192.168.16.94 +host95.net.nt. 604800 IN A 192.168.16.95 +host96.net.nt. 604800 IN A 192.168.16.96 +host97.net.nt. 604800 IN A 192.168.16.97 +host98.net.nt. 604800 IN A 192.168.16.98 +host99.net.nt. 604800 IN A 192.168.16.99 +linux12.net.nt. 604800 IN A 192.168.16.12 +linux13.net.nt. 604800 IN A 192.168.16.13 +linux14.net.nt. 604800 IN A 192.168.16.14 +linux15.net.nt. 604800 IN A 192.168.16.15 +linux16.net.nt. 604800 IN A 192.168.16.16 +linux17.net.nt. 604800 IN A 192.168.16.17 +linux18.net.nt. 604800 IN A 192.168.16.18 +linux19.net.nt. 604800 IN A 192.168.16.19 +linux20.net.nt. 604800 IN A 192.168.16.20 +max.net.nt. 604800 IN NS host1.max.net.nt. +host1.max.net.nt. 604800 IN A 192.168.16.24 +serg.net.nt. 604800 IN NS host1.serg.net.nt. +host1.serg.net.nt. 604800 IN A 192.168.16.7 +sid.net.nt. 604800 IN NS deb5.sid.net.nt. +deb5.sid.net.nt. 604800 IN A 192.168.16.5 +yuriy.net.nt. 604800 IN NS host1.yuriy.net.nt. +host1.yuriy.net.nt. 604800 IN A 192.168.16.4 +net.nt. 604800 IN SOA debian.net.nt. root.debian.net.nt. 15 604800 86400 2419200 604800 +;; Query time: 5 msec +;; SERVER: 192.168.16.254#53(192.168.16.254) +;; WHEN: Wed Aug 12 18:28:10 2009 +;; XFR size: 256 records (messages 1) + |
#vim /etc/namedb/master/db.dima.net.nt
--- /tmp/l3-saved-7685.15898.10999 2009-08-12 18:28:23.000000000 +0300 +++ /etc/namedb/master/db.dima.net.nt 2009-08-12 18:35:00.000000000 +0300 @@ -1,266 +1,13 @@ +$TTL 604800 +@ 604800 IN SOA host1.dima.net.nt. root.dima.net.nt. ( + 1 + 604800 + 86400 + 2419200 + 604800 ) - -; <<>> DiG 9.3.4-P1 <<>> @192.168.16.254 net.nt axfr -; (1 server found) -;; global options: printcmd -net.nt. 604800 IN SOA debian.net.nt. root.debian.net.nt. 15 604800 86400 2419200 604800 -net.nt. 604800 IN NS debian.net.nt. -net.nt. 604800 IN MX 5 fbsdvm.net.nt. -alex.net.nt. 604800 IN NS hostA.alex.net.nt. -hostA.alex.net.nt. 604800 IN A 192.168.16.6 -andr.net.nt. 604800 IN NS host1.andr.net.nt. -host1.andr.net.nt. 604800 IN A 192.168.16.25 -debian.net.nt. 604800 IN A 192.168.16.254 -debian11.net.nt. 604800 IN A 192.168.16.11 -dima.net.nt. 604800 IN NS host1.dima.net.nt. -host1.dima.net.nt. 604800 IN A 192.168.16.26 -fbsd27.net.nt. 604800 IN A 192.168.16.27 -fbsd28.net.nt. 604800 IN A 192.168.16.28 -fbsd29.net.nt. 604800 IN A 192.168.16.29 -fbsd30.net.nt. 604800 IN A 192.168.16.30 -fbsd31.net.nt. 604800 IN A 192.168.16.31 -fbsd32.net.nt. 604800 IN A 192.168.16.32 -fbsd33.net.nt. 604800 IN A 192.168.16.33 -fbsd34.net.nt. 604800 IN A 192.168.16.34 -fbsd35.net.nt. 604800 IN A 192.168.16.35 -fbsd36.net.nt. 604800 IN A 192.168.16.36 -fbsd37.net.nt. 604800 IN A 192.168.16.37 -fbsd38.net.nt. 604800 IN A 192.168.16.38 -fbsd39.net.nt. 604800 IN A 192.168.16.39 -fbsd40.net.nt. 604800 IN A 192.168.16.40 -fbsd41.net.nt. 604800 IN A 192.168.16.41 -host100.net.nt. 604800 IN A 192.168.16.100 -host101.net.nt. 604800 IN A 192.168.16.101 -host102.net.nt. 604800 IN A 192.168.16.102 -host103.net.nt. 604800 IN A 192.168.16.103 -host104.net.nt. 604800 IN A 192.168.16.104 -host105.net.nt. 604800 IN A 192.168.16.105 -host106.net.nt. 604800 IN A 192.168.16.106 -host107.net.nt. 604800 IN A 192.168.16.107 -host108.net.nt. 604800 IN A 192.168.16.108 -host109.net.nt. 604800 IN A 192.168.16.109 -host110.net.nt. 604800 IN A 192.168.16.110 -host111.net.nt. 604800 IN A 192.168.16.111 -host112.net.nt. 604800 IN A 192.168.16.112 -host113.net.nt. 604800 IN A 192.168.16.113 -host114.net.nt. 604800 IN A 192.168.16.114 -host115.net.nt. 604800 IN A 192.168.16.115 -host116.net.nt. 604800 IN A 192.168.16.116 -host117.net.nt. 604800 IN A 192.168.16.117 -host118.net.nt. 604800 IN A 192.168.16.118 -host119.net.nt. 604800 IN A 192.168.16.119 -host120.net.nt. 604800 IN A 192.168.16.120 -host121.net.nt. 604800 IN A 192.168.16.121 -host122.net.nt. 604800 IN A 192.168.16.122 -host123.net.nt. 604800 IN A 192.168.16.123 -host124.net.nt. 604800 IN A 192.168.16.124 -host125.net.nt. 604800 IN A 192.168.16.125 -host126.net.nt. 604800 IN A 192.168.16.126 -host127.net.nt. 604800 IN A 192.168.16.127 -host128.net.nt. 604800 IN A 192.168.16.128 -host129.net.nt. 604800 IN A 192.168.16.129 -host130.net.nt. 604800 IN A 192.168.16.130 -host131.net.nt. 604800 IN A 192.168.16.131 -host132.net.nt. 604800 IN A 192.168.16.132 -host133.net.nt. 604800 IN A 192.168.16.133 -host134.net.nt. 604800 IN A 192.168.16.134 -host135.net.nt. 604800 IN A 192.168.16.135 -host136.net.nt. 604800 IN A 192.168.16.136 -host137.net.nt. 604800 IN A 192.168.16.137 -host138.net.nt. 604800 IN A 192.168.16.138 -host139.net.nt. 604800 IN A 192.168.16.139 -host140.net.nt. 604800 IN A 192.168.16.140 -host141.net.nt. 604800 IN A 192.168.16.141 -host142.net.nt. 604800 IN A 192.168.16.142 -host143.net.nt. 604800 IN A 192.168.16.143 -host144.net.nt. 604800 IN A 192.168.16.144 -host145.net.nt. 604800 IN A 192.168.16.145 -host146.net.nt. 604800 IN A 192.168.16.146 -host147.net.nt. 604800 IN A 192.168.16.147 -host148.net.nt. 604800 IN A 192.168.16.148 -host149.net.nt. 604800 IN A 192.168.16.149 -host150.net.nt. 604800 IN A 192.168.16.150 -host151.net.nt. 604800 IN A 192.168.16.151 -host152.net.nt. 604800 IN A 192.168.16.152 -host153.net.nt. 604800 IN A 192.168.16.153 -host154.net.nt. 604800 IN A 192.168.16.154 -host155.net.nt. 604800 IN A 192.168.16.155 -host156.net.nt. 604800 IN A 192.168.16.156 -host157.net.nt. 604800 IN A 192.168.16.157 -host158.net.nt. 604800 IN A 192.168.16.158 -host159.net.nt. 604800 IN A 192.168.16.159 -host160.net.nt. 604800 IN A 192.168.16.160 -host161.net.nt. 604800 IN A 192.168.16.161 -host162.net.nt. 604800 IN A 192.168.16.162 -host163.net.nt. 604800 IN A 192.168.16.163 -host164.net.nt. 604800 IN A 192.168.16.164 -host165.net.nt. 604800 IN A 192.168.16.165 -host166.net.nt. 604800 IN A 192.168.16.166 -host167.net.nt. 604800 IN A 192.168.16.167 -host168.net.nt. 604800 IN A 192.168.16.168 -host169.net.nt. 604800 IN A 192.168.16.169 -host170.net.nt. 604800 IN A 192.168.16.170 -host171.net.nt. 604800 IN A 192.168.16.171 -host172.net.nt. 604800 IN A 192.168.16.172 -host173.net.nt. 604800 IN A 192.168.16.173 -host174.net.nt. 604800 IN A 192.168.16.174 -host175.net.nt. 604800 IN A 192.168.16.175 -host176.net.nt. 604800 IN A 192.168.16.176 -host177.net.nt. 604800 IN A 192.168.16.177 -host178.net.nt. 604800 IN A 192.168.16.178 -host179.net.nt. 604800 IN A 192.168.16.179 -host180.net.nt. 604800 IN A 192.168.16.180 -host181.net.nt. 604800 IN A 192.168.16.181 -host182.net.nt. 604800 IN A 192.168.16.182 -host183.net.nt. 604800 IN A 192.168.16.183 -host184.net.nt. 604800 IN A 192.168.16.184 -host185.net.nt. 604800 IN A 192.168.16.185 -host186.net.nt. 604800 IN A 192.168.16.186 -host187.net.nt. 604800 IN A 192.168.16.187 -host188.net.nt. 604800 IN A 192.168.16.188 -host189.net.nt. 604800 IN A 192.168.16.189 -host190.net.nt. 604800 IN A 192.168.16.190 -host191.net.nt. 604800 IN A 192.168.16.191 -host192.net.nt. 604800 IN A 192.168.16.192 -host193.net.nt. 604800 IN A 192.168.16.193 -host194.net.nt. 604800 IN A 192.168.16.194 -host195.net.nt. 604800 IN A 192.168.16.195 -host196.net.nt. 604800 IN A 192.168.16.196 -host197.net.nt. 604800 IN A 192.168.16.197 -host198.net.nt. 604800 IN A 192.168.16.198 -host199.net.nt. 604800 IN A 192.168.16.199 -host200.net.nt. 604800 IN A 192.168.16.200 -host201.net.nt. 604800 IN A 192.168.16.201 -host202.net.nt. 604800 IN A 192.168.16.202 -host203.net.nt. 604800 IN A 192.168.16.203 -host204.net.nt. 604800 IN A 192.168.16.204 -host205.net.nt. 604800 IN A 192.168.16.205 -host206.net.nt. 604800 IN A 192.168.16.206 -host207.net.nt. 604800 IN A 192.168.16.207 -host208.net.nt. 604800 IN A 192.168.16.208 -host209.net.nt. 604800 IN A 192.168.16.209 -host210.net.nt. 604800 IN A 192.168.16.210 -host211.net.nt. 604800 IN A 192.168.16.211 -host212.net.nt. 604800 IN A 192.168.16.212 -host213.net.nt. 604800 IN A 192.168.16.213 -host214.net.nt. 604800 IN A 192.168.16.214 -host215.net.nt. 604800 IN A 192.168.16.215 -host216.net.nt. 604800 IN A 192.168.16.216 -host217.net.nt. 604800 IN A 192.168.16.217 -host218.net.nt. 604800 IN A 192.168.16.218 -host219.net.nt. 604800 IN A 192.168.16.219 -host220.net.nt. 604800 IN A 192.168.16.220 -host221.net.nt. 604800 IN A 192.168.16.221 -host222.net.nt. 604800 IN A 192.168.16.222 -host223.net.nt. 604800 IN A 192.168.16.223 -host224.net.nt. 604800 IN A 192.168.16.224 -host225.net.nt. 604800 IN A 192.168.16.225 -host226.net.nt. 604800 IN A 192.168.16.226 -host227.net.nt. 604800 IN A 192.168.16.227 -host228.net.nt. 604800 IN A 192.168.16.228 -host229.net.nt. 604800 IN A 192.168.16.229 -host230.net.nt. 604800 IN A 192.168.16.230 -host231.net.nt. 604800 IN A 192.168.16.231 -host232.net.nt. 604800 IN A 192.168.16.232 -host233.net.nt. 604800 IN A 192.168.16.233 -host234.net.nt. 604800 IN A 192.168.16.234 -host235.net.nt. 604800 IN A 192.168.16.235 -host236.net.nt. 604800 IN A 192.168.16.236 -host237.net.nt. 604800 IN A 192.168.16.237 -host238.net.nt. 604800 IN A 192.168.16.238 -host239.net.nt. 604800 IN A 192.168.16.239 -host240.net.nt. 604800 IN A 192.168.16.240 -host241.net.nt. 604800 IN A 192.168.16.241 -host242.net.nt. 604800 IN A 192.168.16.242 -host243.net.nt. 604800 IN A 192.168.16.243 -host244.net.nt. 604800 IN A 192.168.16.244 -host245.net.nt. 604800 IN A 192.168.16.245 -host246.net.nt. 604800 IN A 192.168.16.246 -host247.net.nt. 604800 IN A 192.168.16.247 -host248.net.nt. 604800 IN A 192.168.16.248 -host249.net.nt. 604800 IN A 192.168.16.249 -host250.net.nt. 604800 IN A 192.168.16.250 -host251.net.nt. 604800 IN A 192.168.16.251 -host252.net.nt. 604800 IN A 192.168.16.252 -host253.net.nt. 604800 IN A 192.168.16.253 -host42.net.nt. 604800 IN A 192.168.16.42 -host43.net.nt. 604800 IN A 192.168.16.43 -host44.net.nt. 604800 IN A 192.168.16.44 -host45.net.nt. 604800 IN A 192.168.16.45 -host46.net.nt. 604800 IN A 192.168.16.46 -host47.net.nt. 604800 IN A 192.168.16.47 -host48.net.nt. 604800 IN A 192.168.16.48 -host49.net.nt. 604800 IN A 192.168.16.49 -host50.net.nt. 604800 IN A 192.168.16.50 -host51.net.nt. 604800 IN A 192.168.16.51 -host52.net.nt. 604800 IN A 192.168.16.52 -host53.net.nt. 604800 IN A 192.168.16.53 -host54.net.nt. 604800 IN A 192.168.16.54 -host55.net.nt. 604800 IN A 192.168.16.55 -host56.net.nt. 604800 IN A 192.168.16.56 -host57.net.nt. 604800 IN A 192.168.16.57 -host58.net.nt. 604800 IN A 192.168.16.58 -host59.net.nt. 604800 IN A 192.168.16.59 -host60.net.nt. 604800 IN A 192.168.16.60 -host61.net.nt. 604800 IN A 192.168.16.61 -host62.net.nt. 604800 IN A 192.168.16.62 -host63.net.nt. 604800 IN A 192.168.16.63 -host64.net.nt. 604800 IN A 192.168.16.64 -host65.net.nt. 604800 IN A 192.168.16.65 -host66.net.nt. 604800 IN A 192.168.16.66 -host67.net.nt. 604800 IN A 192.168.16.67 -host68.net.nt. 604800 IN A 192.168.16.68 -host69.net.nt. 604800 IN A 192.168.16.69 -host70.net.nt. 604800 IN A 192.168.16.70 -host71.net.nt. 604800 IN A 192.168.16.71 -host72.net.nt. 604800 IN A 192.168.16.72 -host73.net.nt. 604800 IN A 192.168.16.73 -host74.net.nt. 604800 IN A 192.168.16.74 -host75.net.nt. 604800 IN A 192.168.16.75 -host76.net.nt. 604800 IN A 192.168.16.76 -host77.net.nt. 604800 IN A 192.168.16.77 -host78.net.nt. 604800 IN A 192.168.16.78 -host79.net.nt. 604800 IN A 192.168.16.79 -host80.net.nt. 604800 IN A 192.168.16.80 -host81.net.nt. 604800 IN A 192.168.16.81 -host82.net.nt. 604800 IN A 192.168.16.82 -host83.net.nt. 604800 IN A 192.168.16.83 -host84.net.nt. 604800 IN A 192.168.16.84 -host85.net.nt. 604800 IN A 192.168.16.85 -host86.net.nt. 604800 IN A 192.168.16.86 -host87.net.nt. 604800 IN A 192.168.16.87 -host88.net.nt. 604800 IN A 192.168.16.88 -host89.net.nt. 604800 IN A 192.168.16.89 -host90.net.nt. 604800 IN A 192.168.16.90 -host91.net.nt. 604800 IN A 192.168.16.91 -host92.net.nt. 604800 IN A 192.168.16.92 -host93.net.nt. 604800 IN A 192.168.16.93 -host94.net.nt. 604800 IN A 192.168.16.94 -host95.net.nt. 604800 IN A 192.168.16.95 -host96.net.nt. 604800 IN A 192.168.16.96 -host97.net.nt. 604800 IN A 192.168.16.97 -host98.net.nt. 604800 IN A 192.168.16.98 -host99.net.nt. 604800 IN A 192.168.16.99 -linux12.net.nt. 604800 IN A 192.168.16.12 -linux13.net.nt. 604800 IN A 192.168.16.13 -linux14.net.nt. 604800 IN A 192.168.16.14 -linux15.net.nt. 604800 IN A 192.168.16.15 -linux16.net.nt. 604800 IN A 192.168.16.16 -linux17.net.nt. 604800 IN A 192.168.16.17 -linux18.net.nt. 604800 IN A 192.168.16.18 -linux19.net.nt. 604800 IN A 192.168.16.19 -linux20.net.nt. 604800 IN A 192.168.16.20 -max.net.nt. 604800 IN NS host1.max.net.nt. -host1.max.net.nt. 604800 IN A 192.168.16.24 -serg.net.nt. 604800 IN NS host1.serg.net.nt. -host1.serg.net.nt. 604800 IN A 192.168.16.7 -sid.net.nt. 604800 IN NS deb5.sid.net.nt. -deb5.sid.net.nt. 604800 IN A 192.168.16.5 -yuriy.net.nt. 604800 IN NS host1.yuriy.net.nt. -host1.yuriy.net.nt. 604800 IN A 192.168.16.4 -net.nt. 604800 IN SOA debian.net.nt. root.debian.net.nt. 15 604800 86400 2419200 604800 -;; Query time: 5 msec -;; SERVER: 192.168.16.254#53(192.168.16.254) -;; WHEN: Wed Aug 12 18:28:10 2009 -;; XFR size: 256 records (messages 1) - +@ NS host1.dima.net.nt. + MX 5 host1.dima.net.nt. +host1.dima.net.nt. A 192.168.16.26 +host1.dima.net.nt. A 192.168.16.66 +host1.dima.net.nt. A 192.168.16.16 |
#ping 192.168.16.01
PING 192.168.16.01 (192.168.16.1): 56 data bytes ^C --- 192.168.16.01 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss |
#ping 192.168.06.01
PING 192.168.016.01 (192.168.14.1): 56 data bytes ^C --- 192.168.016.01 ping statistics --- 6 packets transmitted, 0 packets received, 100% packet loss |
#vim /etc/namedb/master/db.dima.net.nt
|
#tail /var/log/messages
Aug 12 18:27:19 fbsd6 su: user to root on /dev/ttyp9 Aug 12 18:47:37 fbsd6 su: user to root on /dev/ttyp4 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on 127.0.0.1#953 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on ::1#953 Aug 12 18:48:02 fbsd6 named[7132]: exiting Aug 12 18:48:02 fbsd6 named[8004]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:262: unknown option 'typemaster' Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:268: '}' expected near end of file Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#tail /var/log/messages
Aug 12 18:27:19 fbsd6 su: user to root on /dev/ttyp9 Aug 12 18:47:37 fbsd6 su: user to root on /dev/ttyp4 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on 127.0.0.1#953 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on ::1#953 Aug 12 18:48:02 fbsd6 named[7132]: exiting Aug 12 18:48:02 fbsd6 named[8004]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:262: unknown option 'typemaster' Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:268: '}' expected near end of file Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) õ ×ÁÓ ÅÓÔØ ÎÏ×ÁÑ ÐÏÞÔÁ × /var/mail/root |
#ee /etc/namedb/named.conf
--- /tmp/l3-saved-6938.18641.20695 2009-08-12 18:40:39.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:47:17.000000000 +0300 @@ -44,7 +44,7 @@ // benefit from its cache, thus reduce overall DNS traffic in the Internet. /* forwarders { - 192.168.16.254; + 127.0.0.1; }; */ /* @@ -249,17 +249,17 @@ secret "sf87HJqjkqh8ac87a02lla=="; }; */ -zone "dima.net.nt" { - type master; - - }; - file "dynamic/example.org"; -}; +zone "dima.net.nt" { + type master; + file "master/db.dima.net.nt"; + forwarders {}; + }; + zone "1.168.192.in-addr.arpa" { - type slave; + typemaster; file "slave/1.168.192.in-addr.arpa"; masters { 192.168.1.1; |
#ee /etc/namedb/named.conf
--- /tmp/l3-saved-6938.18641.20695 2009-08-12 18:40:39.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:47:17.000000000 +0300 @@ -44,7 +44,7 @@ // benefit from its cache, thus reduce overall DNS traffic in the Internet. /* forwarders { - 192.168.16.254; + 127.0.0.1; }; */ /* @@ -249,17 +249,17 @@ secret "sf87HJqjkqh8ac87a02lla=="; }; */ -zone "dima.net.nt" { - type master; - - }; - file "dynamic/example.org"; -}; +zone "dima.net.nt" { + type master; + file "master/db.dima.net.nt"; + forwarders {}; + }; + zone "1.168.192.in-addr.arpa" { - type slave; + typemaster; file "slave/1.168.192.in-addr.arpa"; masters { 192.168.1.1; |
#cd /usr/ports/
|
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-7685.28322.28413 2009-08-12 18:49:16.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:49:52.000000000 +0300 @@ -18,7 +18,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; +// listen-on { 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-7685.28322.28413 2009-08-12 18:49:16.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:49:52.000000000 +0300 @@ -18,7 +18,7 @@ // If named is being used only as a local resolver, this is a safe default. // For named to be accessible to the network, comment this option, specify // the proper IP address, or delete this option. - listen-on { 127.0.0.1; }; +// listen-on { 127.0.0.1; }; // If you have IPv6 enabled on this system, uncomment this option for // use as a local resolver. To give access to the network, specify |
#tail /var/log/messages
Aug 12 18:27:19 fbsd6 su: user to root on /dev/ttyp9 Aug 12 18:47:37 fbsd6 su: user to root on /dev/ttyp4 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on 127.0.0.1#953 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on ::1#953 Aug 12 18:48:02 fbsd6 named[7132]: exiting Aug 12 18:48:02 fbsd6 named[8004]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:262: unknown option 'typemaster' Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:268: '}' expected near end of file Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) |
#tail /var/log/messages
Aug 12 18:27:19 fbsd6 su: user to root on /dev/ttyp9 Aug 12 18:47:37 fbsd6 su: user to root on /dev/ttyp4 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on 127.0.0.1#953 Aug 12 18:48:02 fbsd6 named[7132]: stopping command channel on ::1#953 Aug 12 18:48:02 fbsd6 named[7132]: exiting Aug 12 18:48:02 fbsd6 named[8004]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:262: unknown option 'typemaster' Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:268: '}' expected near end of file Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-7685.1195.9000 2009-08-12 18:49:57.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:51:55.000000000 +0300 @@ -254,14 +254,12 @@ file "master/db.dima.net.nt"; forwarders {}; }; - - -zone "1.168.192.in-addr.arpa" { - typemaster; - file "slave/1.168.192.in-addr.arpa"; - masters { - 192.168.1.1; +zone "16.168.192.in-addr.arpa" { + type forward; + file "slave/16.168.192.in-addr.arpa"; + forwarders { + 192.168.16.254; }; |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-7685.1195.9000 2009-08-12 18:49:57.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:51:55.000000000 +0300 @@ -254,14 +254,12 @@ file "master/db.dima.net.nt"; forwarders {}; }; - - -zone "1.168.192.in-addr.arpa" { - typemaster; - file "slave/1.168.192.in-addr.arpa"; - masters { - 192.168.1.1; +zone "16.168.192.in-addr.arpa" { + type forward; + file "slave/16.168.192.in-addr.arpa"; + forwarders { + 192.168.16.254; }; |
#/etc/rc.d/named restart
named not running? (check /var/run/named/pid). Starting named. |
#/etc/rc.d/named restart
named not running? (check /var/run/named/pid). Starting named. |
#ps aux | grep named
|
#ps aux | grep named
|
#ps aux | grep bind
root 8151 0,0 0,0 372 236 pa R+ 18:52 0:00,00 grep bind |
#ps aux | grep bind
root 8151 0,0 0,0 372 236 pa R+ 18:52 0:00,00 grep bind |
#tail /var/log/messages
Aug 12 18:48:02 fbsd6 named[7132]: exiting Aug 12 18:48:02 fbsd6 named[8004]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:262: unknown option 'typemaster' Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:268: '}' expected near end of file Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) Aug 12 18:52:10 fbsd6 named[8133]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:52:10 fbsd6 named[8133]: /etc/namedb/named.conf:266: '}' expected near end of file Aug 12 18:52:10 fbsd6 named[8133]: loading configuration: unexpected token Aug 12 18:52:10 fbsd6 named[8133]: exiting (due to fatal error) |
#tail /var/log/messages
Aug 12 18:48:02 fbsd6 named[7132]: exiting Aug 12 18:48:02 fbsd6 named[8004]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:262: unknown option 'typemaster' Aug 12 18:48:02 fbsd6 named[8004]: /etc/namedb/named.conf:268: '}' expected near end of file Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) Aug 12 18:52:10 fbsd6 named[8133]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:52:10 fbsd6 named[8133]: /etc/namedb/named.conf:266: '}' expected near end of file Aug 12 18:52:10 fbsd6 named[8133]: loading configuration: unexpected token Aug 12 18:52:10 fbsd6 named[8133]: exiting (due to fatal error) |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-7685.24544.24007 2009-08-12 18:52:26.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:53:22.000000000 +0300 @@ -252,7 +252,6 @@ zone "dima.net.nt" { type master; file "master/db.dima.net.nt"; - forwarders {}; }; @@ -262,4 +261,4 @@ forwarders { 192.168.16.254; }; - +}; |
#vim /etc/namedb/named.conf
--- /tmp/l3-saved-7685.24544.24007 2009-08-12 18:52:26.000000000 +0300 +++ /etc/namedb/named.conf 2009-08-12 18:53:22.000000000 +0300 @@ -252,7 +252,6 @@ zone "dima.net.nt" { type master; file "master/db.dima.net.nt"; - forwarders {}; }; @@ -262,4 +261,4 @@ forwarders { 192.168.16.254; }; - +}; |
#/etc/rc.d/named restart
named not running? (check /var/run/named/pid). Starting named. |
#/etc/rc.d/named restart
named not running? (check /var/run/named/pid). Starting named. |
#ps aux | grep bind
|
#ps aux | grep bind
|
#ps aux | grep named
|
#ps aux | grep named
|
#ps aux | grep namedb
|
#ps aux | grep namedb
|
#tail /var/log/messages
Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) Aug 12 18:52:10 fbsd6 named[8133]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:52:10 fbsd6 named[8133]: /etc/namedb/named.conf:266: '}' expected near end of file Aug 12 18:52:10 fbsd6 named[8133]: loading configuration: unexpected token Aug 12 18:52:10 fbsd6 named[8133]: exiting (due to fatal error) Aug 12 18:53:25 fbsd6 named[8246]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:53:25 fbsd6 named[8246]: /etc/namedb/named.conf:260: option 'file' is not allowed in 'forward' zone '16.168.192.in-addr.arpa' Aug 12 18:53:25 fbsd6 named[8246]: loading configuration: failure Aug 12 18:53:25 fbsd6 named[8246]: exiting (due to fatal error) |
#tail /var/log/messages
Aug 12 18:48:02 fbsd6 named[8004]: loading configuration: unexpected token Aug 12 18:48:02 fbsd6 named[8004]: exiting (due to fatal error) Aug 12 18:52:10 fbsd6 named[8133]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:52:10 fbsd6 named[8133]: /etc/namedb/named.conf:266: '}' expected near end of file Aug 12 18:52:10 fbsd6 named[8133]: loading configuration: unexpected token Aug 12 18:52:10 fbsd6 named[8133]: exiting (due to fatal error) Aug 12 18:53:25 fbsd6 named[8246]: starting BIND 9.3.4-P1 -t /var/named -u bind Aug 12 18:53:25 fbsd6 named[8246]: /etc/namedb/named.conf:260: option 'file' is not allowed in 'forward' zone '16.168.192.in-addr.arpa' Aug 12 18:53:25 fbsd6 named[8246]: loading configuration: failure Aug 12 18:53:25 fbsd6 named[8246]: exiting (due to fatal error) |
l3cd=/users/27-07-2009/nt-fbsdnet/fbsd6.net.nt/root
Время первой команды журнала | 19:04:17 2009- 8-10 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 17:53:31 2009- 8-12 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 28.71 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 1.98 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.94 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 0.87 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008