On 23/08/2019 17:21, Robert A Wooldridge via samba wrote:> On 08/23/2019 10:52 AM, L.P.H. van Belle via samba wrote: >> Hai, >> >> A quick reply, i was almost out of the office here.. >> >> Your config looks ok except one thing. >> >> You can try switching the hosts, like this. >> /etc/nsswitch.conf >> hosts:????????? files dns mdns4_minimal [NOTFOUND=return] >> >> I suggest you verify the dns A PTR NS records of the servers. >> https://wiki.samba.org/index.php/DNS_Administration > Yes, the PTR records are not there and I seem to be having trouble > adding them.? I have servers on 10.10.1.x and workstations on > 10.10.10.x.? How do I add these to the Samba DNS server? >You will need two reversezones, probably? '1.10.10.in-addr.arpa' and '10.10.10.in-addr.arpa', to create them (you may already have one of them): samba-tool dns zonecreate 127.0.0.1 1.10.10.in-addr.arpa -U Administrator samba-tool dns zonecreate 127.0.0.1 10.10.10.in-addr.arpa -U Administrator Run them on the DC. You could create just one reversezone, but adding records gets a slight bit more complicated ;-) Rowland
On 08/23/2019 11:41 AM, Rowland penny via samba wrote:> On 23/08/2019 17:21, Robert A Wooldridge via samba wrote: >> > You will need two reversezones, probably? '1.10.10.in-addr.arpa' and > '10.10.10.in-addr.arpa', to create them (you may already have one of > them): > > samba-tool dns zonecreate 127.0.0.1 1.10.10.in-addr.arpa -U Administrator > > samba-tool dns zonecreate 127.0.0.1 10.10.10.in-addr.arpa -U > AdministratorYes, actually I figured it out and it works now.? How do you create an MX record for the zone?>-- Bob Wooldridge EDM Incorporated
On 23/08/2019 18:00, Robert A Wooldridge via samba wrote:> On 08/23/2019 11:41 AM, Rowland penny via samba wrote: >> On 23/08/2019 17:21, Robert A Wooldridge via samba wrote: >>> >> You will need two reversezones, probably? '1.10.10.in-addr.arpa' and >> '10.10.10.in-addr.arpa', to create them (you may already have one of >> them): >> >> samba-tool dns zonecreate 127.0.0.1 1.10.10.in-addr.arpa -U >> Administrator >> >> samba-tool dns zonecreate 127.0.0.1 10.10.10.in-addr.arpa -U >> Administrator > Yes, actually I figured it out and it works now.? How do you create an > MX record for the zone? >> >Something like this: samba-tool dns add 127.0.0.1 edm-inc.com @ MX "mailserver.edm-inc.com 10" That will add an MX record to the 'edm-inc.com' zone SOA for 'mailserver.edm-inc.com' with a preference of 10. Just adapt it for whatever zone and your mailserver, Rowland