📄 readme
字号:
$Id: README,v 2.0 90/09/11 11:06:43 hakanson Rel $-------------------------------------------------------------------------- dnsparse kit, version 2.0 Copyright (c) 1990, Marion Hakanson This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.--------------------------------------------------------------------------In this directory are some tools for manipulating Domain Name Systemmaster files, and for converting to /etc/hosts format. There are alsoa couple of tools (simphosts, sorthosts) for dealing with host tables.To run dns2hosts, or anything which uses the dnsparse.pl library(currently just dnstest and dnsmkptr), one must first compile"dnslex.c" into a program "dnslex" and install it somewhere in yoursearch path. The "dnsparse.pl" file must also be somewhere in theperl library search path, and perl must be available.Typically how one generates new host table(s) from the DNS zone files isto have the zones and their master file pathnames in "zonelist", andthen do something like (in csh syntax):set ver=YY.MM.DDforeach dom ( ogi admin.ogi cbs.ogi cse.ogi ese.ogi mse.ogi ) echo $dom set fil="HOSTS.${dom}.$ver" ./dns2hosts -d${dom}.edu `cat zonelist` > $fil chmod a-w,a+r $filendNOTE: you may need to edit by hand to reorder multiply-homed hosts!To Do:Write some real documentation. Manual pages, too.The dnsmkptr program is really simplistic -- needs to produce splitzone files (net/subnet), rather than just a single output.These things should really be more automated....The dns2hosts output would be "more like the nameserver" if it alsosimulated the "sortlist" functionality. This would require anotheroption to specify the target network that queries are coming from,and maybe also the home network. Complicated, ugly, and at the leastit requires further study.-- Marion Hakanson Domain: hakanson@cse.ogi.edu UUCP : {hp-pcd,tektronix}!ogicse!hakanson
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -