MX Records are not updating!

Bind, PowerDNS
Post Reply
gnome_x
Posts: 13
Joined: 2002-07-15 04:50
Location: Bonn/Köln
 

MX Records are not updating!

Post by gnome_x »

Hello,

my problem is that the MX records for the domain bvse.de are not updating since 4 days, and I don't know what more to do. Could you help me? I Use an 1&1 rootserver XXL, running on SUSE 8.1, Confixx 2.0 and BIND 9.1.3 as my own nameserver.

My zone file for the domain bvse.de looks like this:
-------------------------------------
$TTL 1W
@ IN SOA ns1.infinitenames.com. root.bvse.de. (
2003013106 ; serial
1H ; refresh
1H ; retry
1W ; expiry
1h) ; minimum


IN NS ns1.infinitenames.com.
IN NS ns.schlund.de.
IN MX 5 mail.kxxmail.de.
IN A 217.160.95.31
* IN A 217.160.95.31
---------------------------------

Here I have defined an external MX server.

When I first created the zone file I made a spelling mistake and forgot to put the . after the MX server. So my MX record looked like this:

IN MX 10 mail.kxxmail.de

The next day I fixed it, and since 4 days the MX record is configured correctly like this:

IN MX 5 mail.kxxmail.de.

The problem is that this change is still after 4 days not updated, when I check it with nslookup(http://www.makknet.de/nslookup.htm) I still get the following 4 days old MX record:

bvse.de. 341391 IN MX 10 mail.kxxmail.de.bvse.de.

The funny thing is that I get a completely other result when I check it with another nslookup:

http://netis.rcub.bg.ac.yu/servlet/yu.a ... ?d=bvse.de

When I try to send an email to some address @bvse.de I get the following error message:
-------------------------
Unable to deliver message to the following address(es).

<xxxx@bvse.de>:
217.160.95.31 does not like recipient.
Remote host said: 554 <xxxx@bvse.de>: Relay access denied
Giving up on 217.160.95.31.
----------------------------

The mailer deamon thinks that the mailserver is hosted under the bvse.de server, and tries to send the message through the old mistaken address: mail.kxxmail.de.bvse.de. I suppose.

First I thought that the problem would be solved automatically, but after waiting 4 days, for the servers to update, I'm begining to doubt, if there could be some other problems.

I would be very greatefull if you could help me on this, since we have not been able to recive any emails in the company since 5 days and everybody is going crazy. :twisted:

Thanks in forward

gnome_x

P.S. Please feel free to answer in German language.
[tom]
Posts: 656
Joined: 2003-01-08 20:10
Location: Berlin
 

Re: MX Records are not updating!

Post by [tom] »

Did U increase the serial during changing the zone file? Do U have a leading whitespace before IN?

I dig a few NS and it works fine.

[TOM]
gnome_x
Posts: 13
Joined: 2002-07-15 04:50
Location: Bonn/Köln
 

Email still not working!

Post by gnome_x »

Thank you for your prompt responce.

I have increased the serial regularly.
I noticed now that the leading before IN was made with TABS instead of spaces. Does that make a difference. Anyway, I did change it to spaces now.

When I dig:

dig @ns.schlund.de bvse.de any

and

dig @ns1.infinitenames.com bvse.de any

I get the correct response:

bvse.de. 604800 IN MX 5 mail.kxxmail.de.

But when i dig:

dig MX bvse.de any

I do still get the wrong address:

bvse.de. 292855 IN MX 10 mail.kxxmail.de.bvse.de.


And I still keep getting the same error whenever I try to send an email to any address @bvse.de
[tom]
Posts: 656
Joined: 2003-01-08 20:10
Location: Berlin
 

Re: MX Records are not updating!

Post by [tom] »

I just lint bvse.de and got the following response:

Code: Select all

stargate:~# dlint -n bvse.de.
;; dlint version 1.4.0, Copyright (C) 1998 Paul A. Balyoz <pab@domtools.com>
;;     Dlint comes with ABSOLUTELY NO WARRANTY.
;;     This is free software, and you are welcome to redistribute it
;;     under certain conditions.  Type 'man dlint' for details.
;; command line: /usr/bin/dlint -n bvse.de.
;; flags: normal-domain not-recursive.
;; using dig version 9.2.1
;; run starting: Mon Feb  3 01:52:53 CET 2003
;; ============================================================
;; Now linting bvse.de.
;; Checking serial numbers per nameserver
;;     2003013106 ns.schlund.de.
;;     2003020301 ns1.infinitenames.com.
WARNING: nameservers don't seem to agree on the zone's serial number.
        Dlint will query nameserver with largest serial number first.
;; Now caching whole zone (this could take a minute)
;; trying nameserver ns1.infinitenames.com.
ERROR: no A records found.
;; ============================================================
;; dlint of bvse.de. run ending with errors.
;; run ending: Mon Feb  3 01:52:53 CET 2003
When I lint it a secont time they agree on the serial.

I checked it manually with:

Code: Select all

stargate:~# dig @ns1.infinitenames.com bvse.de SOA | grep -v "^;" | grep "SOA"
bvse.de.                604800  IN      SOA     ns1.infinitenames.com. root.bvse.de. 2003020301 3600 3600 604800 3600
and

Code: Select all

stargate:~# dig @ns.schlund.de bvse.de SOA | grep -v "^;" | grep "SOA"
bvse.de.                604800  IN      SOA     ns1.infinitenames.com. root.bvse.de. 2003020301 3600 3600 604800 3600
If U still get the wrong address, it's propertly a problem of UR default NS (from the machine UR testing).

[TOM]
gnome_x
Posts: 13
Joined: 2002-07-15 04:50
Location: Bonn/Köln
 

Re: MX Records are not updating!

Post by gnome_x »

I'm doing the tests through the machine that the actual nameserver (BIND9) is runing. Is there anything I could do about my default NS? When I check it manually, I do get the same results as you, but the email is still not working.

I still keep getting the following failure deliviery as if the mail server would be in my machine, and not an external one:

Code: Select all

Unable to deliver message to the following address(es).

<username@bvse.de>:
217.160.95.31 does not like recipient.
Remote host said: 554 <username@bvse.de>: Relay access denied
Giving up on 217.160.95.31.
Matthias Diehl
Posts: 315
Joined: 2002-09-24 13:26
 

Re: MX Records are not updating!

Post by Matthias Diehl »

Hi there !

How are you sending mail ?
Maybe in the mail clients setup you wrote that the mail should be delivered to smtp.bvse.de or something like that ?
Check this and if so, change it to mx.bvse.de
gnome_x
Posts: 13
Joined: 2002-07-15 04:50
Location: Bonn/Köln
 

Re: MX Records are not updating!

Post by gnome_x »

I was testing form my yahoo webmail account, and from eudora, that uses my ISP's SMTP. This is not it.
Post Reply