Bradley Molnar on Thu, 2 Oct 2003 15:18:05 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

RE: [PLUG] DNS issues preventing my mail server from working


try giving the mx record a fully qualifies domain -- ex: mail.mydomain.com.
(trailing '.' is important) and also make sure that mail.mydomain.com has an
A record --

mail	IN	A	1.2.3.4

and from above

@	IN	MX	10	mail.mydomain.com.

and the mail server is not a CNAME (something in some rfc about this one).
I had the same problem with Exim a day or two ago, but only when sending
from a 192.168. address (internal network).

Also, your DNS servers all need to have their own A record.
-b

-----Original Message-----
From: plug-admin@lists.phillylinux.org
[mailto:plug-admin@lists.phillylinux.org]On Behalf Of Mike Leone
Sent: Thursday, October 02, 2003 2:54 PM
To: PLUG ML
Subject: [PLUG] DNS issues preventing my mail server from working


Here's my issue ... my postfix server is now rejecting all incoming mail,
because it says it can't find my domain.

Oct  2 11:18:22 handyman postfix/smtpd[14082]: connect from
mjl.contributionship.com[192.168.1.25]
Oct  2 11:18:22 handyman postfix/smtpd[14082]: 67CB628B5:
client=mjl.contributionship.com[192.168.1.25]
Oct  2 11:18:22 handyman postfix/smtpd[14082]: reject: RCPT from
mjl.contributionship.com[192.168.1.25]: 450 <mleone@contributionship.com>:
Recipient address rejected: Domain not found;
from=<mleone@contributionship.com> to=<mleone@contributionship.com>
Oct  2 11:18:31 handyman postfix/smtpd[14082]: lost connection after RCPT
from mjl.contributionship.com[192.168.1.25]
Oct  2 11:18:31 handyman postfix/smtpd[14082]: disconnect from
mjl.contributionship.com[192.168.1.25]


Here's why:

root@handyman:/etc/bind# nslookup contributionship.com
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the ig' or ost' programs instead.  Run nslookup with
the -sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.3
Address:        192.168.1.3#53

*** Can't find contributionship.com: No answer

root@handyman:/etc/bind#

But I don't understand that. This same box runs DNS for that domain (local
DNS); I can resolve individual hosts;

root@handyman:/etc/bind# nslookup mjl.contributionship.com
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the ig' or ost' programs instead.  Run nslookup with
the -sil[ent]' option to prevent this message from appearing.
Server:         192.168.1.3
Address:        192.168.1.3#53

Name:   mjl.contributionship.com
Address: 192.168.1.25

Zone file looks like this:

$TTL    38400
@       IN      SOA     ns.contributionship.com.
hostmaster.contributionship.com. (
                        2002070990
                                                3H
                                                                        1H

7D
                        640M )
                        @               IN      TXT
"Contributionship.com  internal DNS"
@               IN      NS      ns
@               IN      MX      10      exchange

Any ideas of what I need to change to get this to work?


root@handyman:/var/cache/bind# dig -t host contributionship.com
;; Warning, ignoring invalid type host

; <<>> DiG 9.2.2 <<>> -t host contributionship.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20094
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;contributionship.com.          IN      A

;; AUTHORITY SECTION:
contributionship.com.   38400   IN      SOA     ns.contributionship.com.
hostmaster.contributionship.com. 2002070990 10800 3600 604800 38400

;; Query time: 2 msec
;; SERVER: 192.168.1.3#53(192.168.1.3)
;; WHEN: Thu Oct  2 15:02:55 2003
;; MSG SIZE  rcvd: 88

Why no ANSWER section, for this domain? What do I need to add to my DNS
server, to get an ANSWER section, and make all this work?

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug


_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug