[Pdns-users] PowerDNS 2.9.21, CNAME wild cards, host(1) and AAAA lookups

Augie Schwer Augie at Schwer.us
Mon Jun 16 19:14:36 UTC 2008


This sounds like #125
(http://wiki.powerdns.com/cgi-bin/trac.fcgi/ticket/125) which was
marked as resolved a while back; can you confirm that this old ticket
matches the behavior you are seeing?  --Augie


On Thu, Jun 12, 2008 at 12:11 PM, Jaco Engelbrecht
<bje at serendipity.org.za> wrote:
> Hi,
>
> I've run into a possible bug/new feature/change of behavior with wild card
> records (which uses CNAME), host(1) and the latest version of PowerDNS
> authoritative server.
>
> Essentially, PowerDNS version 2.9.21 returns the wild card record (which has
> been setup as a CNAME, see below) when asking for an AAAA records that do
> not exist.
>
> Previous versions of PowerDNS, including Bind 9.4 with the same zone data,
> will only return the IPv4 record, and no wild card record.
>
> PowerDNS 2.9.21:
>
> bje at eris:~$ host host.test.internal
> Using domain server:
> Name: ns2.test.internal
> Address: 172.20.194.28#53
> Aliases:
>
> host.test.internal has address 34.34.34.34 <- A record
> host.test.internal is an alias for catch.test.internal. <- AAAA record
> host.test.internal is an alias for catch.test.internal. <- MX record
>
> The records in PowerDNS is as follows:
>
> +--------------------------------+-------------------------------------------------------+
> | name                        | content                    | record_type |
> +--------------------------------+--------------------------------------------------------+
> | *.test.internal         | catch.test.internal | CNAME         |
> | host.test.internal   | 34.34.34.34             | A                    |
> +--------------------------------+-------------------------------------------------------+
>
> Bind 9.4.2 behaves the same as PowerDNS 2.9.20.
>
> I can understand that this behavior is technically correct, and that if I do
> not want this to happen, I should change my record_type for my wild card
> from CNAME to A instead.  I'm just not sure if this is is intended behavior
> in the latest version of PowerDNS?  I can't see this mentioned in the change
> log?
>
> Cheers,
> Jaco
>
> --
>
> Behavior for host.test.internal against PowerDNS 2.9.20
>
> bje at mana:~$ host -t AAAA host.test.internal
> Using domain server:
> Name: 172.20.32.2
> Address: 172.20.32.2#53
> Aliases:
>
> host.test.internal has no AAAA record
>
> bje at mana:~$ host -t A host.test.internal
> Using domain server:
> Name: 172.20.32.2#53
> Address: 172.20.32.2#53
> Aliases:
>
> host.test.internal has address 34.34.34.34
>
> --
>
> Behavior for host.test.internal against PowerDNS 2.9.21
>
> bje at mana:~$ host -t AAAA host.test.internal
> Using domain server:
> Name: 172.20.222.35
> Address: 172.20.222.35#53
> Aliases:
>
> host.test.internal is an alias for catch.test.internal.
>
> bje at mana:~$ host -t A host.test.internal
> Using domain server:
> Name: 172.20.222.35
> Address: 172.20.222.35#53
> Aliases:
>
> host.test.internal has address 34.34.34.34
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users
>
>



--
Augie Schwer - Augie at Schwer.us - http://schwer.us
Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072



-- 
Augie Schwer - Augie at Schwer.us - http://schwer.us
Key fingerprint = 9815 AE19 AFD1 1FE7 5DEE 2AC3 CB99 2784 27B0 C072


More information about the Pdns-users mailing list