The "@" Notation?

Si swalker at metrowerks.com
Thu Dec 5 09:34:54 UTC 2002



Hi All,

Another person who is new to DNS.

I am looking at BIND 8/9

I have just read the 4th Chapter in the 4th Ed of DNS and BIND from
O'reilly.

It mentions shortcuts and one of them in the "@" notation.

As I have read the @ is replaced in the zone file by the origin, which comes
from the zone statement in named.conf? The main question is do I need to
have a trailing period (.) in the zone statement so that @ is complete when
it is replaced in the zone file.

So should named.conf be like so?

zone "xyz.com."{
type master;
file "bxyz.com.";
};

With the trailing period (.) or can I leave it off as BIND would know this
is complete.

I think this quite important as if I get it wrong all my hosts listed in the
zone file without the domain attached (like so) would then fail?



localhost   IN A 127.0.0.1

host-a      IN A 192.168.10.1

host-b      IN A 192.168.10.2

host-c      IN A 192.168.10.3



I hope I have explained this ok..

Regards,

Si


More information about the bind-users mailing list