Network Design and Operations

For a web server move, the IP address in the A record for www.example.com will be changed. The record's TTL is currently 86400 seconds, and to keep the time the old address is used after the change to about 5 minutes at most, the TTL will be lowered to 300 seconds beforehand. Resolvers cache records exactly for their TTL. Which is the correct deadline for lowering the TTL?

  1. A5 minutes before the change
  2. B1 hour before the change
  3. C24 hours before the change
Show answer and explanation

Answer: C. 24 hours before the change

A resolver that queried just before the TTL was lowered keeps the record cached for the old TTL of 86400 seconds, or 24 hours. Twenty-four hours after the TTL is lowered to 300 seconds, therefore, every resolver's cache holds the new record with the 300-second TTL. If the address is changed after that point, the old address is used for at most about 300 seconds (5 minutes). Once the change is complete and stable, the TTL is raised back to its original value to reduce the number of queries.

  • A. With only 5 minutes, answers cached earlier with the 86400-second TTL can remain for almost 24 hours after the change.
  • B. With only 1 hour, answers cached earlier can remain for up to 23 hours after the change.
  • C. Correct. Once the old TTL of 86400 seconds (24 hours) has passed, every cache holds the record with the short TTL.
Practice this topic Back to topic

Related calculators

Books on Network Design and Operations Ad

As an Amazon Associate I earn from qualifying purchases.

More Network Design and Operations questions

  1. A router that performs NAPT (outside address 198.51.100.7) is configured with port forwarding, a static setting that translates only the destination: "forward traffic arriving at outside TCP port 8080 to port 80 on the inside web server 192.168.1.20." When host 203.0.113.9 on the internet connects from source port 51000 to port 8080 on 198.51.100.7, which is the destination and source of the packets the web server receives?
  2. An ACL that checks incoming packets from the top is applied to a router interface. Rule 1 is "permit traffic to TCP port 443 on 10.0.0.10," rule 2 is "deny all traffic from source 192.168.1.0/24," and rule 3 is "permit traffic from source 192.168.0.0/16 to TCP port 80"; there are no other rules. Of the four packets (i) "from 192.168.1.5 to TCP port 443 on 10.0.0.10," (ii) "from 192.168.1.5 to TCP port 80 on 10.0.0.20," (iii) "from 192.168.2.5 to TCP port 80 on 10.0.0.20" and (iv) "from 192.168.2.5 to TCP port 22 on 10.0.0.20," which choice lists all the packets that are let through?
  3. In IPv6, which range holds link-local addresses, which are used only within the same link and are always configured automatically on every interface that uses IPv6?
  4. In IPv6 SLAAC (stateless address autoconfiguration), how does a host create a global unicast address?
  5. An interface with MAC address 00-1A-2B-3C-4D-5E creates an address with SLAAC from the prefix 2001:db8:1:1::/64 and an interface ID in the EUI-64 format. Which address results?

Comparisons in this topic