Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

e.g. can I do

subdomain IN CNAME @

in a zone file? or is it only valid in the beginning of a record? e.g

@ IN TXT "v=spf1 a mx -all"
share|improve this question
up vote 3 down vote accepted

@ is legal both as an "owner name" (i.e. the name of a zone file entry) and as "rdata" (i.e. the contents of a DNS entry), but only as a standalone token.

What you cannot do is <label>.@ - there's no need because <label> on its own with no trailing dot will implicitly append the current value of @ (aka $ORIGIN).

share|improve this answer

Have a look at this page. They did not say explicitly whether it is allowed or not to have @ at the end in your DNS record. You can try it yourself and see if it works!


It seems legal to have at the end. I found an example on Wikipedia.

share|improve this answer

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.