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

📄 rndc-confgen.8

📁 bind 9.3结合mysql数据库
💻 8
字号:
.\" Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC").\" Copyright (C) 2001-2003  Internet Software Consortium..\".\" Permission to use, copy, modify, and distribute this software for any.\" purpose with or without fee is hereby granted, provided that the above.\" copyright notice and this permission notice appear in all copies..\".\" THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH.\" REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY.\" AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,.\" INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM.\" LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR.\" PERFORMANCE OF THIS SOFTWARE..\".\" $Id: rndc-confgen.8,v 1.3.2.5.2.3 2004/06/03 05:35:48 marka Exp $.\".TH "RNDC-CONFGEN" "8" "Aug 27, 2001" "BIND9" "".SH NAMErndc-confgen \- rndc key generation tool.SH SYNOPSIS.sp\fBrndc-confgen\fR [ \fB-a\fR ]  [ \fB-b \fIkeysize\fB\fR ]  [ \fB-c \fIkeyfile\fB\fR ]  [ \fB-h\fR ]  [ \fB-k \fIkeyname\fB\fR ]  [ \fB-p \fIport\fB\fR ]  [ \fB-r \fIrandomfile\fB\fR ]  [ \fB-s \fIaddress\fB\fR ]  [ \fB-t \fIchrootdir\fB\fR ]  [ \fB-u \fIuser\fB\fR ] .SH "DESCRIPTION".PP\fBrndc-confgen\fR generates configuration filesfor \fBrndc\fR. It can be used as aconvenient alternative to writing the\fIrndc.conf\fR fileand the corresponding \fBcontrols\fRand \fBkey\fRstatements in \fInamed.conf\fR by hand.Alternatively, it can be run with the \fB-a\fRoption to set up a \fIrndc.key\fR file andavoid the need for a \fIrndc.conf\fR fileand a \fBcontrols\fR statement altogether..SH "OPTIONS".TP\fB-a\fRDo automatic \fBrndc\fR configuration.This creates a file \fIrndc.key\fRin \fI/etc\fR (or whateversysconfdirwas specified as when BIND was built)that is read by both \fBrndc\fRand \fBnamed\fR on startup. The\fIrndc.key\fR file defines a defaultcommand channel and authentication key allowing\fBrndc\fR to communicate with\fBnamed\fR on the local hostwith no further configuration. Running \fBrndc-confgen -a\fR allowsBIND 9 and \fBrndc\fR to be used as drop-inreplacements for BIND 8 and \fBndc\fR,with no changes to the existing BIND 8\fInamed.conf\fR file.If a more elaborate configuration than thatgenerated by \fBrndc-confgen -a\fRis required, for example if rndc is to be used remotely,you should run \fBrndc-confgen\fR without the\fB-a\fR option and set up a\fIrndc.conf\fR and\fInamed.conf\fRas directed..TP\fB-b \fIkeysize\fB\fRSpecifies the size of the authentication key in bits.Must be between 1 and 512 bits; the default is 128..TP\fB-c \fIkeyfile\fB\fRUsed with the \fB-a\fR option to specifyan alternate location for \fIrndc.key\fR..TP\fB-h\fRPrints a short summary of the options and arguments to\fBrndc-confgen\fR..TP\fB-k \fIkeyname\fB\fRSpecifies the key name of the rndc authentication key.This must be a valid domain name.The default is rndc-key..TP\fB-p \fIport\fB\fRSpecifies the command channel port where \fBnamed\fRlistens for connections from \fBrndc\fR.The default is 953..TP\fB-r \fIrandomfile\fB\fRSpecifies a source of random data for generating theauthorization. If the operatingsystem does not provide a \fI/dev/random\fRor equivalent device, the default source of randomnessis keyboard input. \fIrandomdev\fR specifiesthe name of a character device or file containing randomdata to be used instead of the default. The special value\fIkeyboard\fR indicates that keyboardinput should be used..TP\fB-s \fIaddress\fB\fRSpecifies the IP address where \fBnamed\fRlistens for command channel connections from\fBrndc\fR. The default is the loopbackaddress 127.0.0.1..TP\fB-t \fIchrootdir\fB\fRUsed with the \fB-a\fR option to specifya directory where \fBnamed\fR will runchrooted. An additional copy of the \fIrndc.key\fRwill be written relative to this directory so thatit will be found by the chrooted \fBnamed\fR..TP\fB-u \fIuser\fB\fRUsed with the \fB-a\fR option to set the ownerof the \fIrndc.key\fR file generated. If\fB-t\fR is also specified only the file inthe chroot area has its owner changed..SH "EXAMPLES".PPTo allow \fBrndc\fR to be used withno manual configuration, run.PP\fBrndc-confgen -a\fR.PPTo print a sample \fIrndc.conf\fR file andcorresponding \fBcontrols\fR and \fBkey\fRstatements to be manually inserted into \fInamed.conf\fR,run.PP\fBrndc-confgen\fR.SH "SEE ALSO".PP\fBrndc\fR(8),\fBrndc.conf\fR(5),\fBnamed\fR(8),\fIBIND 9 Administrator Reference Manual\fR..SH "AUTHOR".PPInternet Systems Consortium

⌨️ 快捷键说明

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