On 07/01/19 7:04 PM, Rowland Penny via samba wrote:> On Mon, 7 Jan 2019 17:55:59 +0530 > Biswajit Banerjee via samba <samba at lists.samba.org> wrote: > >> Hi >> >> I have Samba4 AD ( V4.8 )environment with Bind 9 on the same server >> and want to have DNS updated from the DHCP ISC server( External) . As >> we see the the host records and reverse records do not get updated >> dynamically on the Bind / DNS . Is it not the functionality to have >> DNS updated as soon as clients log in . >> >> If not , then probably we have to follow >> https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9 >> to get it done . correct me if am wrong ? > If you have any Unix clients (other than the DC which will have a fixed > ipaddress) then they will not be able to update their records in AD, > Windows clients can.I have only windows client still i cannot see there updated records in DNS What can be reason .>> This document talks about DHCP ISc on the same server , can we some >> one help me to have it deployed with external DHCP server . > Well, that is how I run it, but it should work when run on another > computer, provided that the computer is in the same dns domain, it > would also have to be a Unix domain member. You will have to modify the > script, find the lines 'server 127.0.0.1' and change '127.0.0.1' to > your DC's ipaddress.In case of pure windows environment do you think this is required ? TIA> Rowland > > >
On Mon, 7 Jan 2019 19:25:04 +0530 Biswajit Banerjee via samba <samba at lists.samba.org> wrote:> > On 07/01/19 7:04 PM, Rowland Penny via samba wrote: > > On Mon, 7 Jan 2019 17:55:59 +0530 > > Biswajit Banerjee via samba <samba at lists.samba.org> wrote: > > > >> Hi > >> > >> I have Samba4 AD ( V4.8 )environment with Bind 9 on the same server > >> and want to have DNS updated from the DHCP ISC server( External) . > >> As we see the the host records and reverse records do not get > >> updated dynamically on the Bind / DNS . Is it not the > >> functionality to have DNS updated as soon as clients log in . > >> > >> If not , then probably we have to follow > >> https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_records_with_BIND9 > >> to get it done . correct me if am wrong ? > > If you have any Unix clients (other than the DC which will have a > > fixed ipaddress) then they will not be able to update their records > > in AD, Windows clients can. > > I have only windows client still i cannot see there updated records > in DNS > > What can be reason .Are you using a GPO that tells them not to update their records ? or are the clients manually set to not update their records ? Is there anything in syslog ?> > > >> This document talks about DHCP ISc on the same server , can we > >> some one help me to have it deployed with external DHCP server . > > Well, that is how I run it, but it should work when run on another > > computer, provided that the computer is in the same dns domain, it > > would also have to be a Unix domain member. You will have to modify > > the script, find the lines 'server 127.0.0.1' and change > > '127.0.0.1' to your DC's ipaddress. > > In case of pure windows environment do you think this is required ?No it isn't, the Windows dhcp clients should be able to update their own dns records. Rowland
Hai, Did you set "auth-nxdomain yes;" in bind config ( for me on debian named.conf.options )? And in windows, this should be enabled by default, check but check if .. 'register this connection ' s address in DNS' is selected and 'Use this connection ' s DNS suffix' in DNS registration is also selected Anything in the windows eventlogs. ( clear eventlogs first ) Run : ipconfig /release ipconfig /renew gpupdate Now, what is in the windows event logs. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Rowland Penny via samba > Verzonden: maandag 7 januari 2019 15:07 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] DNS (Bind )update via external DHCP ISC > > On Mon, 7 Jan 2019 19:25:04 +0530 > Biswajit Banerjee via samba <samba at lists.samba.org> wrote: > > > > > On 07/01/19 7:04 PM, Rowland Penny via samba wrote: > > > On Mon, 7 Jan 2019 17:55:59 +0530 > > > Biswajit Banerjee via samba <samba at lists.samba.org> wrote: > > > > > >> Hi > > >> > > >> I have Samba4 AD ( V4.8 )environment with Bind 9 on the > same server > > >> and want to have DNS updated from the DHCP ISC server( > External) . > > >> As we see the the host records and reverse records do not get > > >> updated dynamically on the Bind / DNS . Is it not the > > >> functionality to have DNS updated as soon as clients log in . > > >> > > >> If not , then probably we have to follow > > >> > https://wiki.samba.org/index.php/Configure_DHCP_to_update_DNS_ > records_with_BIND9 > > >> to get it done . correct me if am wrong ? > > > If you have any Unix clients (other than the DC which will have a > > > fixed ipaddress) then they will not be able to update > their records > > > in AD, Windows clients can. > > > > I have only windows client still i cannot see there updated records > > in DNS > > > > What can be reason . > > Are you using a GPO that tells them not to update their records ? or > are the clients manually set to not update their records ? > Is there anything in syslog ? > > > > > > > >> This document talks about DHCP ISc on the same server , can we > > >> some one help me to have it deployed with external DHCP server . > > > Well, that is how I run it, but it should work when run on another > > > computer, provided that the computer is in the same dns domain, it > > > would also have to be a Unix domain member. You will have > to modify > > > the script, find the lines 'server 127.0.0.1' and change > > > '127.0.0.1' to your DC's ipaddress. > > > > In case of pure windows environment do you think this is required ? > > No it isn't, the Windows dhcp clients should be able to > update their own > dns records. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On 01/07/2019 07:55 AM, Biswajit Banerjee via samba wrote:> I have only windows client still i cannot see there updated records in DNS > > What can be reason .Where are you looking for the update? ISC DHCP with dynamic updates to BIND will update journal files before the actual zones are updated. To force an actual update of the zone files, you need to run rndc sync -clean -- David C. Rankin, J.D.,P.E.
On Wed, 9 Jan 2019 22:04:09 -0600 "David C. Rankin via samba" <samba at lists.samba.org> wrote:> On 01/07/2019 07:55 AM, Biswajit Banerjee via samba wrote: > > I have only windows client still i cannot see there updated records > > in DNS > > > > What can be reason . > > Where are you looking for the update? ISC DHCP with dynamic updates > to BIND will update journal files before the actual zones are > updated. To force an actual update of the zone files, you need to run > > rndc sync -clean > >Wrong, unless the isc dhcp server is configured to do so, it will not even try to update the dns records in AD. The Windows clients will, if their records are updated by DHCP, try to change their dns records themselves. Rowland
On Thu, 10 Jan 2019 17:33:55 -0600 "David C. Rankin" <drankinatty at suddenlinkmail.com> wrote:> On 01/10/2019 03:00 AM, Rowland Penny via samba wrote: > >> Where are you looking for the update? ISC DHCP with dynamic updates > >> to BIND will update journal files before the actual zones are > >> updated. To force an actual update of the zone files, you need to > >> run > >> > >> rndc sync -clean > >> > >> > > Wrong, unless the isc dhcp server is configured to do so, it will > > not even try to update the dns records in AD. The Windows clients > > will, if their records are updated by DHCP, try to change their dns > > records themselves. > > > > Rowland > > I beg to differ. Notwithstanding AD, simply talking about the > operation of DHCP and BIND, after freezing the zone, the sync -clean > is the proper way to force an update of the BIND zone files. >Yes, but we are talking AD, where the dns zones are stored in AD, you do not use rndc with a Samba AD DC. Rowland