0

Hy, I got a domain (say example.com) and a server (say IP 1.2.3.4). I want to relay every traffic which is requested from the domain to my server. Every subdomain should be handled like this (so wildcard DNS). There should be one exception: The subdomain mail.example.com should be routed to another ip (say IP 2.3.4.5)

My previous hoster made the following zone-file for the dns server for me:

@                        IN A       1.2.3.4
mail                     IN A       2.3.4.5
*                        IN CNAME   @

Now, my new DNS-Hoster claims this is invalid and proposes this new zone file to me:

@                        IN A       1.2.3.4
mail                     IN A       2.3.4.5
*                        IN A       1.2.3.4

Is the first one realy wrong? Is the second one correct and does what I want?

I already read I a Wildcard CName DNS Record Valid, so the first one should not be wrong but only unsuported.

Thanks!

1 Answer 1

1

Read the full explanation here: Is a wildcard CNAME DNS record valid?

Is not wrong, but some providers doesn't support it.

Yes the second is correct and have the same efect.

2
  • Okay, I already read that. But does the second solution do the same?
    – theomega
    Mar 21, 2011 at 9:56
  • yes have the same effect.
    – Sacx
    Mar 21, 2011 at 10:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .