LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Any name resolves to. A? CNAME? DNS Q (https://www.linuxquestions.org/questions/linux-networking-3/any-name-resolves-to-a-cname-dns-q-276136/)

dlublink 01-10-2005 12:05 PM

Any name resolves to. A? CNAME? DNS Q
 
HEy!

I have a domain, for argument sake, mydomain.tld.

I want to set it so that anything.mydomain.tld resolves to the same address.

Can I put a wild card, or something? How would I go about doing this?

Thanks,

David

Bind 9

Ateo 01-10-2005 03:10 PM

Wildcards won't work (i don't think they do). So you have to resort to CNAME records pointing to an A record.

dlublink 01-11-2005 09:48 AM

But I want to say any subdomain point to IP address. How would this be accomplished with CNAME?

dlublink 01-11-2005 09:55 AM

* IN A 10.0.0.1

That is what I put in the master file for my domain and it works perfectly (I know it is a private address.)

So anyone who wants to use wildcards to point any subdomain to an IP just use the wildcard *


:)

David


All times are GMT -5. The time now is 09:21 PM.