DNS setting Google Adsense for Domains

Marc0

New member
Joined
Feb 28, 2010
Messages
1
Can anybody tell me how to configure Directadmin DNS for Google Adsende for Domains?

The Google instructions:

CNAME RECORD

www CNAME (alias) pub-xxxxxxxxx.afd.ghs.google.com

A RECORDS

@ A (adres)
216.239.32.21
@ A (adres)
216.239.34.21
@ A (adres)
216.239.36.21
@ A (adres)
216.239.38.21

I want to make a adsense template for directadmin

1. Only one (1) A RECORD can created, when I create a second one i'll get an error 'The following error occured: This record already exists.'

2. I'll guess thas directadmin doesn't use @ for A RECORDS. instead of that i used {website}

3. Which IP does i have to use for the template? The google IP 216.239.32.21 or my server IP ?

Thanks in advance.
 
Last edited:
The @ is a shortcut for use the domain name as named in your BIND configuration file.

Traditionally it's use was to allow you to use one DNS zone file for multiple domain names. When we first started webhosting, and still created everything manually, we created one zone file for every domain using the same IP#, and then we referenced it in the BIND configuration file for all domains using that one IP#.

Now that we automate DNZ zone creation, we no longer use it, and in fact DirectAdmin doesn't allow it.

You do need that www CNAME record.

Instead of using the @ character use your domain name followed by the dot character:
Code:
example.com.

For each URL you want forwarded to Google you create an A record pointing to 216.239.32.21. If you use the full domain name, then don't forget the trailing dot but if you just use the short version leave off the dot.

For example:
Code:
mail.example.com.
or
Code:
mail

Use the Google IP#.

I think I've covered everything.

A few of our users have set this up for themselves. Sone even get it right :).

Jeff
 
Marc0, did you succeed?
I have a domain that I've used for a few months, but since I don't need it anymore, I would like to use Google for Domains. But since I still have an 'active' domain (not a parking domain), I don't know what to do.
(note: in theory I'm a reseller, since I have many domains and it was cheaper to become a reseller. So I have access to the reseller part of DA)

Is there anywhere a manual of can somebody explain to me what to do?
 
Back
Top