⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 named.8

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 8
字号:
.TH named 8.SH Namenamed \- Internet name domain server daemon.SH Syntax.B /usr/etc/named[.B \-d.I level#] [.B \-p.I port#] [.B \-b.I bootfile][.B \-n][.B \-a.I type.version].SH Description.NXR "name" "daemon"The.PN nameddaemon is the Internet domain name server for the BIND/Hesiod service.Without any arguments,.PN namedreads the default boot file.PN /etc/named.bootand any initial data from the BIND/Hesiod data base files..PN Named then listens for queries..PPThe boot file specifies where the BIND/Hesiod server is to getits initial data.  See the Example section..PPThe master data files consist of entries of the following form:.EX$include \fIfile\fR$origin \fIdomain\fR\fIdomain ttl addr-class entry-type resource-record-data\fR.EEThe.PN includeentry is useful for separating data into separate files.The.PN originentry is useful for placing more than one domain in a data file.It can also be used to set the reverse network number origin.The fields are:.IP file 13This is the name of the file to be included..IP domain This is the domain name..\" A period (.) signifies the root domain.An at sign (@) signifies the current origin.A name refers to the standard domain name.If the domain name does not end with a period,the current origin is appended to the domain.A domain name ending with a period is the complete BIND domain name(fully qualified) and thus does not get an extension appended to it..IP ttlThis field is an optional integer specifying the time to live.If no time to live is specified,the default is obtained from the SOA entry..IP addr-classThis field is the object class type.There are three classes:.RS.IP IN 11Objects connected to the DARPA Internet.IP HS 11Hesiod naming service data.IP ANY 11All classes.RE.IP entry-typeThe most common entries for this field are listedbelow.  The.PN resource-record-datafield, however, must correspond with the entry type:.RS.IP A 11Host address.IP CNAMECanonical name for an alias.IP HINFOHost information.IP MXMail exchanger.IP NSAuthoritative name server.IP PTRDomain name pointer.IP SOAStart of a zone of authority.IP TXTHesiod text.IP WKSWell-known service description.RE.PPThe following signals have the specified effect when sent to theserver.PN namedprocess using the.PN killcommand:.IP SIGXFSZ 13Causes the server to reload only the databases that have changed..IP SIGHUP 13Causes the server to read .PN named.boot and reload database..IP SIGINTDumps the current data base and cache to.PN /var/tmp/named_dump.db ..IP SIGIOTDumps.PN namedstatistics to.PN /var/tmp/named.stats ..IP SIGUSR1Turns on debugging.Each time the SIGUSR1 signal is issued,the debug level increments by one.Debugging information is dumped to .PN /var/tmp/named.run ..IP SIGUSR2Turns off debugging..SH Options.IP "\fB\-b \fIbootfile\fR" 13Names of the boot file.If no boot file is specified,the default is.PN /etc/named.boot ..IP "\fB\-d \fIlevel#\fR"Prints debugging information.A number after the \fB\-d\fR option determines the level of messages printed.It is a good idea to run the.PN nameddaemon with the \-d option in the background..IP "\fB\-p \fIport#\fR"Specifies the port number.The default is the standard port number listed in the.PN /etc/servicesfile..IP "\fB\-n\fR"Runs .PN namedin network safe mode.  All HS class queries sent over thenetwork are authenticated.  Non-authenticated queries forHS information from hosts other than local host are not answered.  Non-authenticated requests for zone transfers are ignored..IP "\fB\-a \fItype.version\fR"Specifies the default authentication type.  When authenticated queries are formed, .PN namedneeds to know what type of authentication to use.  The .I typeparameter specifies the form of authentication.  The.I versionparameter specifies the version of the .I typeto use.  The supported forms of authentication are:.RS.IP type 10Kerberos.IP version One.RE.SH ExamplesThe following is an example of a boot file:.EX 0.nf;;     boot file for name server;; type     domain                 source file or host;primary    cities.us              hosts.db;primary    2.10.in-addr.arpa      hosts.rev;primary    0.0.127.in-addr.arpa   named.local;secondary  cc.cities.us           10.2.0.78 128.32.0.10;; load the cache data lastcache       .                     named.ca	.fi.EEEntries beginning with a semicolon are comment lines.In this example,the first line that is not a comment specifies that this system isthe primary authoritative BIND server for thedomain.PN cities.us .This line also specifies that the file.PN hosts.dbcontains authoritative data for the.PN cities.usdomain.Domain names in the file.PN hosts.dbare relative to the origin,such as.PN cities.us in the preceding example..PPThe second and third non-comment entries (beginning with.PN primary )show the.PN in-addr.arpadomain in reverse order.This allows address to name mapping..PPThe fourth non-comment line specifies that all authoritative data under.PN cc.cities.usis to be transferred from the primary master server at IP address.PN 10.2.0.78to the secondary server.If the transfer fails, the secondary server will then try themaster server at address.PN 128.32.0.10.There can be up to 10 IP addresses listed..PPThe cache entry specifies that the data in.PN named.cais to be placed in the cache.This would include well known data such as the locationsof root domain servers..SH Files.TP 20.PN /var/dss/namedb/named.boot Name server configuration boot file.TP .PN /etc/named.pidProcess ID number.TP.PN /var/tmp/named.runDebug output.TP.PN /var/tmp/named_dump.dbDump of the BIND server's cache.SH See Alsokill(1), signal(3c), resolver(3), hesiod.conf(5), resolv.conf(5).br.I Guide to the BIND/Hesiod Service

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -