Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    DNS ipv6 with dynamic prefix

    IPv6
    2
    3
    883
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rsq
      last edited by

      Hi *,

      I am having configuration issues on my freshly installed pfsense, I hope someone can help me.

      My ISP supplies us with a /56 prefix with prefix delegation. This prefix is dynamic, it changes on reboots of the firewall/cablemodem.

      I operate a raspberry pi on my network  to run some services. Among them is pihole. The purpose is to block DNS lookups to advertising domains.

      For IPv4 it is simple, the pihole is configured to use the pfsense as upstream lookup, and the DHCP supplies the pihole's IP to IPv4 clients.

      For IPv6, I have defined a static mapping for the pihole ( ::22 ) and I can see that the DHCPv6 server assigns this IP to the pihole, so far so good.

      I cannot however configure the DHCPv6 server to hand out ::22 as DNS server address. How can I configure this?

      A possible alternative is to configure the pfsense as a forwarder, and let it forward to the pihole. I also don't know how to do this.

      All help is appreciated.

      Best regards, Erik

      1 Reply Last reply Reply Quote 1
      • JKnottJ
        JKnott
        last edited by

        @rsq:

        My ISP supplies us with a /56 prefix with prefix delegation. This prefix is dynamic, it changes on reboots of the firewall/cablemodem.

        Do you have "Do not allow PD/Address release" on the WAN interface selected?  That should keep the prefix from changing.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • R
          rsq
          last edited by

          I enabled the setting. The prefix no longer changes when I reboot the pfsense box, but a power cycle of the cable modem still changes the prefix.

          I am considering sending the fe80:: address of the pihole as DNS ip since that won't change.

          Still does not solve the problem, but it is a possible workaround.

          Thanks for the input.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.