- DNS in Action
- Alena Kabelova, Libor Dostalek
- 390字
- 2021-04-29 19:11:16
1.2 Name Syntax
Names are listed in a dot notation (for example, abc.head.company.com
). Names have the following general syntax:
string.string.string ………string.
where the first string is a computer name, followed by the name of the lowest inserted domain, then the name of a higher domain, and so on. For unambiguousness, a dot expressing the root domain is also listed at the end.
The entire name can have a maximum of 255 characters. An individual string can have a maximum of 63 characters. The string can consist of letters, numbers, and hyphens. A hyphen cannot be at the beginning or at the end of a string. There are also extensions specifying a richer repertoire of characters that can be used to create names. However, we usually avoid these additional characters because they are not supported by all applications.
Both lower and upper case letters can be used, but this is not so easy. From the point of view of saving and processing in the DNS database, lower and upper case letters are not differentiated. In other words, the name newyork.com will be saved in the same place in a DNS database as NewYork.com or NEWYORK.com. Therefore, when translating a name to an IP address, it does not matter whether the user enters upper or lower case letters. However, the name is saved in the database in upper and lower case letters; so if NewYork.com was saved in the database, then during a query, the database will return "NewYork.com.". The final dot is part of the name.
In some cases, the part of the name on the right can be omitted. We can almost always leave out the last part of the domain name in application programs. In databases describing domains the situation is more complicated:
- It is almost always possible to omit the last dot.
- It is usually possible to omit the end of the name, which is identical to the name of the domain, on computers inside the domain. For example, inside the
company.com
domain it is possible to just writecomputer.abc
instead ofcomputer.abc.company.com
. (However, you cannot write a dot at the end!) The domains that the computer belongs to are directly defined by thedomain
andsearch
commands in the resolver configuration file. There can be several domains of this kind defined (see Section 1.9).
- 中文版Maya 2012實用教程(第2版)
- UG NX 8.0基礎(chǔ)與實例教程
- Lightroom Classic完全自學一本通
- ERP沙盤模擬簡明教程
- Adobe Illustrator 2023基礎(chǔ)教材
- 數(shù)字孿生體:第四次工業(yè)革命的通用目的技術(shù)
- Rhino 6.0中文版入門、精通與實戰(zhàn)
- Python數(shù)據(jù)分析實戰(zhàn):從Excel輕松入門Pandas
- AI繪畫:Stable Diffusion從入門到精通
- 大規(guī)模組織DevOps實踐
- ASP.NET jQuery Cookbook
- After Effects中文版入門、精通與實戰(zhàn)
- IBM Lotus Notes and Domino 8.5.1
- Photoshop后期強:多重曝光專業(yè)技法寶典
- UG NX 12.0中文版自學視頻教程