Nextdns - update IP address using linked webpage

HI all,
What is the best way for me to call a webpage once a minute?
I use nextdns and my ISP uses CGNAT so my ip address changes very often. (Three UK)
I want to use the option to update my IP address using the call webpage option.

How is best to achieve this with home assistant?
Basically, i have a webpage link, i just need home assistant to call it once a minute.

If they indeed use CGNAT (double NAT), posting your public IP to Nextdns won’t achieve much, as you’ll still not be able to reach your HA through the internet that way.

Have a look at tailscale for this.

It’s not really necessary for NextDNS to reach HA. The IP association is only to associate the NextDNS account / profile to that IP address.

So basically, if you don’t associate your IP address in NextDNS to your profile / account, you will get generic ad blocking, not specific to your account.

@Bieniu is that something the NextDNS add-on can do ? (periodically GET the NextDNS personal address)
Talking about this address:

I suspect that this address is different for each user and for each configuration profile. You can query it periodically using the shell_command integration. NextDNS integration does not support this option.

1 Like

Right, as simple as adding this to configuration.yaml:

shell_command:
  nextdns_update: curl ${your_personal_url}

And then define an automation

alias: Nextdns Update
description: Update Nextdns IP address
trigger:
  - platform: time_pattern
    hours: "*"
condition: []
action:
  - service: shell_command.nextdns_update
    data: {}
mode: single

(for example, to run once every hour)