SunQuest
           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:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old February 3rd, 2004, 11:04 AM
2Busy 2Busy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Michigan
Posts: 2 2Busy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question Point master zone name to remote website

I've had trouble getting a master zone to load in Bind9 lately. I snagged a copy of the named-checkzone.exe to test my zone. After commenting out different sections I discovered that the problem was an alias that pointed the zone back out to another web server. Now that I think about it, I can see how this might cause a problem since I'm giving data that conflicts with what higher up DNS servers had given. Is there a way that I can point browsers back out to our primary webserver (hosted elsewhere) if they leave the "www" off the front of the address? FWIW, I host other servers (low traffic) onsite and also host the DNS master zone. The company that hosts my primary website maintains two secondary DNS servers that pull their data from my server here.

This is how part of my zone looks...

;samplesite.com (not really mine, just an example)

www IN A 123.456.789.012 ;A different server somewhere else

samplesite.com. IN CNAME www

;Wouldn't the following be the same???
IN CNAME www

Reply With Quote
  #2  
Old February 3rd, 2004, 05:19 PM
freemans-web freemans-web is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 258 freemans-web User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 50 sec
Reputation Power: 5
{DOM}. IN A 00.000.100.01
www.{DOM}. IN A 00.000.200.02

If you want http://samplesite.com and http://www.samplesite.com to go to two different IP's, try using A records.

Reply With Quote
  #3  
Old February 3rd, 2004, 06:09 PM
2Busy 2Busy is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Michigan
Posts: 2 2Busy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I want both {DOM} and URL{DOM} to point to the same site. I currently have an A record for the www and was attempting to use an alias for {DOM} pointing to URL That is apparently not allowed. I just created a second A record for {DOM} pointing to the same ip address as the URL That seems to work. Is this the right way to do it? Are you allowed to point the "domain's root" (?) back out to somewhere else?

Reply With Quote
  #4  
Old February 3rd, 2004, 07:06 PM
freemans-web freemans-web is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 258 freemans-web User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 m 50 sec
Reputation Power: 5
Quote:
That seems to work. Is this the right way to do it? Are you allowed to point the "domain's root" (?) back out to somewhere else?

I'm not sure I understand the question, but here's a shot.

If your hosting DNS for a domain that's on a remote server, you must point the domain somewhere else.

You can have the domain point to any IP as long as it's hosted at the IP you point it to. The www is just a subdomain and you can point it to the same place or somewhere different, but again it must be hosted at the IP you point it to. Typically the www and the domain are the same website, because some people use www in the address and others don't.

You can even point a subdomain to another domain if you like.

{DOM}. IN A 00.000.100.01
www.{DOM}. IN A 00.000.100.01
webmail.{DOM}. IN A 00.300.100.03
ftp.{DOM}. IN A 00.000.200.02
another.{DOM}. IN A anotherdomain.com
__________________
UD Network Solutions

Reply With Quote
  #5  
Old February 3rd, 2004, 07:20 PM
SilentRage's Avatar
SilentRage SilentRage is offline
DNS/BIND Guru
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jun 2003
Location: OH, USA
Posts: 4,193 SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level)SilentRage User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 5 Days 14 h 27 m 56 sec
Reputation Power: 77
I think I get it. Stuff like this is illegal:

$ORIGIN blah.com.
@ SOA ns1 email ....
@ NS ns1
@ NS ns2
@ CNAME www
www A 127.0.0.1

You cannot CNAME the root domain to a host. Why? Cause you are not allowed to have a CNAME record combined with other types of records for the same domain. The root domain has 1 SOA record 2 NS records and 1 CNAME record. You may only have 1 CNAME record for a domain.

Another caution, using CNAME is highly discouraged. But if you refuse to believe me, then you must CNAME www to point to the root domain.
__________________
Send me a private message if you would like me to setup your DNS for you for a price of your choosing. This is the preferred method if your DNS needs to be fixed/setup fast and you don't have the time to bounce messages back and forth on a forum. Also, check out these links:

Whois Direct | DNS Crawler | NS Trace | Compare Free DNS Hosts

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Point master zone name to remote website


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 2 hosted by Hostway