[clug-talk] Subdomains and DNS
Gustin Johnson
Gustin at echostar.ca
Sun Sep 24 23:15:40 PDT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I use CNAMEs all the time. This is really handy as I have a few dyndns
accounts, and my host.mydomain.tld is merely a CNAME for for the dyndns.
The trick to cname records is that they must end with a period. So an
example:
myalias IN CNAME somehost.somedomain.tld.
Notice the trailing .
Hth,
Shawn wrote:
> Thanks for the info. My subdomain list is getting kinda long, and they
> all point tot he same IP (didn't want to mess with CNAME records, which
> I've only had partial luck with, so they are all A records...)
>
> That entry would allow me to create subdomains on the fly without
> worrying about the DNS. You're right though, if you want a particular
> name to point to a different box, you might have problems, or need to
> handle the redirection differently.
>
> Shawn
>
> Jon wrote:
>> Shawn wrote:
>>
>>> hmmm... I'd like to know how you got the wildcard thing working - would
>>> make my life a little easier. :)
>> As per my last post on the subject, it turns out that I am utterly wrong
>> and everyone else is right. I do, in fact, have a wildcard DNS record
>> that I set up a long time ago and then promptly forgot about.
>>
>> As for setting it up, it's silly easy, really. I have a Zone Edit record
>> that points *.linuxworldnet.com to my main IP.
>>
>> I imagine it might get a little more complicated if you wanted to have
>> separate machines on your domain doing different things (as in, if
>> ftp.yourdomain.com was actually supposed to point to a different box).
>> But for my purposes, this seems to be working fine.
>>
>> Back under my rock...
>>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFF3QMwRXgH3rKGfMRAl2lAKCdkAjjX3dtQ+cxfg8oPyz2pKdcVwCgq2IZ
QeTJ3YCfUogfbfyzfLT/ZJo=
=jWUD
-----END PGP SIGNATURE-----
More information about the clug-talk
mailing list