Use of the @-symbol in zone files.

Bjorn Johansson bjorn at bitforge.com
Wed Aug 8 14:04:53 UTC 2001


Hi,

I've been doing some experiments with a zone file and wanted to check if
what I've done is O.K.

The scenario is as follows:

Up to now, when I've wanted to make both www.domain.dom and domain.dom,
point to the same place, I've made two entries in my zone files that
look like this:

www     IN      A       111.111.111.111  (IP number just an example IP)
        IN      A       111.111.111.111

This has always worked fine, so I have no problems with this in
principal.

However, we're working on a DNS admin system and I'm a bit concerned
that the 'blank' record may cause some problems.

For that reason I've replaced the 'blank' record with an @, as in the
example below:

www     IN      A       111.111.111.111  (IP number just an example IP)
@       IN      A       111.111.111.111

As far as my testing shows, this does what I want it to do, but I just
wanted to check if this is O.K., or if it may cause problems.

Does anybody know of any reason not to use the @-symbol in this way?

Regards,
-- 
Bjorn Johansson


More information about the bind-users mailing list