question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a button to Zone page to force immediate slave notify

See original GitHub issue

We should have a button on the zone records list page that would call PUT /servers/{server_id}/zones/{zone_id}/notify forcing an immediate manual notify to all name servers.

This would be useful in situations where for whatever reason the first notify failed, or if a new slave is brought online. Currently, you would need to make a dummy change to force a renotify.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Daniel15commented, May 17, 2021

+1

I’d also like to see a NOTIFY sent whenever a zone is edited, as soon as the changes are saved. Currently there’s a bit of a delay with notifying the secondaries receiving the update as it relies on PowerDNS noticing that the zone has changed, and it only polls for that every slave-cycle-interval interval.

0reactions
jbe-dwcommented, May 10, 2022

Hello,

While this could be an option, we have to figure out if it does what you would like first. Reading the conversation, none of you does.

@sshipway if you still would like to reduce notification delay, you could start by running a simple test:

  • live display detailed logs of PDNS or run a tcpdump on slaves
  • Do a simple change directly via PDNS API (like changing a tll or a record content)
  • Monitor how long it takes to the master to send notification
  • Do multiple iterations to confirm the behaviour
  • Then do the change followed by de notify api call and check on logs/tcpdump if it does really notify on API request.

Then tell us if it does what you think it should.

Regards

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add a button to Zone page to force immediate slave notify #710
We should have a button on the zone records list page that would call PUT /servers/{server_id}/zones/{zone_id}/notify forcing an immediate manual notify to ...
Read more >
ubuntu - Bind Slave Server Notify after adding new zone
Ie, add a type master zone on one server and a type slave zone on the other server. Notify messages make it possible...
Read more >
10.3. DNS NOTIFY (Zone Change Notification)
To add a server to your NOTIFY list, use the also-notify substatement of the zone statement: zone "fx.movie.edu" { type slave; file "bak.fx.movie.edu";...
Read more >
How to configure slave DNS and vanity nameservers on Zerigo
Click the Add button. You will then see the status screen for the domain. If you click Tools you will see whether or...
Read more >
Getting DNS updates to update slave servers rather than wait for ...
Changing the 'Bind -> Zone Defaults' page will not help, as it just sets defaults for new domains. You need to update all...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found