Your message dated Sun, 30 Sep 2007 10:45:24 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#444639: pdnsd unable to handle 2 mx entries
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: pdnsd
Version: 1.2.4par-0.2
Severity: important

I have my pdnsd server setup with two mx entries for a domain. Still the
server only responds dns queries with the second entry and seems to forget
about the first one:

rr {
        ttl=86400;
        #owner="ns.amps.es.";
        name="amps.es";
        mx="piano.amps.es",10;
        soa="ns.amps.es.","root.ns.amps.es.",42,86400,900,86400,86400;
}

rr {
        ttl=86400;
        #owner="ns.amps.es.";
        name="amps.es";
        mx="smtp.proyectosolidario.org",20;
        soa="ns.amps.es.","root.ns.amps.es.",42,86400,900,86400,86400;
}

but when queried:

mekas:/home/eric# host -t mx amps.es localhost
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases:

amps.es mail is handled by 20 smtp.proyectosolidario.org.


If I comment the second entry:

rr {
        ttl=86400;
        #owner="ns.amps.es.";
        name="amps.es";
        mx="piano.amps.es",10;
        soa="ns.amps.es.","root.ns.amps.es.",42,86400,900,86400,86400;
}

#rr {
#        ttl=86400;
#        #owner="ns.amps.es.";
#        name="amps.es";
#        mx="smtp.proyectosolidario.org",20;
#        soa="ns.amps.es.","root.ns.amps.es.",42,86400,900,86400,86400;
#}

I get:

mekas:/home/eric# host -t mx amps.es localhost
Using domain server:
Name: localhost
Address: 127.0.0.1#53
Aliases:

amps.es mail is handled by 10 piano.amps.es.
mekas:/home/eric#

AFAIR in the past pdnsd supported various mx entries. Has that behaviour
changed since then ?



-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-686
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)

Versions of packages pdnsd depends on:
ii  adduser                3.102             Add and remove users and groups
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries

pdnsd recommends no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On sam, sep 29, 2007 at 11:15:38 +0000, Eric Van Buggenhaut wrote:
> Package: pdnsd
> Version: 1.2.4par-0.2
> Severity: important
> 
> I have my pdnsd server setup with two mx entries for a domain. Still the
> server only responds dns queries with the second entry and seems to forget
> about the first one:
> 
> rr {
>         ttl=86400;
>         #owner="ns.amps.es.";
>         name="amps.es";
>         mx="piano.amps.es",10;
>         soa="ns.amps.es.","root.ns.amps.es.",42,86400,900,86400,86400;
> }
> 
> rr {
>         ttl=86400;
>         #owner="ns.amps.es.";
>         name="amps.es";
>         mx="smtp.proyectosolidario.org",20;
>         soa="ns.amps.es.","root.ns.amps.es.",42,86400,900,86400,86400;
> }

  You should write your configuration like this:

rr {
        ttl=86400;
        #owner="ns.amps.es.";
        name="amps.es";
        mx="piano.amps.es",10;
        mx="smtp.proyectosolidario.org",20;
        soa="ns.amps.es.","root.ns.amps.es.",42,86400,900,86400,86400;
}

  Afaict, you can have only _one_ rr section per given "name". I tried
the setup here, and it works properly and dig MX shows both MX with the
proper priorities.

Cheers,
-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpG8JTbH8Tj8.pgp
Description: PGP signature


--- End Message ---

Reply via email to