KISA-GD-2011-0002 2011.9
1) RD(Recursive Desired) 플래그 : 리커시브네임서버로하여금재귀적 (recursive) 질의 ( 항목 1.3. 참고 ) 요청을표시함. RD 플레그값이 0 이면반복적 (iterative) 질의를요청
2) AA 플래그 : Authoritative Answer 의약자로써, 네임서버가해당응답데이터를자신이보유하고있는지유무를표시 3) Authoritative 네임서버 : 도메인존데이터를자신이데이터로보유하여이데이터만사용하여응답처리하는네임서버
4) RA 플래그 : Recursive Available 의약자로써, 응답하는네임서버가리커시브기능을갖는네임서버인지를표시
1
2
n n n n
1
2
3
1
2
1 2
Ÿ Ÿ
zone "my-domain.re.kr" IN { type master; // file "my-domain.kr.zone"; // allow-transfer { 192.168.2.53; 192.168.3.53; }; // };
zone "my-domain.re.kr" IN { type slave; // masters { 192.168.1.53; }; // IP allow-transfer { none; }; // }; $ORIGIN my-domain.re.kr. $TTL 300 @ SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr ( 2009090101 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) NS ns1.my-domain.re.kr. NS ns2.my-domain.re.kr. NS ns3.my-domain.re.kr. ns1 A 192.168.1.53 ns2 A 192.168.2.53 ns3 A 192.168.3.53
Ÿ Ÿ
Ÿ
$ dig @211.182.233.3 version.bind ch txt +short "BIND 8.3.3" $ dig @193.0.14.129 version.bind ch txt +short "NSD 2.3.7" $ dig @152.99.1.10 version.bind ch txt +short "Nominum ANS 2.6.0.1" $ dig @222.239.76.130 version.bind ch txt +short "Served by POWERDNS 2.9.21 $Id: packethandler.cc 1036 2007-04-19 20:43:14Z ahu $" $ dig @203.255.112.34 version.bind ch txt +short "To err is human, to fix is divine - domain@higlobe.net" $ dig @210.204.251.22 version.bind ch txt +short "No!!"
C:\>nslookup.exe < > > server 211.182.233.3 < > > set class=chaos > set type=txt > version.bind Server: [211.182.233.3] Address: 211.182.233.3 VERSION.BIND text = > exit "BIND 8.3.3" options {...... version none; }; //
$ dig @localhost version.bind ch txt ; <<>> DiG 9.3.1 <<>> @localhost version.bind ch txt ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1146 ;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;version.bind. CH TXT ;; AUTHORITY SECTION: version.bind. 86400 CH SOA version.bind. hostmaster.version.bind. 0 28800 7200 604800 86400 ;; Query time: 4 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 12 19:09:52 2009 ;; MSG SIZE rcvd: 77 options {...... version UNKNOWN ; // }; $ dig @localhost version.bind ch txt ; <<>> DiG 9.3.1 <<>> @localhost version.bind ch txt ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 953 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0 ;; QUESTION SECTION: ;version.bind. CH TXT ;; ANSWER SECTION: version.bind. 0 CH TXT "UNKOWN"
;; AUTHORITY SECTION: version.bind. 0 CH NS version.bind. ;; Query time: 10 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Jun 12 19:10:35 2009 ;; MSG SIZE rcvd: 63 options {...... hostname none; // }; options {...... hostname ns ; // }; $ dig @202.30.50.51 hostname.bind ch txt ; <<>> DiG 9.3.1 <<>> @202.30.50.51 hostname.bind ch txt ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2038 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;hostname.bind. CH TXT ;; ANSWER SECTION:
HOSTNAME.BIND. 0 CH TXT "ns" ;; Query time: 5 msec ;; SERVER: 202.30.50.51#53(202.30.50.51) ;; WHEN: Fri Jun 26 20:35:25 2009 ;; MSG SIZE rcvd: 60
Ÿ Ÿ
options {... recursion no; }; // // acl internal-hosts { localhost; localnets; 192.168.1.0/24; 192.168.5.0/24; }; options {... allow-recursion { internal-hosts; }; }; //
options {... recursion no; }; //
// acl internal-hosts { localhost; localnets; 192.168.1.0/24; 192.168.5.0/24; }; options {... allow-query { any; }; // allow-recursion { internal-hosts; }; // allow-query-cache { internal-hosts; }; // };
Ÿ Ÿ
options { allow-transfer { none; }; }; zone "my-domain.re.kr" IN { type master; // file "my-domain.kr"; // allow-transfer { 192.168.2.53; 192.168.3.53; }; // };
zone "my-domain.re.kr" IN { type slave; // masters { 192.168.1.53; }; // IP allow-transfer { none; }; // }; zone "my-domain.re.kr" IN { type slave; // masters { 192.168.1.53; }; // IP }; $ dig @192.168.2.53 my-domain.re.kr axfr +norec +multi ; <<>> DiG 9.3.1 <<>> @192.168.2.53 my-domain.re.kr axfr +norec +multi ; (1 server found) ;; global options: printcmd ; Transfer failed. $ dig @192.168.2.53 my-domain.re.kr axfr +norec +multi ; <<>> DiG 9.3.1 <<>> @192.168.2.53 my-domain.re.kr axfr +norec +multi ; (1 server found) ;; global options: printcmd my-domain.re.kr. 300 IN SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr. ( 2009090105 ; serial
1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) my-domain.re.kr. 300 IN NS ns1.my-domain.re.kr. my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr. ns1.my-domain.re.kr. 300 IN A 192.168.1.53 ns2.my-domain.re.kr. 300 IN A 192.168.2.53 ns3.my-domain.re.kr. 300 IN A 192.168.3.53 www.my-domain.re.kr. 300 IN A 192.168.80.80 my-domain.re.kr. 300 IN SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr. ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) ;; Query time: 19 msec ;; SERVER: 192.168.2.53#53(192.168.2.53) ;; WHEN: Tue Aug 11 16:56:00 2009 ;; XFR size: 9 records (messages 1)
Ÿ Ÿ
zone "my-domain.re.kr" IN { type master; // file "my-domain.kr.zone"; // allow-transfer { 192.168.2.53; 192.168.3.53; }; // };
zone "my-domain.re.kr" IN { type slave; // masters { 192.168.1.53; }; // IP allow-transfer { none; }; // }; $ORIGIN my-domain.re.kr. $TTL 300 @ SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr ( 2009090101 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) NS ns1.my-domain.re.kr. NS ns2.my-domain.re.kr. NS ns3.my-domain.re.kr. ns1 A 192.168.1.53 ns2 A 192.168.2.53 ns3 A 192.168.3.53
Ÿ Ÿ Ÿ Ÿ
Ÿ kisa-ex.or.kr. 300 IN SOA ns1.kisa-ex.or.kr. domain.kisa-ex.or.kr. ( 2009072201 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) )
my-domain.re.kr. 300 IN SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr. ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr. $ORIGIN my-domain.re.kr. @ 300 IN SOA ns1 dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr.
$ORIGIN my-domain.re.kr. @ 300 IN SOA ns1.my-domain.re.kr dnsadm.my-domain.re.kr (... ) $ORIGIN my-domain.re.kr. @ 300 IN SOA ns1.example.kr. dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours)
300 ; minimum (5 minutes) ) 300 IN NS ns1.example.kr. 300 IN NS ns2.example.kr. 300 IN NS ns3.example.kr.
Ÿ kisa-ex.or.kr. 300 IN SOA ns1.kisa-ex.or.kr. domain.kisa-ex.or.kr. ( 2009072201 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) )
my-domain.re.kr. 300 IN SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr. ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr. $ORIGIN my-domain.re.kr.
@ 300 IN SOA ns1 dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr. $ORIGIN my-domain.re.kr. @ 300 IN SOA ns1 dnsadm.example.kr. ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr.
Ÿ kisa-ex.or.kr. 300 IN SOA ns1.kisa-ex.or.kr. domain.kisa-ex.or.kr. ( 2009072201 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) )
Ÿ
Ÿ Ÿ Ÿ Ÿ Ÿ
n n
: : my-domain.re.kr. 300 IN SOA ns1.my-domain.re.kr. dnsadim.my-domain.re.kr. ( 2009100101 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) )
Ÿ Ÿ
my-domain.re.kr. 300 IN SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr. ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr. ns1.my-domain.re.kr. 300 IN A 192.168.1.53 ns2.my-domain.re.kr. 300 IN A 192.168.2.53 ns3.my-domain.re.kr. 300 IN A 192.168.3.53 $ORIGIN my-domain.re.kr.
@ 300 IN SOA ns1 dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1 300 IN NS ns2 300 IN NS ns3 ns1 300 IN A 192.168.1.53 ns2 300 IN A 192.168.2.53 ns3 300 IN A 192.168.3.53 $ORIGIN my-domain.re.kr. @ 300 IN SOA ns1 dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1 300 IN NS ns2 300 IN NS ns3 ns1 300 IN CNAME dns1 ns2 300 IN CNAME dns2
ns3 300 IN CNAME dns3 dns1 300 IN A 192.168.1.53 dns2 300 IN A 192.168.2.53 dns3 300 IN A 192.168.3.53 $ORIGIN my-domain.re.kr. @ 300 IN SOA ns1.example.kr. dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.example.kr. 300 IN NS ns2.example.kr. 300 IN NS ns3.example.kr.
$ORIGIN my-domain.re.kr. @ 300 IN SOA ns1 dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS 192.168.1.53 300 IN NS 192.168.2.53 300 IN NS 192.168.3.53
Ÿ Ÿ
my-domain.re.kr. 300 IN SOA ns1.my-domain.re.kr. dnsadm.my-domain.re.kr. ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.my-domain.re.kr. 300 IN NS ns2.my-domain.re.kr. 300 IN NS ns3.my-domain.re.kr. 300 IN MX 10 smtp1.my-domain.re.kr. 300 IN MX 20 smtp2.my-domain.re.kr. 300 IN MX 30 smtp3.my-domain.re.kr. smtp1.my-domain.re.kr. 300 IN A 192.168.1.25 smtp2.my-domain.re.kr. 300 IN A 192.168.2.25 smtp3.my-domain.re.kr. 300 IN A 192.168.3.25 ns1.my-domain.re.kr. 300 IN A 192.168.1.53 ns2.my-domain.re.kr. 300 IN A 192.168.2.53 ns3.my-domain.re.kr. 300 IN A 192.168.3.53 $ORIGIN my-domain.re.kr. @ 300 IN SOA ns1 dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1 300 IN NS ns2 300 IN NS ns3 300 IN MX 10 smtp1 300 IN MX 20 smtp2 300 IN MX 30 smtp3 smtp1 300 IN A 192.168.1.25
smtp2 300 IN A 192.168.2.25 smtp3 300 IN A 192.168.3.25 ns1 300 IN A 192.168.1.53 ns2 300 IN A 192.168.2.53 ns3 300 IN A 192.168.3.53 $ORIGIN my-domain.re.kr. @ 300 IN SOA ns1 dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1 300 IN NS ns2 300 IN NS ns3 300 IN MX 10 smtp1 300 IN MX 20 smtp2
300 IN MX 30 smtp3 smtp1 smtp2 smtp3 300 IN CNAME mail1 300 IN CNAME mail2 300 IN CNAME mail3 mail1 300 IN A 192.168.1.25 mail2 300 IN A 192.168.2.25 mail3 300 IN A 192.168.3.25 ns1 300 IN A 192.168.1.53 ns2 300 IN A 192.168.2.53 ns3 300 IN A 192.168.3.53
$ORIGIN my-domain.re.kr. @ 300 IN SOA ns1.example.kr. dnsadm ( 2009090105 ; serial 1800 ; refresh (30 minutes) 300 ; retry (5 minutes) 3600000 ; expire (5 weeks 6 days 16 hours) 300 ; minimum (5 minutes) ) 300 IN NS ns1.example.kr. 300 IN NS ns2.example.kr. 300 IN NS ns3.example.kr. 300 IN MX 10 smtp1.example.kr. 300 IN MX 20 smtp2.example.kr. 300 IN MX 30 smtp3.example.kr.
my-domain.re.kr. IN TXT "v=spf1 ip4:1.2.3.4 ip4:1.2.3.5 -all" my-domain.re.kr. IN TXT "v=spf1 ip4:1.2.3.4 -all" my-domain.re.kr. IN TXT "v=spf1 ip4:1.2.3.5 -all"
$ dig www.kisa-ex.or.kr ; <<>> DiG 9.3.1 <<>> www.kisa-ex.or.kr ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1797 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0 ;; QUESTION SECTION: ;www.kisa-ex.or.kr. IN A ;; ANSWER SECTION: www.kisa-ex.or.kr. 300 IN A 169.254.50.86
;; AUTHORITY SECTION: kisa-ex.or.kr. 300 IN NS ns0.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns1.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns2.kisa-ex.or.kr. ;; Query time: 59 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Jul 7 13:22:36 2009 ;; MSG SIZE rcvd: 102 ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1797 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0
;; QUESTION SECTION: ;www.kisa-ex.or.kr. IN A ;; ANSWER SECTION: www.kisa-ex.or.kr. 300 IN A 169.254.50.86 ;; AUTHORITY SECTION: kisa-ex.or.kr. 300 IN NS ns0.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns1.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns2.kisa-ex.or.kr.
$ dig @ns0.kisa-ex.or.kr www.kisa-ex.or.kr +norecurse ; <<>> DiG 9.3.1 <<>> @ns0.kisa-ex.or.kr www.kisa-ex.or.kr +norecurse ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 811 ;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4 ;; QUESTION SECTION: ;www.kisa-ex.or.kr. IN A ;; ANSWER SECTION: www.kisa-ex.or.kr. 300 IN A 169.254.50.86 ;; AUTHORITY SECTION: kisa-ex.or.kr. 300 IN NS ns1.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns2.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns0.kisa-ex.or.kr. ;; ADDITIONAL SECTION: ns0.kisa-ex.or.kr. 300 IN A 169.254.1.53 ns0.kisa-ex.or.kr. 300 IN AAAA 2001:dc5:0:10:169:254:50:52 ns1.kisa-ex.or.kr. 300 IN A 169.254.50.51
ns2.kisa-ex.or.kr. 300 IN A 169.254.100.53 ;; Query time: 413 msec ;; SERVER: 169.254.1.53#53(169.254.1.53) ;; WHEN: Tue Jul 7 15:09:27 2009 ;; MSG SIZE rcvd: 178 ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 811 ;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4
$ dig www.kisa-ex.or.kr +trace ; <<>> DiG 9.3.1 <<>> www.kisa-ex.or.kr +trace ;; global options: printcmd. 508599 IN NS F.ROOT-SERVERS.NET.. 508599 IN NS G.ROOT-SERVERS.NET.. 508599 IN NS H.ROOT-SERVERS.NET.. 508599 IN NS I.ROOT-SERVERS.NET.. 508599 IN NS J.ROOT-SERVERS.NET.. 508599 IN NS K.ROOT-SERVERS.NET.. 508599 IN NS L.ROOT-SERVERS.NET.. 508599 IN NS M.ROOT-SERVERS.NET.. 508599 IN NS A.ROOT-SERVERS.NET.. 508599 IN NS B.ROOT-SERVERS.NET.. 508599 IN NS C.ROOT-SERVERS.NET.. 508599 IN NS D.ROOT-SERVERS.NET.. 508599 IN NS E.ROOT-SERVERS.NET. ;; Received 456 bytes from 127.0.0.1#53(127.0.0.1) in 5 ms kr. 172800 IN NS G.DNS.kr. kr. 172800 IN NS B.DNS.kr. kr. 172800 IN NS C.DNS.kr. kr. 172800 IN NS D.DNS.kr. kr. 172800 IN NS E.DNS.kr. kr. 172800 IN NS F.DNS.kr. ;; Received 284 bytes from 192.5.5.241#53(F.ROOT-SERVERS.NET) in 6 ms kisa-ex.or.kr. 86400 IN NS ns0.kisa-ex.or.kr. kisa-ex.or.kr. 86400 IN NS ns1.kisa-ex.or.kr. kisa-ex.or.kr. 86400 IN NS ns2.kisa-ex.or.kr. ;; Received 162 bytes from 202.31.190.1#53(G.DNS.kr) in 4 ms www.kisa-ex.or.kr. 300 IN A 169.254.50.86 kisa-ex.or.kr. 300 IN NS ns1.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns2.kisa-ex.or.kr. kisa-ex.or.kr. 300 IN NS ns0.kisa-ex.or.kr. ;; Received 178 bytes from 169.254.1.53#53(ns0.kisa-ex.or.kr) in 3 ms
$ dig safedns.kr +nssearch SOA ns1.safedns.kr. domain-manager.nic.or.kr. 2009070701 3600 900 604800 7200 from server ns1.safedns.kr in 109 ms. SOA ns1.safedns.kr. domain-manager.nic.or.kr. 2009070701 3600 900 604800 7200 from server ns2.safedns.kr in 125 ms.
$ dig www.kisa-ex.or.kr +short 169.254.50.86
$ dig www.kisa-ex.or.kr +noall +comments +answer ; <<>> DiG 9.3.1 <<>> www.kisa-ex.or.kr +noall +comments +answer ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1996 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0 ;; ANSWER SECTION: www.kisa-ex.or.kr. 281 IN A 169.254.50.86 ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1996 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 0 ;; ANSWER SECTION: www.kisa-ex.or.kr. 281 IN A 169.254.50.86
$ dig @b.root-servers.net. ns > named.root dig @192.168.1.53 my-domain.re.kr axfr +multiline > my-domain.re.kr-zone
n n n n n n n n
n n n n n n
n n
n C:\>nslookup Default Server: localhost Address: 127.0.0.1 > www.kisa-ex.or.kr Server: localhost Address: 127.0.0.1 Non-authoritative answer: Name: www.kisa-ex.or.kr Address: 169.254.50.86 > exit C:\> C:\>nslookup www.kisa-ex.or.kr Server: localhost Address: 127.0.0.1
Non-authoritative answer: Name: www.kisa-ex.or.kr Address: 169.254.50.86 C:\> $ dig @ns0.kisa-ex.or.kr www.kisa-ex.or.kr +norecurse C:\>nslookup Default Server: localhost Address: 127.0.0.1 > server ns0.kisa-ex.or.kr Default Server: ns0.kisa-ex.or.kr Address: 169.254.1.53 > set norecurse > www.kisa-ex.or.kr Server: ns0.kisa-ex.or.kr Address: 169.254.1.53 Name: www.kisa-ex.or.kr Address: 169.254.50.86 > exit
C:\>nslookup Default Server: localhost Address: 127.0.0.1 > set type=mx > kisa-ex.or.kr Server: localhost Address: 127.0.0.1 Non-authoritative answer: kisa-ex.or.kr MX preference = 0, mail exchanger = mailgw.kisa-ex.or.kr kisa-ex.or.kr nameserver = ns2.kisa-ex.or.kr kisa-ex.or.kr nameserver = ns0.kisa-ex.or.kr kisa-ex.or.kr nameserver = ns1.kisa-ex.or.kr mailgw.kisa-ex.or.kr internet address = 169.254.50.169 ns0.kisa-ex.or.kr internet address = 169.254.1.53 ns0.kisa-ex.or.kr AAAA IPv6 address = 2001:dc5:0:10:169:254:50:52 ns1.kisa-ex.or.kr internet address = 169.254.50.51 ns2.kisa-ex.or.kr internet address = 169.254.100.53 > exit
C:\>nslookup Default Server: localhost Address: 127.0.0.1 > server ns0.kisa-ex.or.kr Default Server: ns0.kisa-ex.or.kr Address: 169.254.1.53 > set norecurse > set debug > www.kisa-ex.or.kr Server: ns0.kisa-ex.or.kr Address: 169.254.1.53 ------------ Got answer: HEADER: opcode = QUERY, id = 3, rcode = NOERROR header flags: response, auth. answer questions = 1, answers = 1, authority records = 3, additional = 4 QUESTIONS: www.kisa-ex.or.kr, type = A, class = IN ANSWERS: -> www.kisa-ex.or.kr internet address = 169.254.50.86 ttl = 300 (5 mins) AUTHORITY RECORDS: -> kisa-ex.or.kr nameserver = ns0.kisa-ex.or.kr ttl = 300 (5 mins) -> kisa-ex.or.kr nameserver = ns1.kisa-ex.or.kr ttl = 300 (5 mins)
-> kisa-ex.or.kr nameserver = ns2.kisa-ex.or.kr ttl = 300 (5 mins) ADDITIONAL RECORDS: -> ns0.kisa-ex.or.kr internet address = 169.254.1.53 ttl = 300 (5 mins) -> ns0.kisa-ex.or.kr AAAA IPv6 address = 2001:dc5:0:10:169:254:50:52 ttl = 300 (5 mins) -> ns1.kisa-ex.or.kr internet address = 169.254.50.51 ttl = 300 (5 mins) -> ns2.kisa-ex.or.kr internet address = 169.254.100.53 ttl = 300 (5 mins) ------------ Name: www.kisa-ex.or.kr Address: 169.254.50.86 > exit
n n n
n n n
n n n
n
www.my-domain.re.kr. IN A 192.168.80.80 ftp.my-domain.re.kr. IN A 192.168.80.80 mail.my-domain.re.kr. IN A 192.168.80.80 www.my-domain.re.kr. IN A 192.168.80.80 ftp.my-domain.re.kr. IN CNAME www.my-domain.re.kr. mail.my-domain.re.kr. IN CNAME www.my-domain.re.kr.