The zone file contains mappings between domain names and IP addresses and other resources, organized in the form of text representations of resource records (RR).
TTL is an acronym for Time To Live and refers to the capability of the DNS servers to cache DNS records.
It represents the amount of time that a DNS record for a certain host remains in the cache memory of a DNS server after the latter has located the host's matching IP address.
See the manual pages listed above for other class-specific methods.
# Use a default resolver -- can not get an error string this way.
; ; BIND data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost. This can be done by adding the ;; ANSWER SECTION: 126.96.36.199.
@ IN A 127.0.0.1 ; ; BIND reverse data file for local loopback interface ; $TTL 604800 @ IN SOA localhost. ( 1 ; Serial 604800 ; Refresh 86400 ; Retry 2419200 ; Expire 604800 ) ; Negative Cache TTL ; @ IN NS localhost. The TTL value can be set from one to several hours, if you are not planning any changes to your domain's DNS records in the meantime.If you need to make such changes, you will have to decrease the TTL value entry to several minutes to avoid any outdated data on your website.The DNS System powers the Internet as we know it today and is responsible for converting domain names into IP addresses and for placing them on the correct hosting server.But the DNS system would have been just a theoretical concept, if TTL was not presented.This objective includes setting appropriate values for records, adding hosts in zones and adding zones to the DNS. Luckily there is the tool tool but makes it possible to change raw zone files to text format (and vice versa) so they are readable by normal human beings.