setenforce0serviceiptablesstop关闭防火墙1.安装dns软件包yuminstallbind2.配置文件全局配置vi/etc/named.conflisten-onport53{192.168.80.20;};网卡IPdirectory"/var/named";区域数据文件存放位置allow-query{any;};允许使用本DNS网段区域配置(1)正向区域(域名解析成IP)vi/..
分类:
系统相关 时间:
2014-07-29 15:40:19
阅读次数:
390
PrototypeTime Limit: 1 Second Memory Limit: 32768 KBPrototype is a 3D game which allow you to control a person named Alex with much super ability t...
分类:
其他好文 时间:
2014-07-27 11:06:42
阅读次数:
328
命名参数(Named Arguments)就是说在调用函数时可以通过指定参数名称的方式来调用参数。它最大的好处就是方便调用参数时按调用者的需要来排列顺序,而不必死守函 数声明时的顺序,同时结合默认参数值的特性,可以选择使用默认参数还是不使用默认参数。
分类:
其他好文 时间:
2014-07-27 11:03:09
阅读次数:
247
Couple doubiTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 4861DescriptionDouBiXp has a girlfriend named Do...
分类:
其他好文 时间:
2014-07-26 01:25:06
阅读次数:
281
Problem Description
A little girl loves programming competition very much. Recently, she has found a new kind of programming competition named "TopTopTopCoder". Every user who has registered in "To...
分类:
其他好文 时间:
2014-07-24 10:27:14
阅读次数:
301
【UsePass】 The UsePass command uses named passes from another shader.[Syntax] UsePass"Shader/Name" Inserts all passes with a given name from a given...
分类:
其他好文 时间:
2014-07-23 14:54:26
阅读次数:
287
Sunny Cup 2003 - Preliminary Round
April 20th, 12:00 - 17:00
Problem E: QS Network
In the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each...
分类:
其他好文 时间:
2014-07-23 13:14:06
阅读次数:
288
Problem Description
DouBiXp has a girlfriend named DouBiNan.One day they felt very boring and decided to play some games. The rule of this game is as following. There are k balls on the desk. Every...
分类:
其他好文 时间:
2014-07-23 00:05:27
阅读次数:
344
一、IPC进程间通信IPC是进程间通信方法的统称,Linux IPC包括以下方法,Android的进程间通信主要采用是哪些方法呢? 1. 管道(Pipe)及有名管道(named pipe):管道可用于具有亲缘关系进程间的通信,有名管道克服了管道没有名字的限制,因此,除具有管道所具有的功能外,它还允许...
分类:
移动开发 时间:
2014-07-22 23:03:12
阅读次数:
306
vim/etc/name.confoptions{directory"/var/named";recursionyes;#定义开启递归功能;默认是给所有用户递归。 allow-recursion{172.16.0.0/16;};#表示只对这个网段的用户递归;或者定义递归客户端来源的; allow-query#定义谁可以来进行查询;};zone"."IN{typehint;file"named.c..
分类:
其他好文 时间:
2014-07-22 18:08:32
阅读次数:
227