Find the answer to your Linux question:
Results 1 to 2 of 2
I want to set the record names for google apps in my zone file, but I don't know how to do it right . My zone file is like: $TTL ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    Question How to set google apps using BIND


    I want to set the record names for google apps in my zone file, but I don't know how to do it right. My zone file is like:
    $TTL 86400
    @ IN SOA suzie.example.com. root.example.com. (
    2008110704 ; serial
    28800 ; refresh
    7200 ; retry
    604800 ; expire
    86400 ) ; minimum TTL of 1 day
    IN NS suzie.example.com.
    IN NS ns1.us.editdns.net.
    IN NS ns2.us.editdns.net.
    IN NS ns3.us.editdns.net.
    suzie IN A 192.168.1.201
    calender IN CNAME ghs.google.com
    docs IN CNAME ghs.google.com
    google7958c65f51ad89b2 IN CNAME google.com
    mail IN CNAME ghs.google.com
    IN MX 5 alt1.aspmx.l.google.com.
    IN MX 5 alt2.aspmx.l.google.com.
    IN MX 1 aspmx.l.google.com.
    IN MX 10 aspmx2.googlemail.com.
    IN MX 10 aspmx3.googlemail.com.
    IN MX 10 aspmx4.googlemail.com.
    IN MX 10 aspmx5.googlemail.com.
    IN TXT 1 "v=spf1 include:_spf.google.com ~all"
    sites IN CNAME ghs.google.com
    start IN CNAME ghs.google.com
    www IN CNAME ghs.google.com

    When I checkzone, I get the message CNAME and other data, and I failed to restart named. How to do it right? Thanks for helping.

  2. #2
    Just Joined!
    Join Date
    May 2011
    Posts
    1
    Dude,

    you need put " . " after every CNAME registry.
    For exemple:

    @ 86400 IN SOA server.<mydomain>.com.br. root.<mydomain>.com.br.(
    2011050601
    10800
    3600
    604800
    38400 )
    86400 IN NS server.<mydomain>.com.br.
    86400 IN NS dns2.<mydomain>.com.br.

    @ IN MX 1 ASPMX.L.GOOGLE.COM.
    @ IN MX 5 ALT1.ASPMX.L.GOOGLE.COM.
    @ IN MX 5 ALT2.ASPMX.L.GOOGLE.COM.
    @ IN MX 10 ASPMX2.GOOGLEMAIL.COM.
    @ IN MX 10 ASPMX3.GOOGLEMAIL.COM.
    @ IN MX 10 ASPMX4.GOOGLEMAIL.COM.
    @ IN MX 10 ASPMX5.GOOGLEMAIL.COM.

    @ 86400 IN A <myserver valid IP>
    @ 86400 IN TXT "v=spf1 include:_spf.google.com ~all"
    dns1 86400 IN A <myserver valid IP>
    server 86400 IN A <myserver valid IP>
    dns2 86400 IN A <myserver2 valid IP>
    webmail IN CNAME ghs.google.com.

    Pay atention in bold lines.


    Cheers.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •