LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-05-2008, 01:55 PM   #1
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

Rep: Reputation: Disabled
DNS and CNAME


I have three NTP servers roma.domain.tld, aladdin.domain.tld and pages.domain.tld. I want to put a DNS entry (CNAME?) of ntp.domain.tld which will point to all three so if one fails, the other will be readily available. I tried the following entries but they are either not working or breaking DNS.

Quote:

ntp CNAME roma.domain.tld
ntp CNAME aladdin.domain.tld
ntp CNAME pages.domain.tld
Quote:

ntp CNAME roma.domain.tld
aladdin.domain.tld
pages.domain.tld
Any help on this would be much appreciated.

Thanks.
 
Old 05-05-2008, 03:59 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,774
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Rather than modifying DNS for this why not modify NTP setup /etc/ntp/ntpservers and/or /etc/ntp.conf on the servers where you're running ntp so they'll know to use any of the 3 that are available?
 
Old 05-05-2008, 05:52 PM   #3
noir911
Member
 
Registered: Apr 2004
Location: Baltimore, MD
Posts: 681

Original Poster
Rep: Reputation: Disabled
True but the solution I been looking for will solve some of my other problems as well, like DNS, DHCP etc. So I was looking into DNS.

Thanks for any further help.
 
Old 05-06-2008, 01:45 PM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,774
Blog Entries: 4

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
You should be able to create multiple pointers (CNAME) but you've left out the "IN" part of the record (assuming you're using BIND).

You also want to end the records with dot to show nothing should be appended to the name.

ntp IN CNAME roma.domain.tld.
ntp IN CNAME aladdin.domain.tld.
ntp IN CNAME pages.domain.tld.

What you probably need is to do an rrset-order for ntp records. I haven't done that but discussion here talks about them:

http://www.zytrax.com/books/dns/ch7/...ml#rrset-order
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do we really need CNAME records in DNS? ivj Linux - Networking 3 05-19-2006 03:49 PM
Dns & Cname abhijeetudas Linux - Networking 1 09-15-2005 03:32 AM
Dns - Cname - Domain Masking dulaus Linux - Networking 2 06-06-2005 07:21 AM
DNS, CNAME conflicts in logs cyanescent Linux - Networking 1 05-12-2005 07:31 AM
Any name resolves to. A? CNAME? DNS Q dlublink Linux - Networking 3 01-11-2005 09:55 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration