3

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

Marius
  • 365
  • 1
  • 2
  • 9
  • 1
    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 09: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 network-tools.com to test dns records – Marius Mar 22 '13 at 09:47
  • That's certainly your prerogative, but these questions are generally much harder to answer without real data (see, eg, the answer at http://serverfault.com/questions/485137/lame-dns-server/485148#485148 ). 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

3 Answers3

1

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.

Marius
  • 365
  • 1
  • 2
  • 9
0

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 nonexisting.domain.com, in fact it is resolved as nonexisting.domain.com.dns-suffix.other-domain.com (which is resolvable to your WRONG IP).

Emil C
  • 64
  • 3
  • 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
-1

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

Peter
  • 822
  • 2
  • 10
  • 23