/l3/users/eb/2009/linux6/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 |
|
#host dak.class7.unix.nt
^[[A^C |
#host olegclass7.unix.nt
olegclass7.unix.nt does not exist, try again |
#host oleg.class7.unix.nt
oleg.class7.unix.nt does not exist, try again |
#host oleg.class8.unix.nt
oleg.class8.unix.nt does not exist, try again |
#host oleg.class8.unix.nt
oleg.class8.unix.nt does not exist, try again |
#rndc reload
server reload successful |
#host oleg.class8.unix.nt
oleg.class8.unix.nt does not exist, try again |
#host oleg.class8.unix.nt
oleg.class8.unix.nt does not exist, try again |
#host oleg.class6.unix.nt
oleg.class6.unix.nt A record not found, server failure |
#host linux7.class8.unix.nt
linux7.class8.unix.nt A 192.168.15.7 |
#host oleg.class6.unix.nt
oleg.class6.unix.nt A record not found, server failure |
#rndc flush
|
#host oleg.class6.unix.nt
oleg.class6.unix.nt A record not found, server failure |
#rndc reload
server reload successful |
#host @192.168.15.8 oleg.class6.unix.nt
oleg.class6.unix.nt A record not found, try again Error in looking up server name |
#vi /etc/bind/db.class6
|
#~
// Do any local configuration here // // Consider adding the 1918 zones here, if they are not used in your type master; // orga file "/etc/bind/db.class6"; };include "/etc/bind/zones.rfc1918"; ~ ~ ~ ~ ~ ~ ~ ~ ~ "/etc/bind/named.conf.local" 13L, 250C записано |
#hostame
bash: hostame: команда не найдена |
#host
Usage: host [-v] [-a] [-t querytype] [options] name [server] Listing: host [-v] [-a] [-t querytype] [options] -l zone [server] Hostcount: host [-v] [options] -H [-D] [-E] [-G] zone Check soa: host [-v] [options] -C zone Addrcheck: host [-v] [options] -A host Listing options: [-L level] [-S] [-A] [-p] [-P prefserver] [-N skipzone] Common options: [-d] [-f|-F file] [-I chars] [-i|-n] [-q] [-Q] [-T] [-Z] Other options: [-c class] [-e] [-m] [-o] [-r] [-R] [-s secs] [-u] [-w] Special options: [-O srcaddr] [-j minport] [-J maxport] Extended usage: [-x [name ...]] [-X server [name ...]] |
#hostname
linux6 |
#host 192.168.15.7
Name: linux7.class7.unix.nt Address: 192.168.15.7 |
#host 192.168.15.6
Name: linux6.class6.unix.nt Address: 192.168.15.6 |
#host 192.168.15.8
Name: linux8.class8.unix.nt Address: 192.168.15.8 |
#host 192.168.15.3
Name: linux3.class3.unix.nt Address: 192.168.15.3 |
#rndc -reload
rndc: invalid argument -r Usage: rndc [-c config] [-s server] [-p port] [-k key-file ] [-y key] [-V] command command is one of the following: reload Reload configuration file and zones. reload zone [class [view]] Reload a single zone. refresh zone [class [view]] Schedule immediate maintenance for a zone. retransfer zone [class [view]] ... flush [view] Flushes the server's cache for a view. flushname name [view] Flush the given name from the server's cache(s) status Display status of the server. recursing Dump the queries that are currently recursing (named.recursing) validation newstate [view] Enable / disable DNSSEC validation. *restart Restart the server. * == not yet implemented Version: 9.6.0-P1 |
#rndc reload
server reload successful |
#dig linux6 mx
; <<>> DiG 9.6.0-P1 <<>> linux6 mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 49440 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;linux6. IN MX ;; AUTHORITY SECTION: . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060301 1800 900 604800 86400 ;; Query time: 50 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:23:50 2009 ;; MSG SIZE rcvd: 99 |
#+q436f+q6b75+q6b64+q6b72+q6b6c+q2332+q2334+q2569+q2a37+q6b31
rnano rndc rndc-confgen |
#rndc reload
server reload successful |
#dig linux6 mx
; <<>> DiG 9.6.0-P1 <<>> linux6 mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 35402 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;linux6. IN MX ;; AUTHORITY SECTION: . 10612 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060301 1800 900 604800 86400 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:26:58 2009 ;; MSG SIZE rcvd: 99 |
#vi /etc/bind/db.class6
|
#dig linux6 mx
; <<>> DiG 9.6.0-P1 <<>> linux6 mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 6050 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;linux6. IN MX ;; AUTHORITY SECTION: . 10540 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060301 1800 900 604800 86400 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:28:10 2009 ;; MSG SIZE rcvd: 99 |
#dig linux6.class6.unix.tn mx
; <<>> DiG 9.6.0-P1 <<>> linux6.class6.unix.tn mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 42785 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;linux6.class6.unix.tn. IN MX ;; AUTHORITY SECTION: tn. 10800 IN SOA ns.ati.tn. hostmaster.ati.tn. 2009060400 21600 14400 864000 43200 ;; Query time: 439 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:28:45 2009 ;; MSG SIZE rcvd: 93 |
#dig eb.co.ua mx
; <<>> DiG 9.6.0-P1 <<>> eb.co.ua mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53363 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 4 ;; QUESTION SECTION: ;eb.co.ua. IN MX ;; ANSWER SECTION: eb.co.ua. 193 IN MX 20 bravo.eb.co.ua. eb.co.ua. 193 IN MX 10 alpha.eb.co.ua. ... co.ua. 171238 IN NS ns2.uadns.com. ;; ADDITIONAL SECTION: ns1.uadns.com. 171238 IN A 91.209.206.160 ns2.uadns.com. 171238 IN A 82.144.221.78 ns3.uadns.com. 171238 IN A 213.186.114.206 ns4.uadns.com. 171238 IN A 91.209.206.154 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:30:29 2009 ;; MSG SIZE rcvd: 233 |
#dig express.kiev.ua mx
; <<>> DiG 9.6.0-P1 <<>> express.kiev.ua mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38505 ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;express.kiev.ua. IN MX ;; ANSWER SECTION: express.kiev.ua. 600 IN MX 20 bravo.eb.co.ua. express.kiev.ua. 600 IN MX 10 alpha.eb.co.ua. ;; AUTHORITY SECTION: express.kiev.ua. 86400 IN NS ns2.eb.co.ua. express.kiev.ua. 86400 IN NS ns1.eb.co.ua. ;; Query time: 101 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:30:48 2009 ;; MSG SIZE rcvd: 119 |
#dig class8.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class8.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21862 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;class8.unix.nt. IN MX ;; ANSWER SECTION: class8.unix.nt. 604800 IN MX 10 linux8.class8.unix.nt. ;; AUTHORITY SECTION: class8.unix.nt. 604800 IN NS linux8.class8.unix.nt. ;; ADDITIONAL SECTION: linux8.class8.unix.nt. 604800 IN A 192.168.15.8 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:31:45 2009 ;; MSG SIZE rcvd: 85 |
#dig class7.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class7.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37277 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class7.unix.nt. IN MX ;; AUTHORITY SECTION: class7.unix.nt. 10292 IN SOA linux7.class7.unix.nt. root.class7.unix.nt. 2 604800 86400 2419200 604800 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:31:51 2009 ;; MSG SIZE rcvd: 80 |
#dig class8.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class8.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32564 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;class8.unix.nt. IN MX ;; ANSWER SECTION: class8.unix.nt. 604770 IN MX 10 linux8.class8.unix.nt. ;; AUTHORITY SECTION: class8.unix.nt. 604770 IN NS linux8.class8.unix.nt. ;; ADDITIONAL SECTION: linux8.class8.unix.nt. 604770 IN A 192.168.15.8 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:32:15 2009 ;; MSG SIZE rcvd: 85 |
#dig class7.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class7.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 749 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class7.unix.nt. IN MX ;; AUTHORITY SECTION: class7.unix.nt. 10162 IN SOA linux7.class7.unix.nt. root.class7.unix.nt. 2 604800 86400 2419200 604800 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:34:01 2009 ;; MSG SIZE rcvd: 80 |
#dig class8.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class8.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54882 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;class8.unix.nt. IN MX ;; ANSWER SECTION: class8.unix.nt. 604659 IN MX 10 linux8.class8.unix.nt. ;; AUTHORITY SECTION: class8.unix.nt. 604659 IN NS linux8.class8.unix.nt. ;; ADDITIONAL SECTION: linux8.class8.unix.nt. 604659 IN A 192.168.15.8 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:34:06 2009 ;; MSG SIZE rcvd: 85 |
#dig class5.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class5.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22130 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1 ;; QUESTION SECTION: ;class5.unix.nt. IN MX ;; ANSWER SECTION: class5.unix.nt. 3555 IN MX 10 linux5.class5.unix.nt. ;; AUTHORITY SECTION: class5.unix.nt. 3555 IN NS linux5.class5.unix.nt. ;; ADDITIONAL SECTION: linux5.class5.unix.nt. 3555 IN A 192.168.15.5 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:34:11 2009 ;; MSG SIZE rcvd: 85 |
#dig class2.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class2.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 663 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class2.unix.nt. IN MX ;; AUTHORITY SECTION: . 10800 IN SOA A.ROOT-SERVERS.NET. NSTLD.VERISIGN-GRS.COM. 2009060301 1800 900 604800 86400 ;; Query time: 152 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:34:16 2009 ;; MSG SIZE rcvd: 107 |
#dig class3.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class3.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41840 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2 ;; QUESTION SECTION: ;class3.unix.nt. IN MX ;; ANSWER SECTION: class3.unix.nt. 10154 IN MX 10 linux3.class3.unix.nt. ;; AUTHORITY SECTION: class3.unix.nt. 10154 IN NS linux3.class3.unix.nt. ;; ADDITIONAL SECTION: linux3.class3.unix.nt. 10154 IN A 192.168.202.2 linux3.class3.unix.nt. 10154 IN A 192.168.15.3 ;; Query time: 1 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:34:21 2009 ;; MSG SIZE rcvd: 101 |
#dig class7.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class7.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49418 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class7.unix.nt. IN MX ;; AUTHORITY SECTION: class7.unix.nt. 10093 IN SOA linux7.class7.unix.nt. root.class7.unix.nt. 2 604800 86400 2419200 604800 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:35:10 2009 ;; MSG SIZE rcvd: 80 |
#dig class7.unix.nt ns
; <<>> DiG 9.6.0-P1 <<>> class7.unix.nt ns ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 48041 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;class7.unix.nt. IN NS ;; ANSWER SECTION: class7.unix.nt. 604763 IN NS linux7.class7.unix.nt. ;; ADDITIONAL SECTION: linux7.class7.unix.nt. 604763 IN A 192.168.15.7 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:35:20 2009 ;; MSG SIZE rcvd: 69 |
#dig class7.unix.nt ns
; <<>> DiG 9.6.0-P1 <<>> class7.unix.nt ns ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32970 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;class7.unix.nt. IN NS ;; ANSWER SECTION: class7.unix.nt. 604672 IN NS linux7.class7.unix.nt. ;; ADDITIONAL SECTION: linux7.class7.unix.nt. 604672 IN A 192.168.15.7 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:36:51 2009 ;; MSG SIZE rcvd: 69 |
#dig class7.unix.nt mx
; <<>> DiG 9.6.0-P1 <<>> class7.unix.nt mx ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61359 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;class7.unix.nt. IN MX ;; AUTHORITY SECTION: class7.unix.nt. 9989 IN SOA linux7.class7.unix.nt. root.class7.unix.nt. 2 604800 86400 2419200 604800 ;; Query time: 0 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Thu Jun 4 15:36:54 2009 ;; MSG SIZE rcvd: 80 |
|