Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - B8emg

Pages: [1]
1
Installation and Upgrades / Re: VPN Client cannot resolv external urls
« on: November 25, 2019, 06:15:53 am »
Proper way of doing that is editing /etc/zentyal/dns.conf and setting intnets to fit your needs.

# Internal networks allowed to do recursive queries
# to Zentyal DNS caching server. Local networks are already
# allowed and this setting is intended to networks
# reachables through static routes.
# Example: intnets = 192.168.99.0/24,192.168.98.0/24
intnets =

2
Installation and Upgrades / Re: DNS, DHCP, Samba Dynamic Issues
« on: November 25, 2019, 04:17:16 am »
I wonder if it's because of the issue I have raised herer - https://forum.zentyal.org/index.php/topic,34771.0.html?
:)

I did a trial in lab and Zentyal 6.0 has managed the change of the IP correctly. Did you try to do the process manually?

Code: [Select]
samba-tool dns delete -U admindc --password=admindc 10.5.20.87 lab6.lan ForestDnsZones A 192.168.6.1
samba-tool dns add -U admindc --password=admindc 10.5.20.87 lab6.lan ForestDnsZones A 192.168.6.2
# etc

Cheers!

3
Freshly installed Zentyal 6.1 - manually added DNS records are not applied to zone config, it seems that nsupdate is not executed. Not sure how it's possible, but I see different content of DNS.pm on disk(and in zentyal-dns package) to what exists on github.

root@ad01:~# diff -u DNS.pm /usr/share/perl5/EBox/DNS.pm
--- DNS.pm   2019-11-24 21:41:33.886964519 +1100
+++ /usr/share/perl5/EBox/DNS.pm   2019-10-29 10:02:00.000000000 +1100
@@ -714,12 +714,6 @@
             "dns/named.conf.options.mas",
             \@array);
 
-    # Delete the already removed RR from dynamic and dlz zones
-    $self->_removeDeletedRR();
-
-    # Delete files from no longer used domains
-    $self->_removeDomainsFiles();
-
     # Hash to store the keys indexed by name, storing the secret
     my %keys = ();
     my @domainData = ();
@@ -759,6 +753,12 @@
         }
     }
 
+    # Delete the already removed RR from dynamic and dlz zones
+    $self->_removeDeletedRR();
+
+    # Delete files from no longer used domains
+    $self->_removeDomainsFiles();
+
     my @inaddrs;
     my $generateReverseZones = EBox::Config::boolean('generate_reverse_zones');
     if ($generateReverseZones) {
@@ -965,7 +965,6 @@
                 }
             }
             foreach my $cmd (@{$self->{nsupdateCmds}}) {
-                EBox::Sudo::root($cmd);
                 my ($filename) = $cmd =~ m:\s(.*?)$:;
                 # Remove the temporary file
                 unlink ($filename) if -f $filename;

Pages: [1]