Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Oct 21, 2010 10:03 pm 
Offline
Senior Newbie
User avatar

Joined: Fri Apr 23, 2010 5:24 pm
Posts: 16
Location: West Coast
MX Records
--------------
ASPMX.L.GOOGLE.COM 1 Default Edit Remove
ALT1.ASPMX.L.GOOGLE.COM 5 Default Edit Remove
ALT2.ASPMX.L.GOOGLE.COM 5 Default Edit Remove
ASPMX2.GOOGLEMAIL.COM 10 Default Edit Remove
ASPMX3.GOOGLEMAIL.COM 10 Default Edit Remove


A/AAA Records
-----------------
I deleted the mail record


CNAME Records
--------------------
I added a record with hostname of 'mail' which alias to 'ghs.google.com'


TXT Records
------------------
Google Apps said it couldn't find a TXT Record with the verification code it sent so I created a TXT Record with

Name: google-site-verification=the letters/numbers it gave me
Value: google-site-verification=the letters/numbers it gave me
TTL: Default




I read on here that someone just did a CNAME record. I tried only a CNAME but the verification failed. I tried just the TXT record but the Linode documentation doesn't explain clearly how to fill out the TXT record.

Any ideas? This is what Google tells me.

10/22/10 2:04:18 AM UTC
DNS record Verification failed.
Your verification DNS TXT record record was not found.


Last edited by lighthammer on Fri Oct 22, 2010 12:02 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Oct 21, 2010 10:53 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
Google's TXT record (or CNAME if using that) needs to be added to your zone itself (attached to the domain itself), and not as a child record. So you don't want to set the record name to the validation key.

You can either use @ for the record name, or just leave it blank, to add the record to your zone. You should be able to do a TXT lookup (say, with "dig") on your "domain.com" directly to check, and if you check the generated zone from the DNS Manager you should see the record at zone level ("@").

Note that as long as you set up the MX records for email verification, in my experience Google Apps will notice and validate your ownership of the domain automatically without a separate domain validation step. At least that's how I normally set up my GA domains.

-- David


Top
   
 Post subject:
PostPosted: Thu Oct 21, 2010 11:46 pm 
Offline
Senior Newbie
User avatar

Joined: Fri Apr 23, 2010 5:24 pm
Posts: 16
Location: West Coast
I see what you are saying.

Ok, so I changed the TXT record to reflect this:

Name: @
Value: google-site-verification=the letters/numbers it gave me
TTL: Default



As far as your domains are concerned, I placed all 5 Google MX records that was indicated in the documentation and to delete the Mail MX record that was originally there. Besides the 5 Google MX records, should I add another one based on what you said?

[SOLVED] Ok, so I changed my TXT record to the above, went to the store, came back and clicked on Verify from the Google Apps screen.....and it worked.

Thanks for the advice.


Top
   
 Post subject:
PostPosted: Fri Oct 22, 2010 10:31 am 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
lighthammer wrote:
[SOLVED] Ok, so I changed my TXT record to the above, went to the store, came back and clicked on Verify from the Google Apps screen.....and it worked.

Thanks for the advice.


Probably an update case then. Linode DNS manager only updates the DNS server every 15 minutes, then you have to be sure google is grabbing the most recent as well.

I just did the file method, which has you put a file into your web server root with those numbers in it.


Top
   
 Post subject:
PostPosted: Fri Oct 22, 2010 3:18 pm 
Offline
Senior Newbie
User avatar

Joined: Fri Apr 23, 2010 5:24 pm
Posts: 16
Location: West Coast
So on a follow up, if I have a second domain that will share the same VPS, do I need to add a new Domain Zone or simply add the domain to my first domain zone?

If I just have to add the domain to the first domain zone, which record do I create?


Top
   
 Post subject:
PostPosted: Fri Oct 22, 2010 6:25 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
lighthammer wrote:
So on a follow up, if I have a second domain that will share the same VPS, do I need to add a new Domain Zone or simply add the domain to my first domain zone?

If I just have to add the domain to the first domain zone, which record do I create?

I'd go with a zone per domain.

-- David


Top
   
 Post subject:
PostPosted: Fri Oct 22, 2010 10:13 pm 
Offline
Senior Newbie
User avatar

Joined: Fri Apr 23, 2010 5:24 pm
Posts: 16
Location: West Coast
Which records would I need? TXT, CNAME or A/AAA?

I'm not searching with the right keywords 'cause I'm not seeing anything in these forums. Sorry. A google search said not to ever use CNAME so I'm assuming its going to be an A/AAAA record?

I went ahead and created a new A record like this:

Hostname: www.mydomain.com

IP: 12.234.56.78

TTL: Default

Would this be correct? Can I now use the new domain with the same IP address as the original IP address? My goal is to use one Linode to host two sites.


Top
   
 Post subject:
PostPosted: Fri Oct 22, 2010 11:37 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
lighthammer wrote:
Which records would I need? TXT, CNAME or A/AAA?

I figured you just wanted to set up another domain to map to Google Apps and validate (so just the same set of MX and TXT records as before), but I think I misinterpreted the question...

lighthammer wrote:
Would this be correct? Can I now use the new domain with the same IP address as the original IP address? My goal is to use one Linode to host two sites.

Yes, presuming that www.mydomain.com is your new domain, and 12.234.56.78 is your Linode's public address it should be fine. There's no problem with multiple DNS names all having A records returning a single IP address.

If you also want to be able to reference just "mydomain.com" (no www) you'll want the same A record associated with just mydomain.com, or use a CNAME to map mydomain.com to www.mydomain.com (or vice versa).

Alternatively (in lieu of any extra A records) you could also use a CNAME to make www.mydomain.com map to the other domain name of your Linode. That way you only have to keep the actual IP address in one place in DNS.

-- David


Top
   
 Post subject:
PostPosted: Sat Oct 23, 2010 11:16 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Note that you cannot use a CNAME for "mydomain.com", as there will be non-CNAME records there (at least an SOA and an NS) and that is prohibited for CNAMEs. So, you're going to have to have an A record with the IP address there anyway in most cases.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group