Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

Here's the situation:

  • before I bought the domain, all of its subdomains were resolving to some IP address (let's call it WRONG IP)
  • after I bought it - nothing changed. I could add my own records, but any non-existing subdomains would still point to WRONG IP
  • to counteract this, I created a wildcard subdomain to point to my server (let's call it RIGHT IP).
  • now all non-existing subdomains point to RIGHT IP

But all I want is a couple of A records ... that's all. I don't want all of the non-existing subdomains to point anywhere. I just want them to not resolve at all.

How could I do this?

Thanks for your thoughts

share|improve this question
Could you give us a concrete example? I ask this because, assuming you aren't currently advertising any wildcard records inside the zone itself, this is often because the web client's ISP provides wildcard records for everything that is otherwise unresolvable, often for marketing/advertising purposes. There's nothing you can do about that, but we need to establish if that's the case. – MadHatter Mar 22 '13 at 9:40
@MadHatter i'm sorry i do not want to tell the domain name here. It is possible that was the case with the previous domain owner, since it was pointing to a marketing page. But right now with a reputable hosting company i should be able to fix this (if only i knew how). P.S. i'm using to test dns records – Marius Mar 22 '13 at 9:47
That's certainly your prerogative, but these questions are generally much harder to answer without real data (see, eg, the answer at ). I wish you well and hope you find an answer, but if you won't help us, I'm afraid I'm not willing to spend the substantial extra time required to help you. – MadHatter Mar 22 '13 at 10:39
@MadHatter thank you for trying to help. I really appreciate it. For now i don't want to look lame and helpless, pasting my domain on a forum. But if the hosting support doesn't find an answer soon, i guess i'll just have no choice. – Marius Mar 22 '13 at 10:48

The answer to my question was one of those things you think would be too simple to actually try. After waiting a while for the wildcard record to propogate all over the world, i removed that record completely. And the hosting provider's dns servers are now correctly not resolving non-existing domains instead of pointing to a marketing page.

share|improve this answer

What are the "dns suffix" settings on your machine/router/dhcp?

I could only explain this behavior when, on your machine there's a DNS suffix that has a wildcard record, and if you go to, in fact it is resolved as (which is resolvable to your WRONG IP).

share|improve this answer
Thank you, Emil, for trying to help, but the problem is already solved as stated in my own answer. It was really very simple and nothing to do with my machine. – Marius Mar 22 '13 at 19:30

You can try to add the following A record: @ IN A It's not a perfect solution but it is a solution. I believe that will solve your problem.

share|improve this answer
Umm, how does that make his subdomains unresolveable? – MadHatter Mar 22 '13 at 10:41
Well, it could point to – Peter Mar 22 '13 at 11:42
That's quite an important distinction; you might want to edit that into your question! – MadHatter Mar 22 '13 at 12:16

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.