[opensuse] DHCP with update of 2 DNS servers?
Hi, I need to configure a DHCP server in order to update not only the DNS on the same host but also a secondary DNS on a different host of the same subnet (yes, paranoia is at work ... ) . Problem is that only the DNS on the same host is updated. This is the relevant portion of dhcpd.conf: ddns-update-style interim; include "/etc/rndc.key"; zone od.loc. { primary 127.0.0.1; key rndckey; secondary 192.168.0.33; key rndckey; } zone 0.168.192.in-addr.arpa. { primary 127.0.0.1; key rndckey; secondary 192.168.0.33; key rndckey; } A manual nsupdate from the terminal works correctly. Can anyone tell me what options I need to add or change, please? Thanks, Nico -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 05.05.2008 at 14:18, Nico Sabbi <Nicola.Sabbi@poste.it> wrote: Hi, I need to configure a DHCP server in order to update not only the DNS on the same host but also a secondary DNS on a different host of the same subnet (yes, paranoia is at work ... ) . Problem is that only the DNS on the same host is updated.
I think first of all you should not try it. Why not use the DNS synchronization mechanism which is meant for such cases? Having two 'masters' of a zone is bad by design in my opinion. Go for a typical one-master-n-slave(s) system. Dominique -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 05/05/2008 07:18 PM, Nico Sabbi wrote:
Hi, I need to configure a DHCP server in order to update not only the DNS on the same host but also a secondary DNS on a different host of the same subnet (yes, paranoia is at work ... ) . Problem is that only the DNS on the same host is updated.
This is the relevant portion of dhcpd.conf:
ddns-update-style interim; include "/etc/rndc.key"; zone od.loc. { primary 127.0.0.1; key rndckey;
secondary 192.168.0.33; key rndckey; }
zone 0.168.192.in-addr.arpa. { primary 127.0.0.1; key rndckey;
secondary 192.168.0.33; key rndckey; }
A manual nsupdate from the terminal works correctly.
From the server to the secondary DNS? Your secondary DNS allows updates from the server? Firewalls are not blocking anything? /etc/name.d/rndc-access.conf allows access to the key for the secondary DNS? -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 05 May 2008 13:36:39 Joe Morris wrote:
On 05/05/2008 07:18 PM, Nico Sabbi wrote:
Hi, I need to configure a DHCP server in order to update not only the DNS on the same host but also a secondary DNS on a different host of the same subnet (yes, paranoia is at work ... ) . Problem is that only the DNS on the same host is updated.
This is the relevant portion of dhcpd.conf:
ddns-update-style interim; include "/etc/rndc.key"; zone od.loc. { primary 127.0.0.1; key rndckey;
secondary 192.168.0.33; key rndckey; }
zone 0.168.192.in-addr.arpa. { primary 127.0.0.1; key rndckey;
secondary 192.168.0.33; key rndckey; }
A manual nsupdate from the terminal works correctly.
From the server to the secondary DNS?
yes
Your secondary DNS allows updates from the server?
yes, tested with nsupdate
Firewalls are not blocking anything?
none
/etc/name.d/rndc-access.conf allows access to the key for the secondary DNS?
a+r
Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 05.05.2008 at 16:05, Nico Sabbi <Nicola.Sabbi@poste.it> wrote: yes
Your secondary DNS allows updates from the server?
Do you actually have 'notify: yes' in your named.conf? Otherwise the secondary is only polling for changes but will never be informed by the master. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Dominique Leuenberger wrote:
On 05.05.2008 at 16:05, Nico Sabbi <Nicola.Sabbi@poste.it> wrote: yes
Your secondary DNS allows updates from the server?
Do you actually have 'notify: yes' in your named.conf? Otherwise the secondary is only polling for changes but will never be informed by the master.
Just a little clean up on this thread: From Bind9ARM: (/usr/share/doc/packages/bind/arm/Bv9ARM.ch06.html#boolean_options) <quote> notify If yes (the default), DNS NOTIFY messages are sent when a zone the server is authoritative for changes, see the section called "Notify". The messages are sent to the servers listed in the zone's NS records (except the master server identified in the SOA MNAME field), and to any servers listed in the also-notify option. If master-only, notifies are only sent for master zones. If explicit, notifies are sent only to servers explicitly listed using also-notify. If no, no notifies are sent. The notify option may also be specified in the zone statement, in which case it overrides the options notify statement. It would only be necessary to turn off this option if it caused slaves to crash. </quote> So unless you have set notify = no, it is on by default. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
David C. Rankin
-
Dominique Leuenberger
-
Joe Morris
-
Nico Sabbi