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

    Redirect external address to a different local IP if external address fails?DNS

    Scheduled Pinned Locked Moved DHCP and DNS
    1 Posts 1 Posters 280 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.
    • D Offline
      dd20waltersgmail.com
      last edited by

      Hello all,

      I have a local network running PFSense freebsd as my router/firewall.  I have SIP phones pointed at a FQDN sitting on the cloud.  I also have a local SIP controller as a failover device if my cloud controller fails.  I am trying to set up my DNS so if my SIP phones pointed at sip.example.com fail to register remotely then they are redirected to a static IP on the LAN.  I also need to find a way to have my DNS constantly updating or looking for the cloud controller to come back up and when it does to default back to that url.

      Im trying to contain all of this within PFSense if possible.

      Metaphor/Relation idea…

      I'm thinking of it kind of like a dual fail over WAN where WAN is prioritized as Tier1 and OPT1 (Second WAN) is Tier 2.  So Tier 1 would be the primary and Tier 2 would be the fail over, but its always looking to reconnect to that Tier 1 when available.

      Does this exist, if so what is it called and where do i start?\

      Example:

      SIP Phone    set host to  sip.example.com (External address)

      If host returns unable to reach then have a DNS reroute to the local controller by IP  192.168.1.50(SIP Controller Static)
      In addition have the some kind of recheck to see if sip.example.com is back up and if it is go back to that external address.

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