Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 16th, 2011, 11:16 AM
gabriel2 gabriel2 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2011
Posts: 1 gabriel2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m
Reputation Power: 0
Smile Config DNS for subdomain

Hi there,

I'm trying to setup my DNS server BIND9 in order to be able to have two configured WEBSERVER.

I have physical server A and a physical server B.

On server A I have bind9
On server B I have bind9

I want all zones and default subdomain (ftp, mail, etc) +
m subdomain for mobile and blog subdomain for blogging.


This is server A (I want it as master)

Code:
$ttl 38400
@	IN	SOA	ns382565.ovh.net. domain.domain.net. (
			1310643012
			10800
			3600
			604800
			38400 )
@	IN	NS	ns382565.ovh.net.
domain.net.	IN	A	server.A.IP
www.domain.net.	IN	A	server.A.IP
ftp.domain.net.	IN	A	server.A.IP
m.domain.net.	IN	A	server.A.IP
localhost.domain.net.	IN	A	127.0.0.1
webmail.domain.net.	IN	A	server.A.IP
admin.domain.net.	IN	A	server.A.IP
mail.domain.net.	IN	A	server.A.IP
domain.net.     IN      MX      10      spool.mail.gandi.net.
domain.net.	IN	MX	50 	fb.mail.gandi.net.
blog.domain.net.	IN	A	server.A.IP
www.blog.domain.net.	IN	A	server.A.IP
ftp.blog.domain.net.	IN	A	server.A.IP
m.blog.domain.net.	IN	A	server.A.IP
localhost.blog.domain.net.	IN	A	127.0.0.1
webmail.blog.domain.net.	IN	A	server.A.IP
admin.blog.domain.net.	IN	A	server.A.IP


and this is server B :

Code:
$ttl 38400

; name TTL class rr Nameserver email-address
dev.domain.net. 14400 IN SOA ks22867.kimsufi.com. root.ks22867.kimsufi.com. (
                        2011071213 ; Serial number
                        10800 ; Refresh rate in seconds
                        3600 ; Update Retry in seconds
                        604800 ; Expiry in seconds
                        600 ; minimum in seconds
)
 
@	IN	NS	ks22867.kimsufi.com.
dev.domain.net. IN 	A 	server.B.IP
dev.domain.net. IN 	NS 	ns.kimsufi.com.
ftp.domain.net.	IN	A	server.A.IP
m.domain.net.	IN	A	server.A.IP
localhost.domain.net.	IN	A	127.0.0.1
webmail.domain.net.	IN	A	server.A.IP
admin.domain.net.	IN	A	server.A.IP
mail.domain.net.	IN	A	server.A.IP
domain.net.	IN	MX	10      spool.mail.gandi.net.
domain.net.	IN	MX	50	fb.mail.gandi.net.
dev.domain.net.	IN	A	91.121.8.158
www.dev.domain.net.	IN	A	91.121.8.158
ftp.dev.domain.net.	IN	A	91.121.8.158
m.dev.domain.net.	IN	A	91.121.8.158
localhost.dev.domain.net.	IN	A	127.0.0.1
webmail.dev.domain.net.	IN	A	91.121.8.158
admin.dev.domain.net.	IN	A	91.121.8.158
mail.dev.domain.net.	IN	A	91.121.8.158
blog.domain.net.	IN	A	server.A.IP
www.blog.domain.net.	IN	A	server.A.IP
ftp.blog.domain.net.	IN	A	server.A.IP
m.blog.domain.net.	IN	A	server.A.IP
localhost.blog.domain.net.	IN	A	127.0.0.1
admin.blog.domain.net.	IN	A	server.A.IP
mail.blog.domain.net.	IN	A	server.A.IP
test.domain.net.	IN	A	server.A.IP
www.test.domain.net.	IN	A	server.A.IP
ftp.test.domain.net.	IN	A	server.A.IP
m.test.domain.net.	IN	A	server.A.IP
localhost.test.domain.net.	IN	A	127.0.0.1
www.m.domain.net.	IN	A	server.A.IP
ftp.m.domain.net.	IN	A	server.A.IP
m.m.domain.net.	IN	A	server.A.IP
localhost.m.domain.net.	IN	A	127.0.0.1


This look like real **** to me. I tried to get what and how it works but did'nt figured it out.

I only want to have a specific subdomain for dev.domain.net which is configured to redirect to a different ip than server A. "That is all".

Thank you very much if you can help !

g

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Config DNS for subdomain


Developer Shed Advertisers and Affiliates


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 | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap