// Consider adding the 1918 zones here, if they are not used in your // organization //include "/etc/bind/zones.rfc1918"; zone "15.117.202.in-addr.arpa"...{ type master; file "/etc/bind/db.202.117.15"; };
zone "test.com"...{ type master; file "/etc/bind/db.test.com"; };
创建db.test.com和db.202.117.15两个文件
sudo touch /etc/bin/db.202.117.15 sudo vi /etc/bin/db.202.117.15
修改:
;db.202.117.15 ; $TTL 604800 @ IN SOA ubuntu.test.com. root.ubuntu.test.com. ( 1; serial 6040800;refresh 86400;retry 2419200;expire 604800 );negative cache ttl; @ IN NS ubuntu.test.com 165 IN PTR ubuntu.test.com
db.test.com
sudo touch /etc/bind/db.test.com sudo vi /etc/bind/db.test.com
修改:
; db.test.com ; $TTL 604800 @ IN SOA ubuntu.test.com. root.ubuntu.test.com. ( 1; 604800; 86400; 2419200; 604800 ); @ IN NS ubuntu.test.com ubuntu IN A 202.117.15.165 www IN CNAME ubuntu
1 svn回退版本
1)在window中选择log,根据想要回退的内容,选择revert this version或revert chanages from this version
两者的区别:
revert this version:表示回退到当前版本(该版本后的版本全部作废)
revert chanages from this versio
<!--javascript取当月最后一天-->
<script language=javascript>
var current = new Date();
var year = current.getYear();
var month = current.getMonth();
showMonthLastDay(year, mont
public class MyStack {
private long[] arr;
private int top;
public MyStack() {
arr = new long[10];
top = -1;
}
public MyStack(int maxsize) {
arr = new long[maxsize];
top
Binary search needs an ordered array so that it can use array indexing to dramatically reduce the number of compares required for each search, using the classic and venerable binary search algori