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

Is there a way to match without using an "@" entry? It seems "*" entries only match *

share|improve this question

migrated from Nov 25 '09 at 18:20

This question came from our site for professional and enthusiast programmers.

What is your ultimate goal in eliminating the use of "@"? The @ isn't actually part of DNS; it's just a placeholder in your DNS zone file syntax that means "no hostname here".

Instead of writing (BIND zone file syntax):

    @             IN    A

you can use a fully qualified name on the left:  IN    A

Note that the trailing period after com. is critical in this example, since BIND assumes that names written without a trailing period get the current zone name appended to them (so you'd end up with an A record for, probably not what you want).

share|improve this answer

I tend to just CNAME to

share|improve this answer
I would strongly recommend against doing that. Records with a CNAME cannot have any other records (including NS and SOA), so it is logically invalid to add a CNAME to You may find that it works sometimes, but there are resolvers out there that will fail when they encounter this situation. For references, see RFC 1034 section 3.6.2 and RFC 1912 section 2.4. – Greg Hewgill Nov 25 '09 at 18:27
yeah, don't do that. :) – toppledwagon Nov 26 '09 at 1:21

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.