Feature request: support now-dns.com #215

Closed
opened 2025-11-20 04:21:38 -05:00 by saavagebueno · 2 comments
Owner

Originally created by @corvese on GitHub (Sep 23, 2022).

Originally assigned to: @qdm12 on GitHub.

  1. What's the feature?
    Add provider now-dns

  2. Extra information?

API Documentation

Here is an example of a Python script I made to automatically update DNS:

import requests
import time
import creds

domain = creds.domain
username = creds.username
password = creds.password


def pushover_message(title, message):

    url = "https://api.pushover.net/1/messages.json"

    payload={'token': creds.app_id,
    'user': creds.user_id,
    'message': message,
    'title': title}

    requests.request("POST", url, data=payload)




while True:
    try:
        r = requests.get(f'https://now-dns.com/update?hostname={domain}', auth=(username, password))

        if r.text != "nochg":
            pushover_message("NOW-DDNS Alert", r.text)

        if r.status_code != 200:
            pushover_message("NOW-DDNS Alert", r.status_code)


        time.sleep(300)


    except Exception as e:
        print(e)
        pushover_message("NOW-DDNS Alert - Python Exception", e)
        time.sleep(300)
Originally created by @corvese on GitHub (Sep 23, 2022). Originally assigned to: @qdm12 on GitHub. 1. What's the feature? Add provider [now-dns](https://now-dns.com/) 2. Extra information? [API Documentation](https://now-dns.com/?p=clients) Here is an example of a Python script I made to automatically update DNS: ```python import requests import time import creds domain = creds.domain username = creds.username password = creds.password def pushover_message(title, message): url = "https://api.pushover.net/1/messages.json" payload={'token': creds.app_id, 'user': creds.user_id, 'message': message, 'title': title} requests.request("POST", url, data=payload) while True: try: r = requests.get(f'https://now-dns.com/update?hostname={domain}', auth=(username, password)) if r.text != "nochg": pushover_message("NOW-DDNS Alert", r.text) if r.status_code != 200: pushover_message("NOW-DDNS Alert", r.status_code) time.sleep(300) except Exception as e: print(e) pushover_message("NOW-DDNS Alert - Python Exception", e) time.sleep(300) ``` <!-- YOU CAN CHAT THERE EVENTUALLY: https://github.com/qdm12/ddns-updater/discussions -->
Author
Owner

@CyberAustin commented on GitHub (Jul 15, 2023):

I've created a PR for this: https://github.com/qdm12/ddns-updater/pull/504

@CyberAustin commented on GitHub (Jul 15, 2023): I've created a PR for this: https://github.com/qdm12/ddns-updater/pull/504
Author
Owner

@qdm12 commented on GitHub (Aug 4, 2023):

Thanks @CyberAustin for resolving this 👍

@qdm12 commented on GitHub (Aug 4, 2023): Thanks @CyberAustin for resolving this 👍
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ddns-updater#215