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

    DNS Resolver Records

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 323 Views 1 Watching
    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.
    • E Offline
      elenaydamonsalvatore
      last edited by

      Hello,
      I have the following doubt regarding pfsense:

      in the DNS Resolver in the Custom Options section, configure the following:

      local-zone: "dns.prueba.com." static

      local-data: "dns.prueba.com. IN A 180.10.11.47"

      And in host overrides add the host dns.rolosa.com with the internal ip 10.11.0.105.

      If I do an nslookup from a machine inside the LAN it returns both addresses, and if I do the same query from my computer or cell phone it returns neither.

      I have tried to add views or access controls in the Custom Options section.

      What can be done so that in the WAN network it returns only the public ip which would be 180.10.11.47? This in order that with the Pfsense, it is used as a DNS server, and for a host it returns one ip of the two configured according to where the request comes from.

      Thanks

      Translated with www.DeepL.com/Translator (free version)

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