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: pgpt2TUvxeWfN.pgp
Description: PGP signature

Reply via email to