Danh mục

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    
Hoai.2512

Phí tải xuống: 7,000 VND Tải xuống file đầy đủ (20 trang) 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 ) ...

Tài liệu được xem nhiều: