Re: Possibility of using views to properly return appropriate IP address for hostname based on requestor subnet?

2023-06-28 Thread Greg Choules via bind-users
Hi Ubence. Firstly, may we see your configs please. It's impossible to say exactly what's going on from a human description. Secondly, views and different answers. Yes it *is* entirely possible to use views to provide answers based on client IP - `match-clients. I would start with the most

Re: Master file permission denied

2023-06-28 Thread Mark Andrews
Show us the current permissions now that you have fixed them including every directory from the root. The permissions you had originally where wrong and wouldn’t normally be that way. Something or someone changed them. It may have happened again. We can’t see what you see so you have to show

Re: Master file permission denied

2023-06-28 Thread Daniel A. Rodriguez via bind-users
Exactly the same El 28 de junio de 2023 6:50:26 p. m. GMT-03:00, Mark Andrews escribió: >The *exact* same error, word for word, or a different permission denied? > >> On 29 Jun 2023, at 06:35, Daniel Armando Rodriguez via bind-users >> wrote: >> >> However, as soon as I added this >> >>

Possibility of using views to properly return appropriate IP address for hostname based on requestor subnet?

2023-06-28 Thread Ubence Quevedo
Hi, I have two domains configured, a production and lab/testing domain [let's say domain.com and lab.domain.com]. I have a few different networks configured [192.168.10.0/24 and 10.32.10.0/24]. I have a system that has two network cards on both the 192.168.10.X network and 10.32.10.X network.

Re: Master file permission denied

2023-06-28 Thread Mark Andrews
The *exact* same error, word for word, or a different permission denied? > On 29 Jun 2023, at 06:35, Daniel Armando Rodriguez via bind-users > wrote: > > However, as soon as I added this > > dnssec-policy "default"; > inline-signing yes; > > Error came up again :-( > -- > Visit

Re: Master file permission denied

2023-06-28 Thread Daniel Armando Rodriguez via bind-users
However, as soon as I added this dnssec-policy "default"; inline-signing yes; Error came up again :-( -- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us

Re: Master file permission denied

2023-06-28 Thread Daniel Armando Rodriguez via bind-users
El 2023-06-28 16:00, Anand Buddhdev escribió: On 28/06/2023 20:44, Daniel Armando Rodriguez via bind-users wrote: Hi Daniel, [snip] # ls -alh /etc/bind/zonas/ drw-r-S--- 2 bind bind 4,0K jun 28 14:55 . drwxr-sr-x 3 root bind 4,0K jun 28 15:06 .. -rwxr-xr-- 1 bind bind  323 ene 16 10:59

Re: Master file permission denied

2023-06-28 Thread Daniel Armando Rodriguez via bind-users
Certainly, you pointed in the right direction :-) Previously I've had setted up setgid bit to /etc/bind/zonas/ due to complains from apparmor. Now, I've removed that bit and added an override to such folder in /etc/apparmor.d/local/usr.sbin.named. Et voila! However, I wonder the reason

Re: Master file permission denied

2023-06-28 Thread Anand Buddhdev
On 28/06/2023 20:44, Daniel Armando Rodriguez via bind-users wrote: Hi Daniel, [snip] # ls -alh /etc/bind/zonas/ drw-r-S--- 2 bind bind 4,0K jun 28 14:55 . drwxr-sr-x 3 root bind 4,0K jun 28 15:06 .. -rwxr-xr-- 1 bind bind  323 ene 16 10:59 133.45.210.170.in-addr.arpa -rwxr-xr-- 1 bind bind 

Re: Master file permission denied

2023-06-28 Thread Danilo Godec via bind-users
Hello, I think chmod ug+x /etc/bind/zonas/ should solve the issue by giving the owner (bind) and the group (bind) permissions to enter the directory.   Danilo On

Master file permission denied

2023-06-28 Thread Daniel Armando Rodriguez via bind-users
Before I start describing the problem, I should mention that this incident started when I tried to enable DNSSEC. I understand that it is unrelated, but previously everything was working correctly. I'm using Debian 11 and Bind 9.18 from backports This is current config # named-checkconf