[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [raq4] [DNS] wildcard DNS ?



> 
> hi - would anyone be so kind as to explain how i could setup an a
> sub.sub.sub.sub.sub.domain.tld for a www address.
> (http://this.is.the.sort.of.thing.i.mean.domain.co.uk)
> 

I'm not sure how 'co.uk' domains setup. But if you have a domain.com, then
in /etc/named directory, make a file called pri.domain.com.include and in
that file put:

*.domain.com   in   a    ip.address.goes.here

Once it takes effect, you'll see '$INCLUDE pri.webtent.net.include' at the
bottom of pri.domain.com in the /etc/named directory. And now you can have
anything.domain.com. After you save the file as pri.domain.com.include, go
to the DNS in the GUI and make a change and save something. I've always had
to do that because the file would not insert the INCLUDE line until I did.
If you want anything.whatever.domain.com, then put this in the '.include'
file:

*.whatever.domain.com    in     a     ip.address.goes.here

This is basically how to include anything into your zone files that Cobalt
does not setup for you.

Hope that helps:)

--
Robert