Internet.com
Get your
ISP-News
courtesy of
internetnews.com




Search ISP-Lists
Search:
ISP Channel
CLEC-Planet
ISP Glossary
ISP News
ISP-Planet
ISP-Lists
E-mail Newsletters
Opt-in Announcements
Discussion Forums
internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

The ISP-Lists.com Email Discussion List Community

<- Previous Message | Next Message ->
Thread Index
[isp-dns] Re: How to create a dns record which only resolves TLD
On Saturday 12 July 2003 02:17 am, you wrote:
> In BIND9 I know you can user a wildcard.
>
> domain.com        IN A       1.2.3.4
> *                 IN A       1.2.3.4
>
> But unless you have every user's web site actually going to a single web
> site, you'll need to script something to set up each virtual web site on
> your web server.  You may as well also script the adding of the host name
> to the zone file at the same time.

You can do it wlth Wildcard dns record and mod rewrite on apache, so you don't 
have to touch the configs (after you set them up)

check out:
http://httpd.apache.org/docs/misc/rewriteguide.html


If you aren't using apache, good luck :) 
>
>
>
> ----- Original Message -----
> From: "Bhavin Modi" <mbhavin@...>
> To: <isp-dns@isp-dns.com>
> Sent: Friday, July 11, 2003 11:24 PM
> Subject: [isp-dns] Re: How to create a dns record which only resolves TLD
>
> > Actually I have been doing this but I was wondering if i could do this
> > with something like a wild card character, cuz I have thousands of users
> > and I cannot go and type there individual records. I heard of record
> > generators, but users can have any username not always something like
> > user1,user2..... so I think I cannot use record generators as well.
> >
> > All I have to do is
> >
> > domain.com  -> 1.2.3.4
> > www.domain.com -> 1.2.3.4
> > usera.domain.com - > 1.2.3.4
> > buser.domain.com -> 1.2.3.4
> > ....
> > ....
> > otheruser.domain.com -> 1.2.3.4
> > ....
> > nosuchuser.domain.com -> 1.2.3.4
> >
> > The only thing is I have thousands of user so i cannot possibly go and
> > have individual entries typed.
> >
> > ~Bhavin.
> >
> > > Yes, this is no different that creating host names such as
> >
> > "www.domain.com" or
> >
> > > "mytestsite.domain.com" or similar.  They can resolve to the same IP
> >
> > address or
> >
> > > different IP addresses, as you wish.
> > >
> > > Of course you have to coordinate the DNS setup with your web server so
> >
> > that it
> >
> > > recognizes each host header and serves up the appropriate web page for
> > > the
> >
> > host
> >
> > > name.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Bhavin Modi" <mbhavin@...>
> > > To: <isp-dns@isp-dns.com>
> > > Sent: Friday, July 11, 2003 7:00 AM
> > > Subject: [isp-dns] How to create a dns record which only resolves TLD
> > >
> > > > Hi,
> > > >
> > > > Is it possible to create a DNS record which resolves on top level
> >
> > domain.
> >
> > > > For e.g I want to give my users access to there webspace with a
> > > > hostname like username.domain.com so when a user tries to access
> > > > his/her website
> >
> > I
> >
> > > > can show the page by fetching the username information from hostname
> > > > programmatically but the dns points to the same webserver.
> > > >
> > > > user1.domain.com    1.2.3.4
> > > > user2.domain.com    1.2.3.4
> > > > ....
> > > > ....
> > > > userN.domain.com    1.2.3.4
>





-- 
Patrick Muldoon
Network/Software Engineer
INOC (http://www.inoc.net)
PGPKEY (http://www.inoc.net/~doon)
Key fingerprint = 8F70 6306 F0A7 B8DA BA95  76C4 606A 7DC1 370D 752C

Regarding security, WindowsNT is an OS with a 'Kick me' sign stuck on it's 
back.

Replies
[isp-dns] Re: How to create a dns record which only resolves TLD, Bhavin Modi
[isp-dns] Re: How to create a dns record which only resolves TLD, Jim McAtee
<- Previous Message | Next Message ->
Thread Index

ISP Glossary
Find an ISP Term

Need Help?

JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Intel PDF: Virtualization Delivers Data Center Efficiency
Intel eBook: Managing the Evolving Data Center
Microsoft Article: BitLocker Brings Encryption to Windows Server 2008
Symantec eBook: The Guide to E-Mail Archiving and Management
Microsoft Article: RODCs Transform Branch Office Security
Go Parallel Article: James Reinders on the Intel Parallel Studio Beta Program
Avaya Article: Advancing the State of the Art in Customer Service
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
Avaya Article: Avaya AE Services Provide Rapid Telephony Integration with Facebook
Go Parallel Article: Getting Started with TBB on Windows
HP eBook: Storage Networking , Part 1
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Seminar: Efficiencies in Hardware/Software Virtualization
HP Webcast: Disaster Recovery Planning
Go Parallel Video: Performance and Threading Tools for Game Developers
HP Video: StorageWorks EVA4400 and Oracle
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
IBM TCO eKIT: Your IT Budget is Under Attack, Get in Control
IBM Energy Efficiency eKIT: Learn How to Reduce Costs
30-Day Trial: SPAMfighter Exchange Module
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
Microsoft Article: Silverlight Streaming--Free Video Hosting for All
Featured Algorithm: Intel Threading Building Blocks - parallel_reduce
HP Demo: StorageWorks EVA4400
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES