Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 633
    • Issues 633
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 87
    • Merge requests 87
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source ProjectsISC Open Source Projects
  • BINDBIND
  • Issues
  • #4001
Closed
Open
Issue created Apr 05, 2023 by Petr Špaček@pspacekMaintainer

notify-source config with non-local IP address silently omits sending NOTIFY messages

Summary

Non-local notify-source IP address results in non-working configuration (which is kind of okay), but the problem is that there is no indication in logs that the address is incorrect.

BIND version used

  • Affects v9.19: 45893249
  • Affects v9.18: v9.18.11
  • Affects v9.16: v9.16.39
  • Other versions were not tested

Steps to reproduce

  • Configure at least one zone which generates notifications
  • Configure non-local IP address

Example:

zone "example.com" {
	type master;
	file "example.com.zone";
	also-notify {
		192.0.2.10;
	};
	notify-source 192.0.2.1;
	notify explicit;
};
  • named.nonlocal.conf
  • example.com.zone

What is the current bug behavior?

  • No notifies are sent (which is probably okay by itself)
  • No log message about non-existing source IP address / failed bind() call

What is the expected correct behavior?

  • At least one log message

Relevant logs and/or screenshots

Apparently we do try to bind() and it fails as expected:

[pid 469186] bind(512, {sa_family=AF_INET, sin_port=htons(10053), sin_addr=inet_addr("192.0.2.1")}, 16) = -1 EADDRNOTAVAIL (Cannot assign requested address)

but it is not logged.

Assignee
Assign to
Time tracking