[Pdns-users] Wildcards for ipv6 PTR Records?

Philippe M m_philippe at rocketmail.com
Thu Mar 6 09:03:28 UTC 2014


Hello,
is it possible wo wildcard ipv6 PTR Records?
(PowerDNS 3.3.1 with PostgresSQL Backend)


I have the Problem, that i have several PTR Records in a ipv6 reverse-lookup zone.
These look like:
Zone name:
w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa

PTR Records:
1.2.3.4.5.0.0.0.1.2.3.0.0.0.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa
0.1.2.3.5.0.0.0.1.2.5.0.1.0.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa
etc.

I tried to do wildcard records like:
*.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa
*.*.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa

...

but it didn't work.

I also tried wildcard Records like:
*.0.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa
*.0.0.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa
*.0.0.0.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa
...

Didn't work either.

The Reason why i want the Wildcards:
When
 i try to "rectify-zone w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6.arpa"
The Problem is, that i can't rectify these ipv6 reverse-lookup zones without having the upper record of the PTR Records. (for example: 
Powerdns wants to reate the following record:
Error: GSQLBackend unable to insert empty non-terminal rr 0.1.1.2.0.2.1.2.0.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6 
in domain_id xxxx: PostgreSQL failed to execute command: ERROR:  null value in column "type" violates not-null constraint
for this PTR Record:
1.3.1.0.1.8.1.0.1.1.2.0.2.1.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6

I know why it fails, that's not the point, that's why i wanted to create them manually.
(For explanation the error comes from:
STATEMENT:  insert into records (domain_id,name,type,auth) values ('xxxx','0.1.1.2.0.2.1.2.0.w.w.w.w.x.x.x.x.y.y.y.y.z.z.z.z.ip6',null,true)
which failes because of the null type which powerdns tries to create.

Greetings,
Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20140306/27b5f8e6/attachment.html>


More information about the Pdns-users mailing list