![]() You also use the trailing dot in some data files for DNS servers. You would typically use the trailing dot if you want to be sure the DNS lookup doesn't use the search path and checks only against the root of the DNS namespace. (Some organizations don't put their domain in /etc/nf, and many users don't know they can abbreviate hostnames in this way.) If your company is and you have in the DNS search path, you can type a command like "ping Most software still supports this, but it isn't used by that many people. It used to be pretty common to put your organization's domain in /etc/nf so that you can use the short version of a hostname. (Usually the resolver path is specified by directives in /etc/nf.) Just as Linux will skip this process if you specify a leading "/", the DNS resolver will skip that process if you specify a trailing ".". Try this command:Īlso, just as Linux searches PATH (in order) when you run a command, the DNS resolver searches a path when you look up a host. The root has children like "com", "net", "uk", etc. A trailing "." represents the root of the DNS namespace like a leading "/" represents the root of the Linux (or Unix, etc.) filesystem.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |