create template for google domain park

margje

New member
Joined
Jul 20, 2009
Messages
2
I've create a template for directadmin at reseller DNS level. The template is created for "AdSense for domains"

Ref: https://www.google.com/adsense/support/bin/answer.py?answer=76049&topic=14746

The template contains this information:

www CNAME pub-xxxxxxxxx.afd.ghs.google.com
@ A (address) 216.239.32.21
@ A (address) 216.239.34.21
@ A (address) 216.239.36.21
@ A (address) 216.239.38.21

When i use the template only one A record is showing up. Whats the problem, how to create a working template for "AdSense for domains" ?
 
Last edited:
Hello,

Can you clarify what "template at the reseller level" you're referring to? Templates are usually only access via root through ssh.. so which template are you referring to?

The default A record templates would be accessed by modifying the dns_a.conf template:
http://help.directadmin.com/item.php?id=244

Note when google says "leave the name blank", that is the same as entering the zone's name, followed by a dot... so for the zone "domain.com", these 2 entries are identical:
Code:
   A  1.2.3.4
domain.com. A  1.2.3.4
point being, in the dns_a.conf, you can use:
Code:
|DOMAIN|.=1.2.3.4

If you're already using that, the issue might be that the dns_*.conf files don't read in multiple values with the same names. In any case, give the above a try.

John
 
Check the screendump attachment for the DA template menu at my server.

DA uses powerdns instead of BIND. I can't use the @ string for A-records

How to fill in the info below: ?

www CNAME pub-xxxxxxxxx.afd.ghs.google.com
@ A (address) 216.239.32.21
@ A (address) 216.239.34.21
@ A (address) 216.239.36.21
@ A (address) 216.239.38.21

thanks in advance.
 

Attachments

  • datemplate.jpg
    datemplate.jpg
    24.8 KB · Views: 264
DirectAdmin uses BIND. If you're referring to something else besides DirectAdmin as published by JBMC software, then you're in the wrong place.

If you're using a customized version of DirectAdmin which does use PowerDNS, then you need to contact whomever did the customization; it's not supported by DirectAdmin.

For more help here, please show us the URL in your browser when you see that screen.

Jeff
 
Back
Top