[Pdns-users] reverse zone ipv4 and ipv6

Vinícius Dalcin viniciusdalcin at gmail.com
Wed Feb 1 22:41:37 UTC 2023


I made some adjustments.
Now everything is working fine

####
id name master type serial notified_serial last_check dnssec account_id
13 2.10.10.in-addr.arpa [] Native 2023020103 0 0 0 NULL
14 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
[] Master 2023020103 0 0 0 NULL

####
id domain_id name type content ttl prio disabled ordername auth
148 13 2.10.10.in-addr.arpa NS ns1.vpdnetwork.net.br 86400 0 0 NULL 1
150 13 100.2.10.10.in-addr.arpa PTR ipv4rev.vpdnetwork.net.br 60 0 0 NULL 1
151 13 2.10.10.in-addr.arpa SOA ns1.vpdnetwork.net.br
hostmaster.2.10.10.in-addr.arpa 2023020103 10800 3600 604800 3600 3600 0 0
NULL 1
152 13 *.2.10.10.in-addr.arpa LUA PTR  "createReverse('%5%.vpdnetwork.net.br')"
3600 0 0 NULL 1
153 14 *.c.6.b.2.4.0.8.2.ip6.arpa LUA PTR  "createReverse6('%33%.
vpdnetwork.net.br')" 3600 0 0 NULL 1
154 14
5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
PTR ns1.vpdnetwork.net.br 60 0 0 NULL 1
189 14 c.6.b.2.4.0.8.2.ip6.arpa NS ns1.vpdnetwork.net.br 86400 0 0 NULL 1
190 14 c.6.b.2.4.0.8.2.ip6.arpa SOA ns1.vpdnetwork.net.br
hostmaster.c.6.b.2.4.0.8.2.ip6.arpa 2023020103 10800 3600 604800 3600 3600
0 0 NULL 1
###

root at pdnsa1:~#
root at pdnsa1:~# nslookup 2804:2b6c::1
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
     name = 2804-2b6c--1.vpdnetwork.net.br.

root at pdnsa1:~# nslookup 2804:2b6c::1
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
     name = 2804-2b6c--1.vpdnetwork.net.br.

root at pdnsa1:~# nslookup 2804:2b6c::10
0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
     name = 2804-2b6c--10.vpdnetwork.net.br.

root at pdnsa1:~# nslookup 2804:2b6c::20
0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
     name = 2804-2b6c--20.vpdnetwork.net.br.

root at pdnsa1:~# nslookup 2804:2b6c::2021
1.2.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
     name = 2804-2b6c--2021.vpdnetwork.net.br.

root at pdnsa1:~# nslookup 2804:2b6c::5
5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.c.6.b.2.4.0.8.2.ip6.arpa
     name = ns1.vpdnetwork.net.br.


I will configure with the data of an ASN to upload the 4 servers.
2 authoritative and 2 recursive with the resource.
ipv4 and ipv6.
DNSSEC..

Thanks for everyone's help!



Em qua., 1 de fev. de 2023 às 17:28, Brian Candler <b.candler at pobox.com>
escreveu:

> On 01/02/2023 20:05, Vinícius Dalcin wrote:
> > where am i going wrong?
>
> (Aside: it's hard to read screenshots rather than text, and I can't copy
> paste from them)
>
> I can't explain why it's not working, but I do see a few odd things.
>
> 1. Where does /etc/resolv.conf point on your host?
>
> I note that "nslookup" and "dig" will send to the local *resolver* by
> default.  This shouldn't work for testing an authoritative server,
> unless you have actually configured delegation for your IPv6 block
> (which you haven't). I don't understand how you got it to work for v4
> though.
>
> In any case, better to send your requests explicitly to the right place:
>
> dig @x.x.x.x -x 2804:2b6c::2
>
> where x.x.x.x is the IP address where powerdns authoritative is
> running.  (Note that your /etc/resolv.conf should *not* point to this
> address; it should point to a recursor)
>
> 2. What are all those NULL records? I think you need to delete them.
>
> 3. I can't copy-paste it, but the record with ID 154 is completely
> broken: it's ip6.arpa under ip6.arpa.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20230201/e1e0a6c4/attachment.htm>


More information about the Pdns-users mailing list