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

    How to make unbound update hostname entry on gateway down

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 67 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.
    • M
      mike_vc
      last edited by

      I'm hosting a wireguard box behind a couple HA pfsenses, each of which is configured for 2 ISPs.
      Wireguard configuration that I'm able to provide to users can only have a single vpn endpoint (wireguard limitation).
      I have unbound configured with an access-list of 0.0.0.0/0 as well as an "internet" view with a local-data entry vpn.mydomain.com pointing my primary ISP CARP IP. This setup allows for vpn to continue functioning in the event that one of the firewalls fails, but not if one of the ISP links goes down.

      Does anyone know how to either get unbound to respond with a different A record depending on whether the query arrived on WAN1 or WAN2, or to update (not manually) the said A record if one of the ISP links is down?

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