Offer Packt Publishing Dns In Action_6
Số trang: 20
Loại file: pdf
Dung lượng: 1.92 MB
Lượt xem: 14
Lượt tải: 0
Xem trước 2 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
Tham khảo tài liệu offer packt publishing dns in action_6, công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả
Nội dung trích xuất từ tài liệu:
Offer Packt Publishing Dns In Action_6 Chapter 5Extract: number of zones: 5 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is OFF server is up and runningFurther details about the program and its configuration can be found in the documentation, whichis a part of every BIND distribution.Overview of rndc commands: Command Description reload Reloads the configuration file and zone files reconfig Reloads the configuration file and new or changed zone files; unchanged zone files are not loaded stats Records the statistics into a file querylog Switches on logging queries about the name server dumpdb Records the servers cache memory in the dump file stop Stops the server and records changes acquired by IXFR or by a dynamic update into files halt Stops the server immediately trace Increases the debugging level of the server by 1 notrace Sets the debugging level of the server at 0 flush Cleans the servers cache memory status Displays the status of the server5.2.1 SignalsThe kill command can be used to send a signal to the named program in UNIX. A similar groupof actions can be carried out using signals to those available using the rndc program. Thefollowing signals are usually processed: HUP, INT, IOT, TERM, KILL, USR1, and USR2. In theactual implementation of a name server, the parameters that were used during compiling the namedprogram are also important.The kill command has, as the second parameter, a process number (PID). You can findout the process number the named program is running under by, for example, using the pscommand. However, the named program writes the process number into the /path/named.pid fileduring its startup. The location and the name of the file can be influenced during the compilationof the named program.The syntax of the kill command, for example, with the HUP signal is the following: kill —HUP cat /path/named.pid 129Tools for DNS Debugging and AdministrationIf you wish to start the diagnostics of the named program during its startup, you need to state therelevant parameter in the command line that is used to start the named program. For more details,see the man named command.5.2.1.1 HUP SignalThe HUP signal forces the name server to read the data from the disk again. However, the cache isnot usually cleaned by the HUP signal.5.2.1.2 INT SignalThe INT signal extracts all data (authoritative and nonauthoritative) from the memory into a fileusually called /tmp/named_dump.bd. An example of a part of the file is as follows: ; Dumped at Fri Feb 16 18:12:49 1996 ; Note: Cr=(auth, answer, addtnl, cache) tag only shown for non-authorised RRs ; Note: NT=milliseconds for any A RR which weve used as a nameserver ; ----Cache & Data---- $ORIGIN . . 518339 IN NS A.ROOT-SERVERS.NET. 5188339 IN NS H.ROOT-SERVERS.NET. 5188339 IN NS B.ROOT-SERVERS.NET. 5188339 IN NS C.ROOT-SERVERS.NET. 5188339 IN NS D.ROOT-SERVERS.NET. 5188339 IN NS E.ROOT-SERVERS.NET. 5188339 IN NS I.ROOT-SERVERS.NET. 5188339 IN NS F.ROOT-SERVERS.NET. 5188339 IN NS G.ROOT-SERVERS.NET. 86348 IN SOA A.ROOT-SERVERS.NET. HOSTMASTER.INTERNIC.NET. ( 1996021400 10800 900 604800 86400) ;Cr=addtnl ;workgroup 548 IN A NXDOMAIN ;-$ cz 172768 IN NS NS.EUNET.CZ. ;Cr=addtnl 172768 IN NS NS.CESNET.CZ. ;Cr=addtnl 172768 IN NS NS.EU.NET. ;Cr=addtnl 172768 IN NS SUNIC.SUNSET.SE. ;Cr=addtnl 172768 IN NS NS.UU.NET. ;Cr=addtnl 172768 IN NS SPARKY.ARL.MIL. ;Cr=addtnl $ORIGIN 48.192.IN-ADDR.ARPA. 96 518384 IN NS NS.UU.NET ;Cr=addtnl 518384 IN NS UUCP-GW-1.PA.DEC.COM. ;Cr=addtnl 518384 IN NS UUCP-GW-2.PA.DEC.COM. ;Cr=addtnl 518384 IN NS NS.EU.NET ;Cr=addtnl $ORIGIN 96.48.192.IN-ADDR.ARPA. 16 86385 IN PTR relay6.UU.NET. $ORIGIN 147.IN-ADDR.ARPA. 230 518391 IN NS BUBO.VSLIB.CZ. ;Cr=addtnl 518391 IN NS NS.CESNET.CZ. ;Cr=addtnl $ORIGIN 16.230.147.IN-ADDR.ARPA. 1 3591 IN PTR bubo.vslib.cz. $ORIGIN 0.127.IN-ADDR.ARPA. 0 IN SOA mh.company.com. hostmaster.company.com. ( 94082701 10800 3600 360000 1 29600 ) ...
Nội dung trích xuất từ tài liệu:
Offer Packt Publishing Dns In Action_6 Chapter 5Extract: number of zones: 5 debug level: 0 xfers running: 0 xfers deferred: 0 soa queries in progress: 0 query logging is OFF server is up and runningFurther details about the program and its configuration can be found in the documentation, whichis a part of every BIND distribution.Overview of rndc commands: Command Description reload Reloads the configuration file and zone files reconfig Reloads the configuration file and new or changed zone files; unchanged zone files are not loaded stats Records the statistics into a file querylog Switches on logging queries about the name server dumpdb Records the servers cache memory in the dump file stop Stops the server and records changes acquired by IXFR or by a dynamic update into files halt Stops the server immediately trace Increases the debugging level of the server by 1 notrace Sets the debugging level of the server at 0 flush Cleans the servers cache memory status Displays the status of the server5.2.1 SignalsThe kill command can be used to send a signal to the named program in UNIX. A similar groupof actions can be carried out using signals to those available using the rndc program. Thefollowing signals are usually processed: HUP, INT, IOT, TERM, KILL, USR1, and USR2. In theactual implementation of a name server, the parameters that were used during compiling the namedprogram are also important.The kill command has, as the second parameter, a process number (PID). You can findout the process number the named program is running under by, for example, using the pscommand. However, the named program writes the process number into the /path/named.pid fileduring its startup. The location and the name of the file can be influenced during the compilationof the named program.The syntax of the kill command, for example, with the HUP signal is the following: kill —HUP cat /path/named.pid 129Tools for DNS Debugging and AdministrationIf you wish to start the diagnostics of the named program during its startup, you need to state therelevant parameter in the command line that is used to start the named program. For more details,see the man named command.5.2.1.1 HUP SignalThe HUP signal forces the name server to read the data from the disk again. However, the cache isnot usually cleaned by the HUP signal.5.2.1.2 INT SignalThe INT signal extracts all data (authoritative and nonauthoritative) from the memory into a fileusually called /tmp/named_dump.bd. An example of a part of the file is as follows: ; Dumped at Fri Feb 16 18:12:49 1996 ; Note: Cr=(auth, answer, addtnl, cache) tag only shown for non-authorised RRs ; Note: NT=milliseconds for any A RR which weve used as a nameserver ; ----Cache & Data---- $ORIGIN . . 518339 IN NS A.ROOT-SERVERS.NET. 5188339 IN NS H.ROOT-SERVERS.NET. 5188339 IN NS B.ROOT-SERVERS.NET. 5188339 IN NS C.ROOT-SERVERS.NET. 5188339 IN NS D.ROOT-SERVERS.NET. 5188339 IN NS E.ROOT-SERVERS.NET. 5188339 IN NS I.ROOT-SERVERS.NET. 5188339 IN NS F.ROOT-SERVERS.NET. 5188339 IN NS G.ROOT-SERVERS.NET. 86348 IN SOA A.ROOT-SERVERS.NET. HOSTMASTER.INTERNIC.NET. ( 1996021400 10800 900 604800 86400) ;Cr=addtnl ;workgroup 548 IN A NXDOMAIN ;-$ cz 172768 IN NS NS.EUNET.CZ. ;Cr=addtnl 172768 IN NS NS.CESNET.CZ. ;Cr=addtnl 172768 IN NS NS.EU.NET. ;Cr=addtnl 172768 IN NS SUNIC.SUNSET.SE. ;Cr=addtnl 172768 IN NS NS.UU.NET. ;Cr=addtnl 172768 IN NS SPARKY.ARL.MIL. ;Cr=addtnl $ORIGIN 48.192.IN-ADDR.ARPA. 96 518384 IN NS NS.UU.NET ;Cr=addtnl 518384 IN NS UUCP-GW-1.PA.DEC.COM. ;Cr=addtnl 518384 IN NS UUCP-GW-2.PA.DEC.COM. ;Cr=addtnl 518384 IN NS NS.EU.NET ;Cr=addtnl $ORIGIN 96.48.192.IN-ADDR.ARPA. 16 86385 IN PTR relay6.UU.NET. $ORIGIN 147.IN-ADDR.ARPA. 230 518391 IN NS BUBO.VSLIB.CZ. ;Cr=addtnl 518391 IN NS NS.CESNET.CZ. ;Cr=addtnl $ORIGIN 16.230.147.IN-ADDR.ARPA. 1 3591 IN PTR bubo.vslib.cz. $ORIGIN 0.127.IN-ADDR.ARPA. 0 IN SOA mh.company.com. hostmaster.company.com. ( 94082701 10800 3600 360000 1 29600 ) ...
Tìm kiếm theo từ khóa liên quan:
thủ thuật máy tính tài liệu công nghệ thông tin lập trình máy tính mẹo máy tính cài đặt máy tínhGợi ý tài liệu liên quan:
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 317 0 0 -
Làm việc với Read Only Domain Controllers
20 trang 305 0 0 -
Thêm chức năng hữu dụng cho menu chuột phải trên Windows
4 trang 290 0 0 -
70 trang 251 1 0
-
Bài giảng Tin học lớp 11 bài 1: Giới thiệu ngôn ngữ lập trình C#
15 trang 238 0 0 -
Tổng hợp lỗi Win 8 và cách sửa
3 trang 233 0 0 -
Sửa lỗi các chức năng quan trọng của Win với ReEnable 2.0 Portable Edition
5 trang 214 0 0 -
Giáo trình Bảo trì hệ thống và cài đặt phần mềm
68 trang 208 0 0 -
Tổng hợp 30 lỗi thương gặp cho những bạn mới sử dụng máy tính
9 trang 205 0 0 -
UltraISO chương trình ghi đĩa, tạo ổ đĩa ảo nhỏ gọn
10 trang 204 0 0