dns

When the internet doesn't see an update to your zonefile

Every once in awhile we see a situation where somebody changes the IP address one of their hostname (A records) points at and the rest of the world still sees the old address.

Common causes of this include:

  • You forgot to increment the zone's serial in the SOA record (*thwap*). Increment the serial and reload the zone again.
  • The nameserver you are using to check your hostname is a resolver / recursor that already has this record in its DNS cache and is answering with its cached data.

How do I point "www.domain.com" at "domain.com" or vice-versa?

You may have your webserver setup for either www.example.com or just example.com and you want it to work either way, whether people type in the "www" part of your domain or not.

(By way of info, "www" is purely a convention, it isn't in itself necessary to "make your domain work" over the web).

There are a couple ways to do this:

Setup a host record or A record for the root example.com domain. Then create a CNAME record or alias which points www.example.com at this host record.

In a bind style zone file you would put this:

Syndicate content

Back to top