LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Re: Subdomains on the same machine

[ILUG] Re: Subdomains on the same machine

Nick Murtagh murtaghn at tcd.ie
Mon Mar 25 12:11:33 GMT 2002


On Monday 25 March 2002 09:44, Ciaran Johnston wrote:
> Now, can I set up a DNS server on my machine that takes requests for
> *.nologic.org and handles * by redirecting to itself? Or will I have to get
> my ISP (yes, it's hosting365) to handle this? The way I see it my machine
> should be capable of handling requests for the nologic.org domain and any
> subdomains...

Only if that machine is recognised as the nameserver for nologic.org. You
might be able to get the hosting company to let your server be the primary
nameserver for the domain (I assume you are using bind) and have one of their
servers be the secondary nameserver, which will update itself from your
primary nameserver. Then you can do what you want....

It is possibly in bind (and djbdns, but w2k dns doesn't like it much) to set 
up a record that uses wildcarding: eg

*.nologic.org.    IN    A    10.0.0.1

This might be all you need. People will try to tell you to use CNAMEs, but
they aren't necessary, and require extra lookups on the client. (Don't forget
at least one PTR record though).




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell