[Dnsmasq-discuss] having 2 dnsmasq in redundacy + zone transfer

2023-11-10 Thread Doff via Dnsmasq-discuss

Hi gurus,

I appologize in advance for my poor english, I'm not a native speaker.


I'm trying to setup a double dnsmasq configuration acting this way : 
having one dnsmasq as an authoritative server for a zone, and a second 
one being a slave server.


I'd like to configure these to have zone transfer between them.

The first part, the one with zone authority and zone transfer to my ISP 
works fine. Now, (for fun), I'd like to have another dnsmasq running, as 
a slave system, to see if I can replace my ISP dns.


So, I've been able to configure my primary dnsmasq system with 
auth-sec-servers and auth-peer, but the slave one, I couldn't find any 
documentation on how to set this correctly.


I've dug the internet (maybe not enough) but this "slave" config is 
still a mystery.


Would anyone have a hint to achieve this ?

Thanks in advance

Doff


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] dnsmasq with Active Directory

2023-11-10 Thread Rick Gutierrez
Hi list, A few days ago I configured dnsmasq so that my internal users
would use it as the main DNS, but I have some problems, if I try to
connect a PC with Windows to the active directory it cannot do so.

my Active Directory is windows server 2019 and it is my main dns, for
computers with windows 10/11.

This is the configuration for dnsmasq to work with active directory:

more /etc/dnsmasq.d/ad2019.domain.conf

# forward lookups
server=/ad2019.domain.com/172.16.8.32

# PTR/reverse lookups
server=/16.172.in-addr.arpa/172.16.8.32
server=/17.172.in-addr.arpa/172.16.8.32
server=/168.192.in-addr.arpa/172.16.8.32

ip active directory: 172.16.8.32

config of file dnsmasq.conf

local=/domain.com
domain=domain.com

any help or experience in this scenario?

regards!


-- 
rickygm

http://gnuforever.homelinux.com

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] dnsmasq page fault

2023-11-10 Thread e9hack

Hi,

it looks like that commit 416390f9962e455769aa8ab6df0e105cae07ae55 (Add 
--max-tcp-connections option to make this dynamically configurable.) is 
incomplete. It occurs a page fault in dnsmasc.c line 1050 (initialisation of 
daemon->tcp_pipes with -1).

Regards,
Hartmut

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] dnsmasq page fault

2023-11-10 Thread Geert Stappers
On Fri, Nov 10, 2023 at 07:41:59PM +0100, e9hack wrote:
> Hi,
> 
> it looks like that commit 416390f9962e455769aa8ab6df0e105cae07ae55 (Add
> --max-tcp-connections option to make this dynamically configurable.) is
> incomplete.

https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=416390f9962e455769aa8ab6df0e105cae07ae55;hp=24804b7431f6ace109e91876aef859a751bf3147

> It occurs a page fault in dnsmasc.c line 1050 (initialisation of
> daemon->tcp_pipes with -1).


Oops.

 
> Regards,
> Hartmut


Thanks for reporting.


Groeten
Geert Stappers
-- 
Silence is hard to parse

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] dnsmasq page fault

2023-11-10 Thread e9hack

Hi,

I think tcp_init() must be execute outside of if (daemon->port != 0) {}. I've 
two instances running. The crashing instance acts as dhcp server only.

Regards,
Hartmut

Am 10.11.2023 um 20:15 schrieb Geert Stappers:

On Fri, Nov 10, 2023 at 07:41:59PM +0100, e9hack wrote:

Hi,

it looks like that commit 416390f9962e455769aa8ab6df0e105cae07ae55 (Add
--max-tcp-connections option to make this dynamically configurable.) is
incomplete.


https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=416390f9962e455769aa8ab6df0e105cae07ae55;hp=24804b7431f6ace109e91876aef859a751bf3147


It occurs a page fault in dnsmasc.c line 1050 (initialisation of
daemon->tcp_pipes with -1).



Oops.

  

Regards,
Hartmut



Thanks for reporting.


Groeten
Geert Stappers



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] dnsmasq with Active Directory

2023-11-10 Thread Matus UHLAR - fantomas

On 10.11.23 13:41, Rick Gutierrez wrote:

Hi list, A few days ago I configured dnsmasq so that my internal users
would use it as the main DNS, but I have some problems, if I try to
connect a PC with Windows to the active directory it cannot do so.


AFAIK Active Directory requires/includes DNS and if you use AD, you should 
use AD's DNS servers.


If dnsmasq forwards all requests to AD servers, it COULD work, but
why to have dnsmasq then?

there are still requests that can be changed/responded by dnsmasq, which may 
cause your troubles.



my Active Directory is windows server 2019 and it is my main dns, for
computers with windows 10/11.

This is the configuration for dnsmasq to work with active directory:

more /etc/dnsmasq.d/ad2019.domain.conf

# forward lookups
server=/ad2019.domain.com/172.16.8.32

# PTR/reverse lookups
server=/16.172.in-addr.arpa/172.16.8.32
server=/17.172.in-addr.arpa/172.16.8.32
server=/168.192.in-addr.arpa/172.16.8.32

ip active directory: 172.16.8.32

config of file dnsmasq.conf

local=/domain.com
domain=domain.com

any help or experience in this scenario?



--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"Two words: Windows survives." - Craig Mundie, Microsoft senior strategist
"So does syphillis. Good thing we have penicillin." - Matthew Alton

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] dnsmasq page fault

2023-11-10 Thread Simon Kelley

I just pushed a putative fix. Apologies for missing this.

Simon.


On 10/11/2023 19:46, e9hack wrote:

Hi,

I think tcp_init() must be execute outside of if (daemon->port != 0) {}. 
I've two instances running. The crashing instance acts as dhcp server only.


Regards,
Hartmut

Am 10.11.2023 um 20:15 schrieb Geert Stappers:

On Fri, Nov 10, 2023 at 07:41:59PM +0100, e9hack wrote:

Hi,

it looks like that commit 416390f9962e455769aa8ab6df0e105cae07ae55 (Add
--max-tcp-connections option to make this dynamically configurable.) is
incomplete.


https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=416390f9962e455769aa8ab6df0e105cae07ae55;hp=24804b7431f6ace109e91876aef859a751bf3147


It occurs a page fault in dnsmasc.c line 1050 (initialisation of
daemon->tcp_pipes with -1).



Oops.


Regards,
Hartmut



Thanks for reporting.


Groeten
Geert Stappers



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss



___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss