RE: forwarding @ to a different domain?

2012-01-09 Thread Lightner, Jeff
Just as a follow on to that prior thread.

I was able to setup the CNAME for www and * at the Registrar without A records 
as indicated.  Unfortunately the * at registrar equated to *. Meaning for 
example ftp.mydomain.com would work with that CNAME but the domain itself, 
mydomain.com, would not.   Despite the ecommerce vendor (Amazon ultimately) 
saying one should NOT setup A records their response to us was to leave the two 
CNAMES (www and *) in place and setup an 3 A records for the domain itself.





-Original Message-
From: bind-users-bounces+jlightner=water@lists.isc.org 
[mailto:bind-users-bounces+jlightner=water@lists.isc.org] On Behalf Of 
/dev/rob0
Sent: Sunday, January 08, 2012 6:33 PM
To: bind-users@lists.isc.org
Subject: Re: forwarding @ to a different domain?

On Sunday 08 January 2012 09:48:42 enigmedia wrote:
 Hi All: I have a situation where I need to forward requests for
 mydomain.com and www.mydomain.com to a third party:

mydomain.com is a real domain, and probably not yours. If for some
reason you do not want to mention your real domain name, use
example.com (or example.TLD for most top-level domains), which is
reserved for examples.

 mydomain.myshopify.com (while still pointing other things like
 MX records elsewhere).

 I realize I can point a CNAME for WWW to
 mydomain.myshopify.com, but how do I point mydomain.com to
 this third party if there is no A record to point to?

This is beginning to be a FAQ here, perhaps due to the popularity of
such hosting services (which seem to have been designed by people who
have a poor understanding of DNS.)

This was my reply in a thread last month; refer to the entire thread
for more:

https://lists.isc.org/pipermail/bind-users/2011-December/085918.html
--
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if /dev/rob0 is in the Subject:
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users




Athena(r), Created for the Cause(tm)
Making a Difference in the Fight Against Breast Cancer

-
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential 
information and is for the sole use of the intended recipient(s). If you are 
not the intended recipient, any disclosure, copying, distribution, or use of 
the contents of this information is prohibited and may be unlawful. If you have 
received this electronic transmission in error, please reply immediately to the 
sender that you have received the message in error, and delete it. Thank you.
--

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: forwarding @ to a different domain?

2012-01-08 Thread Jukka Pakkanen


www in cname mydomain.myshopify.com.
mydomain.com. in cname mydomain.myshopify.com.

Is this what you are looking for?


8.1.2012 17:48, enigmedia kirjoitti:

Hi All: I have a situation where I need to forward requests for mydomain.com
and www.mydomain.com to a third party: mydomain.myshopify.com (while still
pointing other things like MX records elsewhere).

I realize I can point a CNAME for WWW to mydomain.myshopify.com, but how do
I point mydomain.com to this third party if there is no A record to point to?

TIA


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: forwarding @ to a different domain?

2012-01-08 Thread Ben Croswell
You can't cnane mydomain.com to anything because it has, at the minimum, ns
and soa records.

-Ben Croswell
On Jan 8, 2012 1:11 PM, Jukka Pakkanen jukka.pakka...@qnet.fi wrote:


 www in cname mydomain.myshopify.com.
 mydomain.com. in cname mydomain.myshopify.com.

 Is this what you are looking for?


 8.1.2012 17:48, enigmedia kirjoitti:

 Hi All: I have a situation where I need to forward requests for 
 mydomain.com
 and www.mydomain.com to a third party: mydomain.myshopify.com (while
 still
 pointing other things like MX records elsewhere).

 I realize I can point a CNAME for WWW to mydomain.myshopify.com, but
 how do
 I point mydomain.com to this third party if there is no A record to
 point to?

 TIA


 __**_
 Please visit 
 https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mailman/listinfo/bind-usersto
  unsubscribe from this list

 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mailman/listinfo/bind-users


 __**_
 Please visit 
 https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mailman/listinfo/bind-usersto
  unsubscribe from this list

 bind-users mailing list
 bind-users@lists.isc.org
 https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mailman/listinfo/bind-users

___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: forwarding @ to a different domain?

2012-01-08 Thread enigmedia (onl)
On Sun, 08 Jan 2012 20:00:07 +0200 Jukka Pakkanen jukka.pakka...@qnet.fi 
wrote



www in cname mydomain.myshopify.com.
mydomain.com. in cname 

mydomain.myshopify.com.


Is this what you are looking for?



Yes, but I thought you couldn't use a cname for the root record of the 
domain?




8.1.2012 17:48, enigmedia kirjoitti:
 Hi All: I have a situation where I 

need to forward requests for

 mydomain.com
 and www.mydomain.com to a 

third party: mydomain.myshopify.com (while

 still
 pointing other things 

like MX records elsewhere).


 I realize I can point a CNAME for WWW to 

mydomain.myshopify.com, but

 how do
 I point mydomain.com to this 

third party if there is no A record to point

 to?

 TIA


 

___
 Please visit 

https://lists.isc.org/mailman/listinfo/bind-users to
 unsubscribe from this 

list


 bind-users mailing list
 bind-users@lists.isc.org
 

https://lists.isc.org/mailman/listinfo/bind-users


___
Please visit 

https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe
from this 

list


bind-users mailing list
bind-users@lists.isc.org


https://lists.isc.org/mailman/listinfo/bind-users


___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: forwarding @ to a different domain?

2012-01-08 Thread enigmedia (onl)

On Sun, 8 Jan 2012 13:20:56 -0500 Ben Croswell ben.crosw...@gmail.com wrote




You can't cnane mydomain.com to anything because it has, at the minimum, ns



and soa records.


-Ben Croswell


Thanks Ben...that's what I thought. So just to ask the question 
another way:


How do I point requests for http://mydomain.com; and 
http://www.mydomain.com; to http://mydomain.myshopify.com;?


Or is there no 
way to do this in DNS, and I need to instead point the domain to my webserver 
and set up a permanent redirect there?



On Jan 8, 2012 1:11 PM, Jukka 

Pakkanen jukka.pakka...@qnet.fi wrote:



 www in cname mydomain.myshopify.com.
 mydomain.com. in cname 

mydomain.myshopify.com.


 Is this what you are looking for?


 

8.1.2012 17:48, enigmedia kirjoitti:


 Hi All: I have a situation where I 

need to forward requests for 

 mydomain.com
 and www.mydomain.com to 

a third party: mydomain.myshopify.com (while

 still
 pointing other 

things like MX records elsewhere).


 I realize I can point a CNAME for 

WWW to mydomain.myshopify.com, but

 how do
 I point mydomain.com 

to this third party if there is no A record to

 point to?

 TIA





 __**_
 Please 

visit
 

https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mai



lman/listinfo/bind-usersto unsubscribe from this list


 bind-users 

mailing list

 bind-users@lists.isc.org

 

https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mai



lman/listinfo/bind-users



 

__**_

 Please visit
 

https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mai


lman/listinfo/bind-usersto unsubscribe from this list

 bind-users 

mailing list

 bind-users@lists.isc.org

 

https://lists.isc.org/mailman/**listinfo/bind-usershttps://lists.isc.org/mai


lman/listinfo/bind-users




___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: forwarding @ to a different domain?

2012-01-08 Thread Jukka Pakkanen

8.1.2012 19:02, enigmedia (onl) kirjoitti:
On Sun, 08 Jan 2012 20:00:07 +0200 Jukka Pakkanen 
jukka.pakka...@qnet.fi wrote



www in cname mydomain.myshopify.com.
mydomain.com. in cname 

mydomain.myshopify.com.


Is this what you are looking for?



Yes, but I thought you couldn't use a cname for the root record of the 
domain?


Oh yeas... I confused this to pointing the domain to an IP address / A 
record.


Is an A record pointing to the server and a dedicated IP address there 
an option?



___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: forwarding @ to a different domain?

2012-01-08 Thread Jukka Pakkanen

8.1.2012 20:46, Jukka Pakkanen kirjoitti:

8.1.2012 19:02, enigmedia (onl) kirjoitti:
On Sun, 08 Jan 2012 20:00:07 +0200 Jukka Pakkanen 
jukka.pakka...@qnet.fi wrote



www in cname mydomain.myshopify.com.
mydomain.com. in cname 

mydomain.myshopify.com.


Is this what you are looking for?



Yes, but I thought you couldn't use a cname for the root record of 
the domain?


Oh yeas... I confused this to pointing the domain to an IP address / A 
record.


Is an A record pointing to the server and a dedicated IP address there 
an option?


Of course don't need to be dedicated address either, but that's the way 
we usually do it.  Helps with the ptr records.



___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


Re: forwarding @ to a different domain?

2012-01-08 Thread Matthew Seaman
On 08/01/2012 17:09, enigmedia (onl) wrote:
 How do I point requests for http://mydomain.com; and
 http://www.mydomain.com; to http://mydomain.myshopify.com;?

Look up an A record (or ) for mydomain.myshopify.com, then
create a similar A (or ) record pointing to the same address in your
zone file.

If mydomain.myshopify.com is likely to change address (some HA/LB setups
can result in this) then you're out of luck, and you'll have to
use your webserver to redirect the traffic.

 Or is there no way to do this in DNS, and I need to instead point the
 domain to my webserver and set up a permanent redirect there?

Yes.  That would work, but it means that the people using your site will
see the URL change to http://mydomain.myshopify.com/

You might find it better to put the CNAME in for www.mydomain.com
pointing at mydomain.myshopify.com and then use a 301 redirect from
mydomain.com to www.mydomain.com -- so your users see the site as
www.mydomain.com.

Wouldn't it be nice if HTTP clients and servers understood
_http._tcp.mydomain.com SRV records?  That's becoming the standard
solution to this sort of problem nowadays, but unfortunately, the HTTP
specifications predate that idea and there is no client side support for
it generally available.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: forwarding @ to a different domain?

2012-01-08 Thread /dev/rob0
On Sunday 08 January 2012 09:48:42 enigmedia wrote:
 Hi All: I have a situation where I need to forward requests for
 mydomain.com and www.mydomain.com to a third party:

mydomain.com is a real domain, and probably not yours. If for some 
reason you do not want to mention your real domain name, use 
example.com (or example.TLD for most top-level domains), which is 
reserved for examples.

 mydomain.myshopify.com (while still pointing other things like
 MX records elsewhere).
 
 I realize I can point a CNAME for WWW to
 mydomain.myshopify.com, but how do I point mydomain.com to
 this third party if there is no A record to point to?

This is beginning to be a FAQ here, perhaps due to the popularity of 
such hosting services (which seem to have been designed by people who 
have a poor understanding of DNS.)

This was my reply in a thread last month; refer to the entire thread 
for more:

https://lists.isc.org/pipermail/bind-users/2011-December/085918.html
-- 
  http://rob0.nodns4.us/ -- system administration and consulting
  Offlist GMX mail is seen only if /dev/rob0 is in the Subject:
___
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe 
from this list

bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users