Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have the following data in my dns file, for my domain...

$ORIGIN mydomain.com.
@       IN      A       208.X.Y.Z
mail    IN      A       208.X.Y.Z
... etc..

what is the @ line, mean? I know what an A record is.. but a host with an ampersand at sign?

share|improve this question
A little nitpicky perhaps but @ is not an ampersand. ;) –  John Gardeniers Nov 12 '09 at 6:40
HAHAH oooops :) That's so true .... time to fix that up.. (donno why i said it's an ampersand / & ) .. .... –  Pure.Krome Nov 12 '09 at 22:42
add comment

3 Answers

up vote 19 down vote accepted

RFC 1035 defines the format of a DNS zone file.

... on page 34 you'll find:

@ A free standing @ is used to denote the current origin.

This means that @ is a shortcut for the name defined with $ORIGIN.

You can find more information on $ORIGIN here, which is an excerpt from Pro DNS and BIND, published by Apress.

share|improve this answer
add comment

It's the root, or in your example it's mydomain.com.

share|improve this answer
add comment

It's an alias for the zone name itself. In this case, it indicates that the zone name has that address (or mx record, or ...)

share|improve this answer
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.