DNS区域文件(Zone file)的serial数值命名规则

简介:

DNS区域文件(Zone file)的serial命名规则需要按照官方提供的文档命名,主要有2点需要注意。

1.命名时,Master DNS的Serial数值必须大于Slave DNS的,且全必须是数字;

2.Serial 数值不能是超过当前系统时间的未来的某个值,如现在是2013年10月29不能超过2013102900;

YYYYMMDDRR的格式如下:

The format for this line is YYYYMMDDRR where:

YYYY = The year (e.g. 2005)   
MM = The month (e.g. 02)    
DD = The day (e.g. 22)    
RR = Today's revision of this file (e.g. 01)

Incrementing and Changing the Serial Number

 Zone serial numbers are just numbers — they aren’t date related. A lot of people set them to a number

that represents a date, usually of the form YYYYMMDDRR. Occasionally they will make a mistake and

set them to a ”date in the future” then try to correct them by setting them to the ”current date”. This

causes problems because serial numbers are used to indicate that a zone has been updated. If the serial

number on the slave server is lower than the serial number on the master, the slave server will attempt

to update its copy of the zone.

 Setting the serial number to a lower number on the master server than the slave server means that the

slave will not perform updates to its copy of the zone.

 The solution to this is to add 2147483647 (2?31-1) to the number, reload the zone and make sure all slaves

have updated to the new zone serial number, then reset the number to what you want it to be, and reload

the zone again.




本文转自 urey_pp 51CTO博客,原文链接:http://blog.51cto.com/dgd2010/1394076,如需转载请自行联系原作者


相关文章
|
5天前
|
存储 Java API
Android 浅度解析:mk预置AAR、SO文件、APP包和签名
Android 浅度解析:mk预置AAR、SO文件、APP包和签名
92 0
|
5天前
|
XML JavaScript 前端开发
xml文件使用及解析
xml文件使用及解析
|
5天前
|
存储 安全 数据管理
Linux文件时间戳:解析时区与修改时间的相互作用
Linux文件时间戳:解析时区与修改时间的相互作用
51 2
|
5天前
|
算法 Linux C++
【Linux系统编程】解析获取和设置文件信息与权限的Linux系统调用
【Linux系统编程】解析获取和设置文件信息与权限的Linux系统调用
37 0
|
5天前
|
安全 Java 数据库连接
jdbc解析excel文件,批量插入数据至库中
jdbc解析excel文件,批量插入数据至库中
21 0
|
5天前
|
弹性计算 运维 Shell
|
5天前
|
分布式计算 Java 大数据
MaxCompute产品使用合集之大数据计算MaxCompute外部表映射了oss中的csv文件,看到"\N"被解析为"N",是什么原因
MaxCompute作为一款全面的大数据处理平台,广泛应用于各类大数据分析、数据挖掘、BI及机器学习场景。掌握其核心功能、熟练操作流程、遵循最佳实践,可以帮助用户高效、安全地管理和利用海量数据。以下是一个关于MaxCompute产品使用的合集,涵盖了其核心功能、应用场景、操作流程以及最佳实践等内容。
|
5天前
|
移动开发 数据可视化 Linux
Linux 中的文件与目录管理解析
当谈到Linux系统,文件与目录管理是其中最基本和重要的部分之一。Linux提供了一种强大而灵活的方式来组织和管理文件和目录,让用户能够轻松地访问和操作系统中的各种数据。上一节我们说到文件的属性,本文将详细介绍Linux中的文件与目录管理的各个方面。
|
5天前
|
Linux Go 数据安全/隐私保护
Linux 中的文件属性解析
在 Linux 系统中,每个文件和目录有一组属性控制其操作和访问权限。了解这些属性对有效管理文件至关重要。文件属性包括:文件类型(如 `-` 表示普通文件,`d` 表示目录),权限(如 `rwx` 表示所有者权限,`r-x` 表示组和其他用户权限),所有者,组,硬链接数,文件大小和最后修改时间。通过 `chown` 和 `chmod` 命令可更改文件所有者、所属组及权限。此外,还有特殊权限(如 SUID、SGID)和 ACL(访问控制列表)提供更精细的访问控制。
|
5天前
|
XML C# 数据格式
C# 解析XML文件
C# 解析XML文件
59 1

相关产品

  • 云解析DNS
  • 推荐镜像

    更多