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

    Reverse lookups fail for static DHCP leases with unbound.

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 262 Views
    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.
    • Z
      Zotan
      last edited by

      I have unbound with ISC DHCP and register static leases in DNS. Normal lookups work correctly, but reverse lookups don't. With the DNS forwarder in place of unbound reverse lookups work as expected.

      Am I missing something simple somewhere?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @Zotan
        last edited by

        @Zotan So you reserve say host.home.arpa for IP 192.168.1.100 as just an example..

        And your saying you can lookup host.home.arpa and it returns 192.168.1.100, but when you do a ptr for 192.168.1.100 it returns what - NX? servfail?

        Here I just created a test reservation, and not seeing any issues. It makes no sense that the forward would work and not the reverse..

        test.jpg

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • Z
          Zotan
          last edited by

          I didn't give the full details. I have 3 pfsense instances in the network, with different domains. I use DNS forwarding between the instances to resolve the internal domains. A reverse lookup against the local domain works, it doesn't work when forwarded.

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @Zotan
            last edited by

            @Zotan well if your going to forward for the reverse you would to setup the in-addr.arpa zone to be forwarded.

            lets say you have zone1.home.arpa and zone2.home.arpa and zone3.home.arpa

            and lets say 192.168.1/24 is zone1, and zone2 is using 192.168.2/24 and zone3 is 192.168.3/24

            Create your forward for 2.168.192.in-addr.arpa to point to your pfsense for that zone, and then do 3.168.192.in-addr.arpa for zone3

            So for example I setup NS on my nas dns.. for both the forward zone testlocal.home.arpa and the reverse zone 0.168.192.in-addr.arpa created some records in it.. And setup some domain overrides to forward to my nas at 192.168.9.10

            ptr.jpg

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

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