LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-13-2008, 09:32 AM   #1
vbfischer
Member
 
Registered: Jun 2004
Location: Tampa, FL
Distribution: CentOS 3.x
Posts: 33

Rep: Reputation: 15
DNS Zone Record: CNAME Not Working


I have got to be doing something wrong here that I'm just not seeing. I've banged my head on this and I can't see what's wrong with the following zone record:

Code:
; zone file for nortondesigns.net
$TTL 3600 ; default TTL for zone
@  IN      SOA   ns1.berzerker-soft.com. hostmaster.nortondesigns.net. (
                        20080922 ; serial number
                        3600       ; refresh
                        3600       ; retry
                        1209600    ; expire
                        3600       ; negative
                        )
@               IN      A       72.167.33.196
@               IN      NS      ns1.berzerker-soft.com.
@               IN      NS      ns2.berzerker-soft.com.
www             IN      A       72.167.33.196
gmail           IN      CNAME   ghs.google.com
ftp             IN      A       72.167.33.196
ssh             IN      A       72.167.33.196
mail            IN      A       72.167.33.196
@               IN      MX  10  mail
The "gmail" CNAME won't resolve (note: I've tried it with the trailing '.' too. The instructions from Google Apps didn't show a dot... which one is correct?)

Thanks.
 
Old 10-13-2008, 09:42 AM   #2
vbfischer
Member
 
Registered: Jun 2004
Location: Tampa, FL
Distribution: CentOS 3.x
Posts: 33

Original Poster
Rep: Reputation: 15
Well hell, I switched it back to using the trailing '.' and it worked.. Something else may have been wrong and my editing somehow fixed it.. To be complete, here is the final zone record:

Code:
; zone file for nortondesigns.net
$TTL 3600 ; default TTL for zone
@  IN      SOA   ns1.berzerker-soft.com. hostmaster.nortondesigns.net. (
                        20080922 ; serial number
                        3600       ; refresh
                        3600       ; retry
                        1209600    ; expire
                        3600       ; negative
                        )
@               IN      A       72.167.33.196
@               IN      NS      ns1.berzerker-soft.com.
@               IN      NS      ns2.berzerker-soft.com.
www             IN      A       72.167.33.196
gmail         IN      CNAME   ghs.google.com.
ftp             IN      A       72.167.33.196
ssh             IN      A       72.167.33.196
mail            IN      A       72.167.33.196
@               IN      MX  10  mail
 
Old 10-13-2008, 02:02 PM   #3
vbfischer
Member
 
Registered: Jun 2004
Location: Tampa, FL
Distribution: CentOS 3.x
Posts: 33

Original Poster
Rep: Reputation: 15
I also realized I wasn't updating the serial number...

On a side note, anyone know a good command line utility to edit zone records? Yea, I get by using vi, etc, but it'd be nice to have something that would make it a little more "idiot proof", like CPanel and Plesk used to do for me...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mx record / cname record ? DotHQ Linux - Networking 15 10-06-2008 10:50 AM
How to setup a ww2 DNS Zone Record Webfreak Linux - Newbie 1 08-05-2008 10:15 AM
How do I set up a CNAME record? SimbaSpirit Linux - Software 1 02-28-2008 07:01 AM
problem with one dns reverse zone record rsmccain Linux - Networking 2 10-07-2006 08:17 AM
why To Use CNAME record ???? srnerkar1 Linux - Networking 3 12-31-2005 12:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration