Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: remove notify for remotes if server is localhost #17

Open
mave007 opened this issue Nov 5, 2019 · 1 comment
Open

Feature: remove notify for remotes if server is localhost #17

mave007 opened this issue Nov 5, 2019 · 1 comment

Comments

@mave007
Copy link

mave007 commented Nov 5, 2019

If we define into the YAML the following:

dns::daemon: nsd
dns::remotes:
  localhost:
    address4: 127.0.0.1
    address6: '0::1'
    tsig_name: 'NOKEY'

The output for nsd.conf will be:

pattern:
  name: localhost-master
  allow-notify: 127.0.0.1 NOKEY
  request-xfr: AXFR 127.0.0.1 NOKEY
  allow-notify: 0::1 NOKEY
  request-xfr: AXFR 0::1 NOKEY

It would be useful to have somehow allow-notify parameter on NSD to be empty if it is localhost.

@b4ldr
Copy link
Contributor

b4ldr commented Nov 6, 2019

It can be useful to use ldns-notify from localhost to forge a NOTIFY and trigger an AXFR. is it causing a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants