Skip to content

example code to do manual dns failover  #112

@puppet-py

Description

@puppet-py

can someone please point me to any reference/example code as I want to programaticaly(using NS1 python SDK) want to achieve manual dns failover

I am referring to this section in this this article: https://help.ns1.com/hc/en-us/articles/360020471254
It is also possible to enact failover and failback through the NS1 API if you want to make your own tool (like a command-line script) to quickly trigger failover or failback. One of the easiest ways to do this is to configure an NS1 API data feed for your primary IP, and publish up/down status to the feed with your tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions