Date: Thu, 07 Mar 96 05:02:08 EST From: sreid@edmbbs.iceonline.com To: isp@freebsd.org Subject: Re: named/sendmail problem: "MX points back..." Message-ID: <9603070502.D3302Bn@edmbbs.iceonline.com>
next in thread | raw e-mail | index | archive | help
CO>It's hard to tell exactly without more info...
Okay, I'll include the named.hosts file this time.
CO>Cwedmnet.com
CO>Then sendmail will know that edmnet.com is local and choose local delivery.
CO>But I'm not sure this will fix the whole problem, because your error message
CO>is a different one than I have seen. Are you using named?
That's kinda what I thought, but I still can't get it to work...
Sometimes (depending on how I've altered the configurations) it
complains about the "MX record for edmnet.com. points back to
kirk.edmnet.com" and sometimes there is another error which is "mail
loops back to kirk.edmnet.com" or something like that, basicly the same
as I was getting before except without mention of the MX record. Sorry I
don't remember it exactly, I've been chipping away at this problem for
hours and my brain is kinda fried.
I think I had this working before, except I was making edmnet.com a
CNAME for kirk.edmnet.com, which is incorrect according to RFC-1912,
"Common DNS Operational and Configuration Errors".
My sendmail.cf file is the default except for the new Cw lines...
Cwlocalhost
Cwkirk.edmnet.com.
Cwedmnet.com.
I suppose I should add a Cw line for every host that Kirk handles mail
for, but I don't think that'll make much difference right now.
My named.hosts file is below. I used the example in ORA's "TCP/IP
Network Administration" as a template, and added the A record for
edmnet.com based on what was shown in RFC-1912.
;
; named.hosts file - primary DNS for edmnet.com
;
; These IP addresses are temporary, until we're assigned real
; numbers.
;
@ IN SOA kirk.edmnet.com. root.kirk.edmnet.com. (
1996030605; Serial
3600 ; Refresh
1200 ; Retry
1209600 ; Expire
172800 ); Minimum
; edmnet.com alone points to Kirk.
IN A 192.168.100.2
; nameservers and mail servers
IN NS kirk.edmnet.com.
IN NS spock.edmnet.com.
IN MX 10 kirk.edmnet.com.
IN MX 20 spock.edmnet.com.
localhost IN A 127.0.0.1
; EDMNET hosts
kirk IN A 192.168.100.2
IN MX 5 kirk.edmnet.com.
www IN CNAME kirk.edmnet.com.
spock IN A 192.168.100.3
IN MX 5 spock.edmnet.com.
edmrouter IN A 192.168.100.1
IN MX 5 kirk.edmnet.com.
; ----- End of named.hosts -----
You'll notice I have spock set up as secondary DNS and mail... I was
using spock to send mail to edmnet.com to test the setup, but I'm pretty
sure the problem is not with spock... I always kill -HUP spock's named
*after* I kill -HUP kirk's named when changing the configuration. I also
kill -HUP kirk's sendmail process when I change the sendmail.cf file.
This is my first attempt at setting up DNS and mail, so I don't have
enough experience to spot most errors... The problem is probably a
really simple one that I just don't know about.
Thank you all for your help so far... I hadn't expected such a large
response from such a low-volume mailing list.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9603070502.D3302Bn>
