DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old March 16th, 2004, 07:50 PM
orionblue3 orionblue3 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 orionblue3 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
tinydns syntax for virtual subhosting

I am new to tinydns and would like to verify that I understand the syntax for the data file. I am virtual hosting domains on the same IP. Is the following syntax correct?

############################
.maindomain.com::ns1.maindomain.com
@maindomain.com::mail.maindoman.com
=mail.maindomain.com:1.2.3.1
=ns1.maindomain.com:1.2.3.2
=www.maindomain.com:1.2.3.3
+ftp.maindomain.com:1.2.3.3
### subhost 1
.subdomain1.com::ns1.maindomain.com
@subdomain1.com::mail.subdomain1.com
+mail.subdomain1.com:1.2.3.1
+URL
### subhost 2
.subdomain2.com::ns1.maindomain.com
@subdomain2.com::mail.subdomain2.com
+mail.subdomain2.com:1.2.3.1
+URL
##############################

Thanks in advance for any advice

Reply With Quote
  #2  
Old March 17th, 2004, 05:08 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
You might want to consider adding a start of authority / SOA record for the domains:

Zmaindomain.com:ns1.maindomain.com:hostmaster.maindomain.com

etc

other than that it looks ok - at the end of the day if it works, it works - if it doesn't then you're probably a lot better off posting your actual tinydns data file rather than obfuscating the domain names.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > tinydns syntax for virtual subhosting


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway