HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   DNS trouble ISPC v2 and 3 (http://www.howtoforge.com/forums/showthread.php?t=55774)

trexen 16th January 2012 17:45

DNS trouble ISPC v2 and 3
 
Hi,

i got some trouble whit DNS.
The main ISPC i v2 and it got mx=mail.mydomain.se and all working fine.

Then i install ISPC v3 whit mx=s10.mydomain.se and it working nice, i add a new domain newdomain.se and in DNS record i added s10 as mx server, all working fine until the newdomain.se mail mydomain.se then i got the following error in the mail
(the 2 ISPC v2 and v3 is using different routers but are on the same subnet)



This is the mail system at host s10.mydomain.se.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<my.name@mydomain.se>: Host or domain name not found. Name service
error for name=mydomain.se type=A: Host found but no data record of
requested type
Reporting-MTA: dns; s10.mydomain.se
X-Postfix-Queue-ID: DDA3F80A3
X-Postfix-Sender: rfc822; test@newdomain.se
Arrival-Date: Mon, 16 Jan 2012 17:06:01 +0100 (CET)

Final-Recipient: rfc822; my.name@mydomain.se
Original-Recipient: rfc822;my.name@mydomain.se
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=mydomain.se type=A: Host found but no data record of requested
type
Return-Path: <test@newdomain.se>
Received: from localhost (localhost [127.0.0.1])
by s10.mydomain.se (Postfix) with ESMTP id DDA3F80A3

for <my.name@mydomain.se>; Mon, 16 Jan 2012 17:06:01 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at s10.mydomain.se
Received: from s10.mydomain.se ([127.0.0.1])
by localhost (s10.mydomain.se [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 7Nff3AQaVJbp for <my.name@mydomain.se>;
Mon, 16 Jan 2012 17:05:28 +0100 (CET)
Received: from s10.mydomain.se (localhost [127.0.0.1])
by s10.mydomain.se (Postfix) with ESMTP id B8C7B80A1
for <my.name@mydomain.se>; Mon, 16 Jan 2012 17:05:28 +0100 (CET)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 16 Jan 2012 17:05:28 +0100
From: test@newdomain.se
To: <my.name@mydomain.se>
Subject: test01
Message-ID: <fc26b5e4ea399296e3cbab4a0a615882@hedtech.se>
X-Sender: test@newdomain.se
User-Agent: Roundcube Webmail/0.7

hej hej
//M
...........................

im send mail from roundcube and newdomain, my account is on mydomain


cut from (s10.mydomain.se) /var/log/syslog:


Jan 16 17:32:20 s10 imapd: Connection, ip=[::ffff:127.0.0.1]
Jan 16 17:32:20 s10 imapd: LOGIN, user=test@newdomain.se, ip=[::ffff:127.0.0.1], port=[49945], protocol=IMAP
Jan 16 17:32:20 s10 imapd: LOGOUT, user=test@newdomain.se, ip=[::ffff:127.0.0.1], headers=0, body=0, rcvd=351, sent=1597, time=0
Jan 16 17:32:40 s10 postfix/smtpd[31181]: connect from localhost[127.0.0.1]
Jan 16 17:32:40 s10 postfix/smtpd[31181]: 41A6A80A3: client=localhost[127.0.0.1]
Jan 16 17:32:40 s10 postfix/cleanup[31155]: 41A6A80A3: message-id=<b586056c369985f1ab105e915cde5f04@newdomain.se>
Jan 16 17:32:40 s10 postfix/qmgr[2016]: 41A6A80A3: from=<test@newdomain.se>, size=1009, nrcpt=1 (queue active)
Jan 16 17:32:40 s10 postfix/smtpd[31181]: disconnect from localhost[127.0.0.1]

Jan 16 17:32:40 s10 amavis[23723]: (23723-07) Passed CLEAN, LOCAL [127.0.0.1] [127.0.0.1] <test@newdomain.se> ->
<my.name@mydomain.se>, Message-ID: <b586056c369985f1ab105e915cde5f04@newdomain.se>, mail_id: ybPLIQ9z56+d, Hits: -0.621, size: 552, queued_as: 41A6A80A3, 29986 ms

Jan 16 17:32:40 s10 postfix/smtp[31156]: 3C90680A1: to=<my.name@mydomain.se>, relay=127.0.0.1[127.0.0.1]:10024,
delay=30, delays=0.11/0.07/0.05/30, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=23723-07, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 41A6A80A3)

Jan 16 17:32:40 s10 postfix/qmgr[2016]: 3C90680A1: removed
Jan 16 17:32:40 s10 postfix/smtp[31182]: 41A6A80A3: to=<my.name@mydomain.se>, relay=none, delay=0.17,
delays=0.07/0.09/0.01/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=mydomain.se type=A:
Host found but no data record of requested type)

Jan 16 17:32:40 s10 postfix/cleanup[31155]: 7522A80A4: message-id=<20120116163240.7522A80A4@s10.mydomain.se>
Jan 16 17:32:40 s10 postfix/qmgr[2016]: 7522A80A4: from=<>, size=3069, nrcpt=1 (queue active)
Jan 16 17:32:40 s10 postfix/bounce[31183]: 41A6A80A3: sender non-delivery notification: 7522A80A4
Jan 16 17:32:40 s10 postfix/qmgr[2016]: 41A6A80A3: removed
Jan 16 17:32:40 s10 postfix/pipe[31185]: 7522A80A4: to=<test@newdomain.se>, relay=maildrop, delay=0.16, delays=0.01/0.0
6/0/0.09, dsn=2.0.0, status=sent (delivered via maildrop service)

Jan 16 17:32:40 s10 postfix/qmgr[2016]: 7522A80A4: removed
..............................................

Is it possibe to get this to work ore do i need to get me another domain for the ISPC v3 server aka s10.mydomain.se?

"I got no problem to send mail from mail.mydomain.se" to s10.mydomain.se


Regards
Marcus

trexen 17th January 2012 11:25

Solved
 
Hi,

Solved this problem by change DNS servers from internal DNS servers that host mydomain.se to my External DNS servers that points to FW on the outside interfaces.

Regards
Marcus


All times are GMT +2. The time now is 00:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.