[6803] in RedHat Linux List
Re: dnsServerHELP (fwd)[4~
daemon@ATHENA.MIT.EDU (Piete Brooks)
Sun Dec 1 13:02:07 1996
To: redhat-list@redhat.com
In-reply-to: Your message of Fri, 29 Nov 1996 17:14:58 -0800.
<m0vTe1C-0000SMC@crash.cts.com>
Date: Sun, 01 Dec 1996 14:07:51 +0000
From: Piete Brooks <Piete.Brooks@cl.cam.ac.uk>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> I can't get this dns file to work for ramedia.com or www.ramedia.com.
> Can anybody help please?????? This is an emergency. EXTREME gratitude
> is given to any help I receive.
>
> @ IN SOA dns.ramedia.com. root.dns.ramedia.com. (
You do not say but (I assume!) this is the zone file for ramedia.com ...
> 11962803 ;Serial
It is useful to make the Serial number of the form <YYYY><MM><DD><NN>
(where <NN> is a "per day" counter) e.g. 1996112902
... however, that is not a problem ...
> 10800 ;Refresh
> 3600 ;Retry
> 43200 ;Expire
> 300) ;Minimum
Note that "Minimum" is misleading -- it is actually the default TTL.
... however, that is not a problem ...
> IN NS dns.ramedia.com.
> IN NS dns2.ramedia.com.
> dns IN A 207.211.14.30
> dns2 IN A 207.211.14.31
"correct", but I'd use the format
IN NS dns
IN NS dns2
dns IN A 207.211.14.30
dns2 IN A 207.211.14.31
making it slightly more obvious.
... however, that is not a problem ...
> IN MX 10 dns.ramedia.com.
> IN MX 5 mail.ramedia.com.
Again -- I'd use UQDNs ...
However, more important is that the MX RRs refer to dns2 -- is that what you
actually wanted ?
Also, they both reslove to the same address if you do follow CNAMEs.
And it has no effect, as without the MX RR, it would use the A RR ...
> localhost IN A 127.0.0.1
Note that this (I assume!) generated a name
localhost.ramedia.com IN A 127.0.0.1
... however, that is not a problem ...
> ramedia.com IN A 207.211.14.30
Note that this (I assume!) generated a name
ramedia.com.ramedia.com IN A 207.211.14.30
Is that what you really want ?
I think that this *IS* an error !
> www IN A 207.211.14.30
> ftp IN CNAME dns.ramedia.com.
Again -- I'd use UQDNs ...
... however, that is not a problem ...
> mail IN CNAME dns.ramedia.com.
No -- it's illegal to make it a CNAME, as it is referenced as an MX RR.
> pop3 IN CNAME dns.ramedia.com.
> news IN CNAME dns.ramedia.com.
SO: I can explain ramedia.com failing, but not www.ramedia.com
I would have had (I don't like using "@", so use FQDNs -- OK I'm inconsistant):
@ IN SOA dns.ramedia.com. root.dns.ramedia.com. (
1996112902 ;Serial
10800 ;Refresh
3600 ;Retry
43200 ;Expire
300) ;Default TTL
;
; NameServers
; *********************************************************
IN NS ramedia.com.
IN NS dns2
;
; MailServers
; *********************************************************
IN MX 10 ramedia.com.
;
; A RR
; *********************************************************
IN A 207.211.14.30
;
; RRs for sub domains
; *********************************************************
dns2 IN A 207.211.14.31
localhost IN A 127.0.0.1
;
; CNAMEs to allow abstraction of services
; *********************************************************
www IN CNAME ramedia.com.
ftp IN CNAME ramedia.com.
mail IN CNAME ramedia.com.
pop3 IN CNAME ramedia.com.
news IN CNAME ramedia.com.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null