Hello Jason,
I'm not sure I got your problems right.
So basically you had 2 bind9 server (1 master, 1 slave). you want to add
to your current config what is needed to make it work with samba4.
So you added your zone info as generated by samba4 in the bind9 master
right ?
Have you checked that it's all ok ?
As for the slave here is my configuration the most important is the
allow-update-forwarding that well allow the slave to forward the ddns
request to the master.
zone "home.matws.net" {
type slave;
file "/etc/bind/dynamic/home.matws.net";
journal "/etc/bind/dynamic/home.matws.net.jnl";
masters { 10.54.128.254; };
check-names ignore;
allow-update-forwarding { 10.54.128.0/23; };
};
/* Reverse */
zone "128.54.10.in-addr.arpa" {
type slave;
file "/etc/bind/dynamic/db.128.54.10";
journal "/etc/bind/dynamic/db.128.54.10.jnl";
allow-update-forwarding { 10.54.128.0/23; };
masters { 10.54.128.254; };
grant *.RU wildcard *.128.54.10.in-addr.arpa. PTR;
grant ares.home.matws.net wildcard *.128.54.10.in-addr.arpa. PTR;
};*/
};
Matthieu.
On 18/03/2011 12:12, Daniel Müller wrote:
I do not know what you are doing with bind, but my bind9 slave zone looks
like that:
$ORIGIN .
$TTL 604800 ; 1 week
134.168.192.in-addr.arpa IN SOA tuebingen.tst.loc. root.tuebingen.tst.loc. (
1 ; serial
172800 ; refresh (2 days)
14400 ; retry (4 hours)
3628800 ; expire (6 weeks)
604800 ; minimum (1 week)
)
NS node1.tuebingen.tst.loc.
$ORIGIN 134.168.192.in-addr.arpa.
27 PTR node1.tuebingen.tst.loc.
28 PTR node2.tuebingen.tst.loc.
-----------------------------------------------
EDV Daniel Müller
Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: [email protected]
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Jason Buller
Gesendet: Mittwoch, 16. März 2011 05:31
An: [email protected]
Betreff: [Samba] Authoritative DNS Server
When I setup Samba4 I already had a master and slave bind9 server so I
copied the relevant dns information to my master server however I don't know
how to make my existing server authoritative for the zone. It will send
notifies to the slave and allow ddns updates but the slave shows this error:
"slave-server named[1187]: client 1.1.1.1#22792: received notify for zone
'domain.local': not authoritative." The other zones are able to transfer to
the slave without problem. I think the relevant bit of the domain zone file
is below, let me know if you need anything else. Not sure if this makes a
difference but fileserver1 actual name is fileserver1.originaldomain.local,
if you ping fileserver1.domain.local it still resolves to the servers IP and
responds.
$ORIGIN .
$TTL 604800 ; 1 week
domain.local IN SOA fileserver1.domain.local.
hostmaster.domain.local. (
2011022040 ; serial
172800 ; refresh (2 days)
14400 ; retry (4 hours)
3628800 ; expire (6 weeks)
604800 ; minimum (1 week)
)
NS fileserver1.jandt.local.
NS jasonbu-desktop.jandt.local.
$TTL 600 ; 10 minutes
A 1.1.1.1
A 1.1.1.2
$ORIGIN domain.local.
--
Matthieu Patou
Samba Team http://samba.org
Private repo http://git.samba.org/?p=mat/samba.git;a=summary
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba