BIND, Master, Slaves and NotifyBind zone transfer refusedHidden DNS master only sending notify to one slaveBIND slave doesn't sync up with master until it is restartedWoes with named/bind and forwarding zonesBIND Slave Receiving Notify From Other Slave?Windows DNS as secondary to BIND MasterShould I declare zone on slave server for DNS notify and zone transferBIND9: Send Notifications on Specific IP AddressBIND: DNS failover and high availability with dynamic updatesExposure of hidden-master stealth DNS server on public-facing authoritative slave
Why can't I see bouncing of a switch on an oscilloscope?
If I cast Expeditious Retreat, can I Dash as a bonus action on the same turn?
What defenses are there against being summoned by the Gate spell?
Why was the small council so happy for Tyrion to become the Master of Coin?
What are these boxed doors outside store fronts in New York?
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
can i play a electric guitar through a bass amp?
How much RAM could one put in a typical 80386 setup?
Can I ask the recruiters in my resume to put the reason why I am rejected?
Languages that we cannot (dis)prove to be Context-Free
Fencing style for blades that can attack from a distance
How to say job offer in Mandarin/Cantonese?
Which models of the Boeing 737 are still in production?
Writing rule stating superpower from different root cause is bad writing
Why are electrically insulating heatsinks so rare? Is it just cost?
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
How is it possible to have an ability score that is less than 3?
Is it legal for company to use my work email to pretend I still work there?
How can I make my BBEG immortal short of making them a Lich or Vampire?
Arthur Somervell: 1000 Exercises - Meaning of this notation
What does it mean to describe someone as a butt steak?
What does CI-V stand for?
How to find program name(s) of an installed package?
BIND, Master, Slaves and Notify
Bind zone transfer refusedHidden DNS master only sending notify to one slaveBIND slave doesn't sync up with master until it is restartedWoes with named/bind and forwarding zonesBIND Slave Receiving Notify From Other Slave?Windows DNS as secondary to BIND MasterShould I declare zone on slave server for DNS notify and zone transferBIND9: Send Notifications on Specific IP AddressBIND: DNS failover and high availability with dynamic updatesExposure of hidden-master stealth DNS server on public-facing authoritative slave
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
It might seem like a very basic question, but, how is a master DNS server aware of its slaves?
I mean, does it parse the zone file and determine where to send the NOTIFY message?
And if that is the case, then, is the NOTIFY mechanism broken in a hidden master setup, isn't it?
bind master-slave
add a comment |
It might seem like a very basic question, but, how is a master DNS server aware of its slaves?
I mean, does it parse the zone file and determine where to send the NOTIFY message?
And if that is the case, then, is the NOTIFY mechanism broken in a hidden master setup, isn't it?
bind master-slave
I think I'm experiencing the same issue, I'm using a hidden master, only one of my slaves is being notified, I'm using the standardnotify yes
, and both slaves are listed as NS records for the domains
– Rob
Jun 7 '12 at 16:09
add a comment |
It might seem like a very basic question, but, how is a master DNS server aware of its slaves?
I mean, does it parse the zone file and determine where to send the NOTIFY message?
And if that is the case, then, is the NOTIFY mechanism broken in a hidden master setup, isn't it?
bind master-slave
It might seem like a very basic question, but, how is a master DNS server aware of its slaves?
I mean, does it parse the zone file and determine where to send the NOTIFY message?
And if that is the case, then, is the NOTIFY mechanism broken in a hidden master setup, isn't it?
bind master-slave
bind master-slave
edited Apr 22 '12 at 15:22
splattne
25.7k1891144
25.7k1891144
asked Apr 22 '12 at 7:47
PeterPeter
5822619
5822619
I think I'm experiencing the same issue, I'm using a hidden master, only one of my slaves is being notified, I'm using the standardnotify yes
, and both slaves are listed as NS records for the domains
– Rob
Jun 7 '12 at 16:09
add a comment |
I think I'm experiencing the same issue, I'm using a hidden master, only one of my slaves is being notified, I'm using the standardnotify yes
, and both slaves are listed as NS records for the domains
– Rob
Jun 7 '12 at 16:09
I think I'm experiencing the same issue, I'm using a hidden master, only one of my slaves is being notified, I'm using the standard
notify yes
, and both slaves are listed as NS records for the domains– Rob
Jun 7 '12 at 16:09
I think I'm experiencing the same issue, I'm using a hidden master, only one of my slaves is being notified, I'm using the standard
notify yes
, and both slaves are listed as NS records for the domains– Rob
Jun 7 '12 at 16:09
add a comment |
3 Answers
3
active
oldest
votes
You've two options in your master's BIND config for a given zone:
notify yes
- will send notifications to all of the published NS records for the domain.
notify explicit
- will send notifications only to those IPs listed in the also-notify
configuration.
In either case, the slaves must be configured with allow-notify
that accepts these notifications from the master's IP.
Once it accepts a NOTIFY, the slave then sends an IXFR or AXFR request back to the master. If the master is 'hidden' (ie: not published as an NS record for the domain), then this doesn't matter. The slaves have to be configured with the master's IP directly, so they should know where to send the request.
So long as the master's firewall allows the requests in from the slaves and the master is configured to allow zone transfers, then the salves can retreive their configuration. (This is the part you have to lock down to prevent unauthorized name servers scraping your zone files)
This is not what I question. First things first. The notify yes is the DEFAULT option on bind 9.x, so you do not want to set it. Your answer is about how notify works AFTER the slave receives that from Master. What I ask, is completely different. I ask how master KNOWS which servers are slaves. Slaves DO know their master, but you do not set anywhere in the configuration file the secondary servers. So, Master DOES NOT KNOW EXPLICITLY his slaves. So, the question is still unanswered.
– Peter
Apr 22 '12 at 9:04
8
With the default setting (notify yes
) the master doesn't have to have the slaves explicitly configured, It simply sends a NOTIFY to eachNS
record for the domain. (In your terms, the master knows the slaves, because they're right there in the zone file.)
– SmallClanger
Apr 22 '12 at 9:51
2
In that case, I have a problem to solve, because the master does not send NOTIFY to the zone NS...
– Peter
Apr 22 '12 at 14:10
add a comment |
Bind DNS sends notify to all name servers expect itself and master nameserver in SOA.
notify yes;
sends notify to all name servers in RR (except itself and SOA master)notify yes;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to x.x.x.x, y.y.y.y and all name servers in RR (except itself and SOA master).notify explicit;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to just x.x.x.x, y.y.y.y
add a comment |
Strictly speaking, the master doesn't know that it has slaves, let alone who they are.
All the DNS server in the role of master "knows" is that it's been configured to "master" a zone.
Further configuration tells it how to assemble a list of other nameservers to notify when that zone changes.
The stock bind 9+ config is, I think, for the nameserver to construct the list of notification targets from the list of NS RRs in the mastered zone. The admin can add to that list with the also-notify config thingy. The admin can also change the behavior with the "notify" thingy.
So, you could say that a master learns how to "knows its slaves" from it's configuration and that most of that time, that means all the NS records in the zone.
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f381920%2fbind-master-slaves-and-notify%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You've two options in your master's BIND config for a given zone:
notify yes
- will send notifications to all of the published NS records for the domain.
notify explicit
- will send notifications only to those IPs listed in the also-notify
configuration.
In either case, the slaves must be configured with allow-notify
that accepts these notifications from the master's IP.
Once it accepts a NOTIFY, the slave then sends an IXFR or AXFR request back to the master. If the master is 'hidden' (ie: not published as an NS record for the domain), then this doesn't matter. The slaves have to be configured with the master's IP directly, so they should know where to send the request.
So long as the master's firewall allows the requests in from the slaves and the master is configured to allow zone transfers, then the salves can retreive their configuration. (This is the part you have to lock down to prevent unauthorized name servers scraping your zone files)
This is not what I question. First things first. The notify yes is the DEFAULT option on bind 9.x, so you do not want to set it. Your answer is about how notify works AFTER the slave receives that from Master. What I ask, is completely different. I ask how master KNOWS which servers are slaves. Slaves DO know their master, but you do not set anywhere in the configuration file the secondary servers. So, Master DOES NOT KNOW EXPLICITLY his slaves. So, the question is still unanswered.
– Peter
Apr 22 '12 at 9:04
8
With the default setting (notify yes
) the master doesn't have to have the slaves explicitly configured, It simply sends a NOTIFY to eachNS
record for the domain. (In your terms, the master knows the slaves, because they're right there in the zone file.)
– SmallClanger
Apr 22 '12 at 9:51
2
In that case, I have a problem to solve, because the master does not send NOTIFY to the zone NS...
– Peter
Apr 22 '12 at 14:10
add a comment |
You've two options in your master's BIND config for a given zone:
notify yes
- will send notifications to all of the published NS records for the domain.
notify explicit
- will send notifications only to those IPs listed in the also-notify
configuration.
In either case, the slaves must be configured with allow-notify
that accepts these notifications from the master's IP.
Once it accepts a NOTIFY, the slave then sends an IXFR or AXFR request back to the master. If the master is 'hidden' (ie: not published as an NS record for the domain), then this doesn't matter. The slaves have to be configured with the master's IP directly, so they should know where to send the request.
So long as the master's firewall allows the requests in from the slaves and the master is configured to allow zone transfers, then the salves can retreive their configuration. (This is the part you have to lock down to prevent unauthorized name servers scraping your zone files)
This is not what I question. First things first. The notify yes is the DEFAULT option on bind 9.x, so you do not want to set it. Your answer is about how notify works AFTER the slave receives that from Master. What I ask, is completely different. I ask how master KNOWS which servers are slaves. Slaves DO know their master, but you do not set anywhere in the configuration file the secondary servers. So, Master DOES NOT KNOW EXPLICITLY his slaves. So, the question is still unanswered.
– Peter
Apr 22 '12 at 9:04
8
With the default setting (notify yes
) the master doesn't have to have the slaves explicitly configured, It simply sends a NOTIFY to eachNS
record for the domain. (In your terms, the master knows the slaves, because they're right there in the zone file.)
– SmallClanger
Apr 22 '12 at 9:51
2
In that case, I have a problem to solve, because the master does not send NOTIFY to the zone NS...
– Peter
Apr 22 '12 at 14:10
add a comment |
You've two options in your master's BIND config for a given zone:
notify yes
- will send notifications to all of the published NS records for the domain.
notify explicit
- will send notifications only to those IPs listed in the also-notify
configuration.
In either case, the slaves must be configured with allow-notify
that accepts these notifications from the master's IP.
Once it accepts a NOTIFY, the slave then sends an IXFR or AXFR request back to the master. If the master is 'hidden' (ie: not published as an NS record for the domain), then this doesn't matter. The slaves have to be configured with the master's IP directly, so they should know where to send the request.
So long as the master's firewall allows the requests in from the slaves and the master is configured to allow zone transfers, then the salves can retreive their configuration. (This is the part you have to lock down to prevent unauthorized name servers scraping your zone files)
You've two options in your master's BIND config for a given zone:
notify yes
- will send notifications to all of the published NS records for the domain.
notify explicit
- will send notifications only to those IPs listed in the also-notify
configuration.
In either case, the slaves must be configured with allow-notify
that accepts these notifications from the master's IP.
Once it accepts a NOTIFY, the slave then sends an IXFR or AXFR request back to the master. If the master is 'hidden' (ie: not published as an NS record for the domain), then this doesn't matter. The slaves have to be configured with the master's IP directly, so they should know where to send the request.
So long as the master's firewall allows the requests in from the slaves and the master is configured to allow zone transfers, then the salves can retreive their configuration. (This is the part you have to lock down to prevent unauthorized name servers scraping your zone files)
answered Apr 22 '12 at 8:01
SmallClangerSmallClanger
7,80912443
7,80912443
This is not what I question. First things first. The notify yes is the DEFAULT option on bind 9.x, so you do not want to set it. Your answer is about how notify works AFTER the slave receives that from Master. What I ask, is completely different. I ask how master KNOWS which servers are slaves. Slaves DO know their master, but you do not set anywhere in the configuration file the secondary servers. So, Master DOES NOT KNOW EXPLICITLY his slaves. So, the question is still unanswered.
– Peter
Apr 22 '12 at 9:04
8
With the default setting (notify yes
) the master doesn't have to have the slaves explicitly configured, It simply sends a NOTIFY to eachNS
record for the domain. (In your terms, the master knows the slaves, because they're right there in the zone file.)
– SmallClanger
Apr 22 '12 at 9:51
2
In that case, I have a problem to solve, because the master does not send NOTIFY to the zone NS...
– Peter
Apr 22 '12 at 14:10
add a comment |
This is not what I question. First things first. The notify yes is the DEFAULT option on bind 9.x, so you do not want to set it. Your answer is about how notify works AFTER the slave receives that from Master. What I ask, is completely different. I ask how master KNOWS which servers are slaves. Slaves DO know their master, but you do not set anywhere in the configuration file the secondary servers. So, Master DOES NOT KNOW EXPLICITLY his slaves. So, the question is still unanswered.
– Peter
Apr 22 '12 at 9:04
8
With the default setting (notify yes
) the master doesn't have to have the slaves explicitly configured, It simply sends a NOTIFY to eachNS
record for the domain. (In your terms, the master knows the slaves, because they're right there in the zone file.)
– SmallClanger
Apr 22 '12 at 9:51
2
In that case, I have a problem to solve, because the master does not send NOTIFY to the zone NS...
– Peter
Apr 22 '12 at 14:10
This is not what I question. First things first. The notify yes is the DEFAULT option on bind 9.x, so you do not want to set it. Your answer is about how notify works AFTER the slave receives that from Master. What I ask, is completely different. I ask how master KNOWS which servers are slaves. Slaves DO know their master, but you do not set anywhere in the configuration file the secondary servers. So, Master DOES NOT KNOW EXPLICITLY his slaves. So, the question is still unanswered.
– Peter
Apr 22 '12 at 9:04
This is not what I question. First things first. The notify yes is the DEFAULT option on bind 9.x, so you do not want to set it. Your answer is about how notify works AFTER the slave receives that from Master. What I ask, is completely different. I ask how master KNOWS which servers are slaves. Slaves DO know their master, but you do not set anywhere in the configuration file the secondary servers. So, Master DOES NOT KNOW EXPLICITLY his slaves. So, the question is still unanswered.
– Peter
Apr 22 '12 at 9:04
8
8
With the default setting (
notify yes
) the master doesn't have to have the slaves explicitly configured, It simply sends a NOTIFY to each NS
record for the domain. (In your terms, the master knows the slaves, because they're right there in the zone file.)– SmallClanger
Apr 22 '12 at 9:51
With the default setting (
notify yes
) the master doesn't have to have the slaves explicitly configured, It simply sends a NOTIFY to each NS
record for the domain. (In your terms, the master knows the slaves, because they're right there in the zone file.)– SmallClanger
Apr 22 '12 at 9:51
2
2
In that case, I have a problem to solve, because the master does not send NOTIFY to the zone NS...
– Peter
Apr 22 '12 at 14:10
In that case, I have a problem to solve, because the master does not send NOTIFY to the zone NS...
– Peter
Apr 22 '12 at 14:10
add a comment |
Bind DNS sends notify to all name servers expect itself and master nameserver in SOA.
notify yes;
sends notify to all name servers in RR (except itself and SOA master)notify yes;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to x.x.x.x, y.y.y.y and all name servers in RR (except itself and SOA master).notify explicit;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to just x.x.x.x, y.y.y.y
add a comment |
Bind DNS sends notify to all name servers expect itself and master nameserver in SOA.
notify yes;
sends notify to all name servers in RR (except itself and SOA master)notify yes;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to x.x.x.x, y.y.y.y and all name servers in RR (except itself and SOA master).notify explicit;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to just x.x.x.x, y.y.y.y
add a comment |
Bind DNS sends notify to all name servers expect itself and master nameserver in SOA.
notify yes;
sends notify to all name servers in RR (except itself and SOA master)notify yes;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to x.x.x.x, y.y.y.y and all name servers in RR (except itself and SOA master).notify explicit;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to just x.x.x.x, y.y.y.y
Bind DNS sends notify to all name servers expect itself and master nameserver in SOA.
notify yes;
sends notify to all name servers in RR (except itself and SOA master)notify yes;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to x.x.x.x, y.y.y.y and all name servers in RR (except itself and SOA master).notify explicit;
also-notify x.x.x.x; y.y.y.y; ;
sends notify to just x.x.x.x, y.y.y.y
answered Oct 2 '18 at 10:58
Akshay CAkshay C
312
312
add a comment |
add a comment |
Strictly speaking, the master doesn't know that it has slaves, let alone who they are.
All the DNS server in the role of master "knows" is that it's been configured to "master" a zone.
Further configuration tells it how to assemble a list of other nameservers to notify when that zone changes.
The stock bind 9+ config is, I think, for the nameserver to construct the list of notification targets from the list of NS RRs in the mastered zone. The admin can add to that list with the also-notify config thingy. The admin can also change the behavior with the "notify" thingy.
So, you could say that a master learns how to "knows its slaves" from it's configuration and that most of that time, that means all the NS records in the zone.
add a comment |
Strictly speaking, the master doesn't know that it has slaves, let alone who they are.
All the DNS server in the role of master "knows" is that it's been configured to "master" a zone.
Further configuration tells it how to assemble a list of other nameservers to notify when that zone changes.
The stock bind 9+ config is, I think, for the nameserver to construct the list of notification targets from the list of NS RRs in the mastered zone. The admin can add to that list with the also-notify config thingy. The admin can also change the behavior with the "notify" thingy.
So, you could say that a master learns how to "knows its slaves" from it's configuration and that most of that time, that means all the NS records in the zone.
add a comment |
Strictly speaking, the master doesn't know that it has slaves, let alone who they are.
All the DNS server in the role of master "knows" is that it's been configured to "master" a zone.
Further configuration tells it how to assemble a list of other nameservers to notify when that zone changes.
The stock bind 9+ config is, I think, for the nameserver to construct the list of notification targets from the list of NS RRs in the mastered zone. The admin can add to that list with the also-notify config thingy. The admin can also change the behavior with the "notify" thingy.
So, you could say that a master learns how to "knows its slaves" from it's configuration and that most of that time, that means all the NS records in the zone.
Strictly speaking, the master doesn't know that it has slaves, let alone who they are.
All the DNS server in the role of master "knows" is that it's been configured to "master" a zone.
Further configuration tells it how to assemble a list of other nameservers to notify when that zone changes.
The stock bind 9+ config is, I think, for the nameserver to construct the list of notification targets from the list of NS RRs in the mastered zone. The admin can add to that list with the also-notify config thingy. The admin can also change the behavior with the "notify" thingy.
So, you could say that a master learns how to "knows its slaves" from it's configuration and that most of that time, that means all the NS records in the zone.
answered Apr 3 at 19:04
Mike DiehnMike Diehn
27415
27415
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f381920%2fbind-master-slaves-and-notify%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I think I'm experiencing the same issue, I'm using a hidden master, only one of my slaves is being notified, I'm using the standard
notify yes
, and both slaves are listed as NS records for the domains– Rob
Jun 7 '12 at 16:09