• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 259 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 May 30, 2024, 2:26 PM

    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?

    J 1 Reply Last reply May 30, 2024, 2:58 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @Zotan
      last edited by May 30, 2024, 2:58 PM

      @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.7.2, 24.11

      1 Reply Last reply Reply Quote 0
      • Z
        Zotan
        last edited by May 30, 2024, 3:34 PM

        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.

        J 1 Reply Last reply May 30, 2024, 4:43 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @Zotan
          last edited by May 30, 2024, 4:43 PM

          @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.7.2, 24.11

          1 Reply Last reply Reply Quote 1
          1 out of 4
          • First post
            1/4
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received