On 14 Jul 2020, at 23:06, Per Weisteen <perw@compute-it.no> wrote:l. At the same time I also need to be able to do a dynamic update from some a= ddresses within the internal range. This worked ok before I had to define my=
=20
=EF=BB=BF Hi
=20
I've a BIND setup with my ISP with two views, one external and one interna=
=20is running BIND 9.11.4.
I'd be very grateful if someone could suggest what I'm doing wrong. My ISP=
=20to add my config via include files.
Due to the ISPs need to have control over the BIND setup I'm just allowed=
=208#64606/key arc-zone2.key: view grus-zone2: updating zone 'pacs.telenor.net/= IN': update failed: rejected by secure update (REFUSED)
=20
Zones.mydomains.config file contains:
=20
=20
include "keys/mydomains-keys.conf";
include "keys/zone1-keys.conf";
include "keys/zone2-keys.conf";
=20
acl external { 10.222.33.0/18; 10.222.44.0/18; };
acl internal { 10.11.0.0/16; 10.12.0.0/16; };
=20
//////
// zone1 and zone2 keys used to ensure correct zone transfer from slave //////
=20
view "external-sites" {
match-clients { !key zone2.key; key zone1.key; external; };
=20
zone "aa.example.net" {
type master;
file "zones.master/aa-view1.example.net";
notify explicit;
also-notify { 10.12.143.56 key zone1.key; };
update-policy {
grant "ext-update.key." name web.aa.example.net. CNAME;
};
};
=20
include "zones.common.config.view1";
=20
}; // End view "external-sites"
=20
view "internal-sites" {
match-clients { !key zone1.key; key zone2.key; internal; localhost; };=
=20
zone "aa.example.net" {
type master;
file "zones.master/aa-view2.example.net";
notify explicit;
also-notify { 10.12.143.56 key zone2.key; };
update-policy {
grant "int-update.key." name web.aa.example.net. CNAME;
};
};
=20
include "zones.common.config.view2";
=20
}; // End view "grus-zone2"
=20
=20
=20
view "default" {
match-clients { any; };
=20
include "zones.common.config.view2";
=20
}; // End view "default"
=20
=20
mydomains-keys.conf file contains :
=20
=20
=20
key ext-update.key. {
algorithm HMAC-SHA512;
secret "secret2";
};
=20
key int-update.key. {
algorithm HMAC-SHA512;
secret "secret3";
};
=20
=20
Error message in /var/log/named/named.log is :
=20
=20
=20
10-Jul-2020 13:27:14.695 update: info: client @0x7f0a200a9b30 10.124.15.14=
=208#64606/key arc-zone2.key: view grus-zone2: updating zone 'pacs.telenor.net/= IN': update failed: rejected by secure update (REFUSED)
10-Jul-2020 13:28:13.883 update: info: client @0x7f0a200a9b30 10.124.15.14=
=20ibe from this list
=20
=20
=20
=20
--=20
Best regards,
Per Weisteen
=20
=20
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscr=
=20. Contact us at https://www.isc.org/contact/ for more information.
ISC funds the development of this software with paid support subscriptions=
=20
=20
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
On 14 Jul 2020, at 16.25, Mark Andrews <marka@isc.org> wrote:=
=20
Include the update keys in the view selection.=20
=20
--=20
Mark Andrews
=20
On 14 Jul 2020, at 23:06, Per Weisteen <perw@compute-it.no> wrote:
=20
Zones.mydomains.config file contains:
=20
=20
include "keys/mydomains-keys.conf";
include "keys/zone1-keys.conf";
include "keys/zone2-keys.conf";
=20
view "external-sites" {
match-clients { !key zone2.key; key zone1.key; external; };
==20
zone "aa.example.net" {
Error message in /var/log/named/named.log is :
=20
=20
10-Jul-2020 13:27:14.695 update: info: client @0x7f0a200a9b30 = 10.124.15.148#64606/key arc-zone2.key: view grus-zone2: updating zone = 'pacs.telenor.net/IN': update
=20
(REFUSED)failed: rejected by secure update (REFUSED)
=20
10-Jul-2020 13:28:13.883 update: info: client @0x7f0a200a9b30 = 10.124.15.148#64606/key arc-zone2.key: view grus-zone2: updating zone = 'pacs.telenor.net/IN': update failed: rejected by secure update =
unsubscribe from this list=20_______________________________________________
=20
=20
=20
=20
--=20
Best regards,
Per Weisteen
=20
=20
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to = unsubscribe from this list
=20
ISC funds the development of this software with paid support = subscriptions. Contact us at https://www.isc.org/contact/ for more = information.
=20
=20
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Please visit https://lists.isc.org/mailman/listinfo/bind-users to =
=20subscriptions. Contact us at https://www.isc.org/contact/ for more = information.
ISC funds the development of this software with paid support =
=20
=20
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Hirnal. At the same time I also need to be able to do a dynamic update from=
I've a BIND setup with my ISP with two views, one external and one inte=
I'd be very grateful if someone could suggest what I'm doing wrong. My =ISP is running BIND 9.11.4.
=C2=A0Due to the ISPs need to have control over the BIND setup I'm just=allowed to add my config via include files.
Zones.mydomains.config file contains:=7D;
include =22keys/mydomains-keys.conf=22;
include =22keys/zone1-keys.conf=22;
include =22keys/zone2-keys.conf=22;
acl external =7B 10.222.33.0/18; 10.222.44.0/18; =7D;
acl internal =7B 10.11.0.0/16; 10.12.0.0/16; =7D;
//////
// zone1 and zone2 keys used to ensure correct zone transfer from slave=
//////
view =22external-sites=22 =7B
match-clients =7B =21key zone2.key; key zone1.key; external; =7D;
zone =22aa.example.net=22 =7B
type master;
file =22zones.master/aa-view1.example.net=22;
notify explicit;
also-notify =7B 10.12.143.56 key zone1.key; =7D;
update-policy =7B
grant =22ext-update.key.=22 name web.aa.example.net. CNAME;
=7D;
=7D;
include =22zones.common.config.view1=22;
=7D; // End view =22external-sites=22
view =22internal-sites=22 =7B
match-clients =7B =21key zone1.key; key zone2.key; internal; localhost;=
zone =22aa.example.net=22 =7B15.148=2364606/key arc-zone2.key: view grus-zone2: updating zone 'pacs.te= lenor.net/IN': update failed: rejected by secure update (RE=46USED)
type master;
file =22zones.master/aa-view2.example.net=22;
notify explicit;
also-notify =7B 10.12.143.56 key zone2.key; =7D;
update-policy =7B
grant =22int-update.key.=22 name web.aa.example.net. CNAME;
=7D;
=7D;
include =22zones.common.config.view2=22;
=7D; // End view =22grus-zone2=22
view =22default=22 =7B
match-clients =7B any; =7D;
include =22zones.common.config.view2=22;
=7D; // End view =22default=22
mydomains-keys.conf file contains :
key ext-update.key. =7B
algorithm HMAC-SHA512;
secret =22secret2=22;
=7D;
key int-update.key. =7B
algorithm HMAC-SHA512;
secret =22secret3=22;
=7D;
Error message in /var/log/named/named.log is :
10-Jul-2020 13:27:14.695 update: info: client =400x7f0a200a9b30 10.124.=
10-Jul-2020 13:28:13.883 update: info: client =400x7f0a200a9b30 10.124.=15.148=2364606/key arc-zone2.key: view grus-zone2: updating zone 'pacs.te= lenor.net/IN': update failed: rejected by secure update (RE=46USED)
--
Best regards,
Per Weisteen
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F==5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsub=scribe from this list
ISC funds the development of this software with paid support subscripti=ons. Contact us at https://www.isc.org/contact/ for more information.
bind-users mailing list
bind-users=40lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
在 2020年7月14日 +0800 PM9:06,Per Weisteen <perw@compute-it.no>,写道:
Hi
I've a BIND setup with my ISP with two views, one external and one
internal. At the same time I also need to be able to do a dynamic
update from some addresses within the internal range. This worked ok
before I had to define my two views.
I'd be very grateful if someone could suggest what I'm doing wrong.
My ISP is running BIND 9.11.4.
Due to the ISPs need to have control over the BIND setup I'm just
allowed to add my config via include files.
Zones.mydomains.config file contains:
include "keys/mydomains-keys.conf";
include "keys/zone1-keys.conf";
include "keys/zone2-keys.conf";
acl external { 10.222.33.0/18; 10.222.44.0/18; };
acl internal { 10.11.0.0/16; 10.12.0.0/16; };
//////
// zone1 and zone2 keys used to ensure correct zone transfer from slave
//////
view "external-sites" {
match-clients { !key zone2.key; key zone1.key; external; };
zone "aa.example.net" {
type master;
file "zones.master/aa-view1.example.net";
notify explicit;
also-notify { 10.12.143.56 key zone1.key; };
update-policy {
grant "ext-update.key." name web.aa.example.net. CNAME;
};
};
include "zones.common.config.view1";
}; // End view "external-sites"
view "internal-sites" {
match-clients { !key zone1.key; key zone2.key; internal; localhost; };
zone "aa.example.net" {
type master;
file "zones.master/aa-view2.example.net";
notify explicit;
also-notify { 10.12.143.56 key zone2.key; };
update-policy {
grant "int-update.key." name web.aa.example.net. CNAME;
};
};
include "zones.common.config.view2";
}; // End view "grus-zone2"
view "default" {
match-clients { any; };
include "zones.common.config.view2";
}; // End view "default"
mydomains-keys.conf file contains :
key ext-update.key. {
algorithm HMAC-SHA512;
secret "secret2";
};
key int-update.key. {
algorithm HMAC-SHA512;
secret "secret3";
};
Error message in /var/log/named/named.log is :
10-Jul-2020 13:27:14.695 update: info: client @0x7f0a200a9b30
10.124.15.148#64606/key arc-zone2.key: view grus-zone2: updating zone
'pacs.telenor.net/IN': update failed: rejected by secure update (REFUSED)
10-Jul-2020 13:28:13.883 update: info: client @0x7f0a200a9b30
10.124.15.148#64606/key arc-zone2.key: view grus-zone2: updating zone
'pacs.telenor.net/IN': update failed: rejected by secure update (REFUSED)
It seems that you have used a key named arc-zone2.key for updating but
only
allow int-update.key for updating in configuration?
--
Best regards,
Per Weisteen
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to
unsubscribe from this list
ISC funds the development of this software with paid support
subscriptions. Contact us at https://www.isc.org/contact/ for more
information.
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
Zhiyong Cheng
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 991 |
Nodes: | 10 (0 / 10) |
Uptime: | 146:07:35 |
Calls: | 12,962 |
Files: | 186,574 |
Messages: | 3,266,537 |