Re: [Pdns-users] reverse zone ipv4 and ipv6
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@pdnsa1:~# root@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@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@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@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@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@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 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. > > ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] reverse zone ipv4 and ipv6
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. ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] reverse zone ipv4 and ipv6
On 01/02/2023 18:13, Vinícius Dalcin via Pdns-users wrote: good I made some adjustments and as for the ipv4 this functional. When to ipv6 I get REFUSED query response. Can you show what configuration you made, the exact query you made, and the exact response you got back? Please make sure you don't obfuscate any domain names or IP addresses. See https://blog.powerdns.com/2016/01/18/open-source-support-out-in-the-open/ ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] reverse zone ipv4 and ipv6
I certainly shouldn't hehehe. good I made some adjustments and as for the ipv4 this functional. When to ipv6 I get REFUSED query response. Is there anything else to enable in the PDNS daemon? Em qua., 1 de fev. de 2023 às 11:05, Chris Wopat escreveu: > You probably don't want to insert 79,228,162,514,264,337,593,543,950,336 > rows into your database for your ipv6 /32. > > > > On Wed, Feb 1, 2023 at 7:28 AM Vinícius Dalcin via Pdns-users < > pdns-users@mailman.powerdns.com> wrote: > >> I'm going to install a database manager, because via pdnsutils I'm not >> having success. >> Try to insert the records into the table. >> pdns admin does not support lua registration. >> Thanks for the tip. >> >> Em qua., 1 de fev. de 2023 às 05:08, Winfried Angele via Pdns-users < >> pdns-users@mailman.powerdns.com> escreveu: >> >>> Hello Vinicius, >>> >>> You can do that with Lua records. createReverse(), createForward(), >>> createReverse6() and createForward6() can be used to create generic >>> records. >>> >>> Here is a good starting point: >>> >>> https://doc.powerdns.com/authoritative/lua-records/functions.html#reverse-dns-functions >>> >>> Winfried >>> >>> On 31.01.23 20:42, Vinícius Dalcin via Pdns-users wrote: >>> > I'm starting with PDNS, I'm in recursive production and now I want to >>> > increase the authoritative. >>> > >>> > How should I configure reverse zone for ipv4/22 and ipv6/32? >>> > For all ips in the block? >>> > >>> > This demand is for ISP. >>> > >>> > Thank you, >>> > Vinicius Dalcin >>> > >>> > ___ >>> > Pdns-users mailing list >>> > Pdns-users@mailman.powerdns.com >>> > https://mailman.powerdns.com/mailman/listinfo/pdns-users >>> ___ >>> Pdns-users mailing list >>> Pdns-users@mailman.powerdns.com >>> https://mailman.powerdns.com/mailman/listinfo/pdns-users >>> >> ___ >> Pdns-users mailing list >> Pdns-users@mailman.powerdns.com >> https://mailman.powerdns.com/mailman/listinfo/pdns-users >> > ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] reverse zone ipv4 and ipv6
You probably don't want to insert 79,228,162,514,264,337,593,543,950,336 rows into your database for your ipv6 /32. On Wed, Feb 1, 2023 at 7:28 AM Vinícius Dalcin via Pdns-users < pdns-users@mailman.powerdns.com> wrote: > I'm going to install a database manager, because via pdnsutils I'm not > having success. > Try to insert the records into the table. > pdns admin does not support lua registration. > Thanks for the tip. > > Em qua., 1 de fev. de 2023 às 05:08, Winfried Angele via Pdns-users < > pdns-users@mailman.powerdns.com> escreveu: > >> Hello Vinicius, >> >> You can do that with Lua records. createReverse(), createForward(), >> createReverse6() and createForward6() can be used to create generic >> records. >> >> Here is a good starting point: >> >> https://doc.powerdns.com/authoritative/lua-records/functions.html#reverse-dns-functions >> >> Winfried >> >> On 31.01.23 20:42, Vinícius Dalcin via Pdns-users wrote: >> > I'm starting with PDNS, I'm in recursive production and now I want to >> > increase the authoritative. >> > >> > How should I configure reverse zone for ipv4/22 and ipv6/32? >> > For all ips in the block? >> > >> > This demand is for ISP. >> > >> > Thank you, >> > Vinicius Dalcin >> > >> > ___ >> > Pdns-users mailing list >> > Pdns-users@mailman.powerdns.com >> > https://mailman.powerdns.com/mailman/listinfo/pdns-users >> ___ >> Pdns-users mailing list >> Pdns-users@mailman.powerdns.com >> https://mailman.powerdns.com/mailman/listinfo/pdns-users >> > ___ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > https://mailman.powerdns.com/mailman/listinfo/pdns-users > ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] reverse zone ipv4 and ipv6
I'm going to install a database manager, because via pdnsutils I'm not having success. Try to insert the records into the table. pdns admin does not support lua registration. Thanks for the tip. Em qua., 1 de fev. de 2023 às 05:08, Winfried Angele via Pdns-users < pdns-users@mailman.powerdns.com> escreveu: > Hello Vinicius, > > You can do that with Lua records. createReverse(), createForward(), > createReverse6() and createForward6() can be used to create generic > records. > > Here is a good starting point: > > https://doc.powerdns.com/authoritative/lua-records/functions.html#reverse-dns-functions > > Winfried > > On 31.01.23 20:42, Vinícius Dalcin via Pdns-users wrote: > > I'm starting with PDNS, I'm in recursive production and now I want to > > increase the authoritative. > > > > How should I configure reverse zone for ipv4/22 and ipv6/32? > > For all ips in the block? > > > > This demand is for ISP. > > > > Thank you, > > Vinicius Dalcin > > > > ___ > > Pdns-users mailing list > > Pdns-users@mailman.powerdns.com > > https://mailman.powerdns.com/mailman/listinfo/pdns-users > ___ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > https://mailman.powerdns.com/mailman/listinfo/pdns-users > ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users
Re: [Pdns-users] reverse zone ipv4 and ipv6
Hello Vinicius, You can do that with Lua records. createReverse(), createForward(), createReverse6() and createForward6() can be used to create generic records. Here is a good starting point: https://doc.powerdns.com/authoritative/lua-records/functions.html#reverse-dns-functions Winfried On 31.01.23 20:42, Vinícius Dalcin via Pdns-users wrote: I'm starting with PDNS, I'm in recursive production and now I want to increase the authoritative. How should I configure reverse zone for ipv4/22 and ipv6/32? For all ips in the block? This demand is for ISP. Thank you, Vinicius Dalcin ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users
[Pdns-users] reverse zone ipv4 and ipv6
I'm starting with PDNS, I'm in recursive production and now I want to increase the authoritative. How should I configure reverse zone for ipv4/22 and ipv6/32? For all ips in the block? This demand is for ISP. Thank you, Vinicius Dalcin ___ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users