[Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-15 Thread Matus UHLAR - fantomas
Hello, I have problems configuring static DHCP using /etc/hosts and /etc/ethers. It seems that dnsmasq is ignoring /etc/hosts when dns server is disabled via "-p 0" option. Can anyone confirm? If I'm right, is this bug or a feature? Thanks -- Matus UHLAR - fantomas, uh...@fan

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Matus UHLAR - fantomas
On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: I have problems configuring static DHCP using /etc/hosts and /etc/ethers. It seems that dnsmasq is ignoring /etc/hosts when dns server is disabled via "-p 0" option. Can anyone confirm? If I'm right, i

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-05-21 Thread Matus UHLAR - fantomas
On Thu, May 21, 2020 at 03:35:24PM +0200, Matus UHLAR - fantomas wrote: > On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: > > I have problems configuring static DHCP using /etc/hosts and /etc/ethers. > > It seems that dnsmasq is ignoring /etc/hosts whe

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-06-01 Thread Matus UHLAR - fantomas
On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: > I have problems configuring static DHCP using /etc/hosts and /etc/ethers. > It seems that dnsmasq is ignoring /etc/hosts when dns server is disabled > via "-p 0" option. > > Can anyone confirm? &g

Re: [Dnsmasq-discuss] dnsmasq doesn't pick up search domains

2020-06-04 Thread Matus UHLAR - fantomas
fqn works mybox.intranet.somedomain.edu. please explain. try the --domain option. note that usually adding .domain is not a job of DNS server, but a job of system resolver. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to th

Re: [Dnsmasq-discuss] read /etc/hosts if DNS disabled

2020-06-08 Thread Matus UHLAR - fantomas
Hello, > > > On Fri, May 15, 2020 at 07:53:50PM +0200, Matus UHLAR - fantomas wrote: > > > > I have problems configuring static DHCP using /etc/hosts and /etc/ethers. > > > > It seems that dnsmasq is ignoring /etc/hosts when dns server is disabled > > >

Re: [Dnsmasq-discuss] Per domain Reverse DNS query configuration

2020-07-06 Thread Matus UHLAR - fantomas
name is not known at the time of lookup. -- 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.

Re: [Dnsmasq-discuss] Per domain Reverse DNS query configuration

2020-07-06 Thread Matus UHLAR - fantomas
know where to forward queries to. 10.0.0.0/8 is private IP space, your network admins shouls be able to give you IPs of DNS servers that can resolve reverse DNS. Maybe you get them using DHCP. On Mon, 6 Jul 2020 at 16:00, Matus UHLAR - fantomas wrote: On 06.07.20 09:47, salil GK wrote: >

Re: [Dnsmasq-discuss] Per domain Reverse DNS query configuration

2020-07-11 Thread Matus UHLAR - fantomas
available dns server and go on until it finishes all the available dns servers . No, this apparently will not work properly. The configuration above will provide every request to 1.2.3.4 and requests for "a.com" to 10.20.30.40 all reverse requests will thus be forwarded to 1.

Re: [Dnsmasq-discuss] resolv-conf override does not seem to work for search

2020-08-19 Thread Matus UHLAR - fantomas
avior? the 'search' list is there for clients, not for DNS servers. DNS works with fully qualified domain names. Since dnsmasq is a DNS server, the search list doesn't affect it. I guess no clients don't use other resolv.conf -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http:/

Re: [Dnsmasq-discuss] Can 'addn-hosts' file include CNAME entries?

2020-08-27 Thread Matus UHLAR - fantomas
f everything (in said network), if they want it. -- 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."

Re: [Dnsmasq-discuss] Howto reclaim all dhcp leases after router reboot

2020-09-25 Thread Matus UHLAR - fantomas
2.168.10.1 dhcp-authoritative log-dhcp domain=MyDomain no-resolv stop-dns-rebind server=my.dns.provider.ip -- 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

Re: [Dnsmasq-discuss] DNSMasq slow.

2020-10-01 Thread Matus UHLAR - fantomas
your dnsmasq is not accepting as local -- 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. Emacs is a complicated operating system with

Re: [Dnsmasq-discuss] DNSMasq slow.

2020-10-01 Thread Matus UHLAR - fantomas
for hosts not in /etc/hosts seem to be roughly as long as well. Not sure how to troubleshoot this. Any suggestions would be greatly appreciated. On 01.10.20 11:35, Matus UHLAR - fantomas wrote: running 'tcpdump port 53' could help you find out. I can guess that clients are asking

Re: [Dnsmasq-discuss] dnsmasq forwards "localhost" queries to upstream servers

2020-10-15 Thread Matus UHLAR - fantomas
ies to upstream servers? How can I configure dnsmasq to directly reply to queries to localhost.* ? the query is not for "localhost" but for "localhost.(none).example.local". while it's clearly broken query, it's not on dnsmasq to check. find out who issues those qu

Re: [Dnsmasq-discuss] DNS refused when internet is down

2020-12-01 Thread Matus UHLAR - fantomas
0.201 w1.example.net w1 10.99.0.202 w2.example.net w2 10.99.0.203 w3.example.net w3 It is these addresses that I would expect to be resolved. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tut

Re: [Dnsmasq-discuss] DNS refused when internet is down

2020-12-02 Thread Matus UHLAR - fantomas
onnection to DNS 10.0.0.1 was refused" reply for every query. On 01/12/2020 10:24, Matus UHLAR - fantomas wrote: which server does 10.0.0.1 belong to?  apparently not to your router, as I don't see this address as argument to --listen-address. On 01.12.20 10:52, Duncan Webb wrote: Sor

Re: [Dnsmasq-discuss] DNS refused when internet is down

2020-12-15 Thread Matus UHLAR - fantomas
e.net.   IN  A ;; ANSWER SECTION: s3.example.net.    1   IN  A   10.99.0.103 Trying "s3.example.net" Host s3.example.net not found: 5(REFUSED) Trying "s3.example.net" Host s3.example.net not found: 5(REFUSED) I didn't try the command "host s3 10.99.

Re: [Dnsmasq-discuss] DKIM / DMARC emails.

2021-02-18 Thread Matus UHLAR - fantomas
uires SPF to match header From:. -- 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. I just got lost in though

Re: [Dnsmasq-discuss] DKIM / DMARC emails.

2021-02-19 Thread Matus UHLAR - fantomas
t appears to be trivial to turn both features off, and I can't see any particular reason not to. Anyone object? On 18/02/2021 12:47, Matus UHLAR - fantomas wrote: I personally prefer mailing lists without munging Subject and bodies. however many people seem not to be able to cope with

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2023-01-23 Thread Matus UHLAR - fantomas
ality, since the same behaviour can be configured simply by adding the the addresses to the dhcp-host lines and that works with the existing code even when port=0 is set. My feeling is that the best fix to this is a heads-up in the man page, but I'm happy to entertain arguments to the co

Re: [Dnsmasq-discuss] How to set no gateway

2023-02-24 Thread Matus UHLAR - fantomas
ength option # for all other option numbers. #dhcp-option=3 perhaps this helps -- 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. 42.7 perce

Re: [Dnsmasq-discuss] --server=/#/1.2.3.4 behavior

2023-05-02 Thread Matus UHLAR - fantomas
7;s intentional. -- 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. I don't have lysdexia. The Dog

Re: [Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Matus UHLAR - fantomas
s. you use dhcpd to configure other machines over network, not your own. and, dnsmasq is not dhcpd. While it can act as dhcp server, the same applies as above. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this

Re: [Dnsmasq-discuss] Defending IP address

2023-05-05 Thread Matus UHLAR - fantomas
twork). -- 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. Atheism is a non-prophet organization. ___

Re: [Dnsmasq-discuss] Need help on configuring dnsmasq

2023-05-08 Thread Matus UHLAR - fantomas
re you would search for it: -A, --address=/[/...]/[] ... Note that /etc/hosts and DHCP leases override this for individual names. -- 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

Re: [Dnsmasq-discuss] Need help on configuring dnsmasq

2023-05-08 Thread Matus UHLAR - fantomas
4 for *.example.com as well as example.com, as documented (and presumably as intended). Setting example.com to be 1.2.3.4 in /etc/hosts or similar, and not fiddling around with -A/--address should give the OP the required behaviour. Is that an accurate summation? yes. -- Matus UHLAR - fantoma

Re: [Dnsmasq-discuss] Hello! Also, question about /etc/ethers and /etc/hosts

2023-10-09 Thread Matus UHLAR - fantomas
web search for dhcp.leases file format returns: https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2006q2/000732.html However I have no idea how you came to this problem, you should have version 2.86 installed: https://packages.ubuntu.com/search?keywords=dnsmasq Are you sure that only dnsmasq mo

Re: [Dnsmasq-discuss] Having dnsmasq coexist with other dhcp server

2023-10-18 Thread Matus UHLAR - fantomas
isable dhcp server, but using --no-dhcp-interface= option or --dhcp-alternate-port could hep you. -- 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 rekla

Re: [Dnsmasq-discuss] Having dnsmasq coexist with other dhcp server

2023-10-19 Thread Matus UHLAR - fantomas
27;t think this will help. the problem is that both dnsmasq and kea dhcp server are trying to listen on port 69. -- 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 aku

Re: [Dnsmasq-discuss] Having dnsmasq coexist with other dhcp server

2023-10-19 Thread Matus UHLAR - fantomas
Sent: Thursday, October 19, 2023 at 4:06 PM From: "Matus UHLAR - fantomas" >On Wed Oct 18 09:00:24 UTC 2023, Matus UHLAR wrote: >> I don't see any explicit option to disable dhcp server, but using >> --no-dhcp-interface= option or --dhcp-alternate-port could hep

Re: [Dnsmasq-discuss] Confused about simple subdomain authoritative server (re: home network)

2023-11-06 Thread Matus UHLAR - fantomas
servers specified in dnsmasq.conf, in this case 8.8.4.4 and 8.8.8.8 it could cause troubles if e.g. provider blocks access to these servers. -- 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 ad

Re: [Dnsmasq-discuss] dnsmasq with Active Directory

2023-11-10 Thread Matus UHLAR - fantomas
72.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 N

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
r=/firebaseio.com/8.8.8.8 you can skip this line. -- 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.

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
m not to resolve: address=/*.firebaseio.com/ So why exactly you are complaining it's not resolving when you set it not to resolve? On Monday, 18 March 2024 at 11:12, Matus UHLAR - fantomas wrote: On 18.03.24 09:41, Elias LA via Dnsmasq-discuss wrote: > In mydnsmasq.conffile, I have either one

Re: [Dnsmasq-discuss] Question about behaviour of '#' symbol

2024-03-18 Thread Matus UHLAR - fantomas
aseio.com/8.8.8.8 > > > address=/*.firebaseio.com/ > > > > > > Running `dig firebaseio.com` using Set 1 gives local address, but using > > > `Set 2` give a valid server IP address. Why does not the first set give a > > > valid IP? Is not the rule `server

Re: [Dnsmasq-discuss] dnsmasq 2.90 reply truncated

2024-04-08 Thread Matus UHLAR - fantomas
lman/listinfo/dnsmasq-discuss -- Petr Menšík Software Engineer, RHEL Red Hat, https://www.redhat.com/ PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listin

Re: [Dnsmasq-discuss] Getting odd (IPV6) error on Ubuntu 24.04 system, not on similar 23.10 system

2024-06-09 Thread Matus UHLAR - fantomas
DNS provided by the same router) The dnsmasq.conf file on both systems is the same, and pretty trivial:- listen-address=127.0.0.1 bind-interfaces And this explains why dnsmasq only listens on ipv4 -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish N

Re: [Dnsmasq-discuss] Monthly Posting

2024-07-08 Thread Matus UHLAR - fantomas
h needs to be rewritten in plain straightforward english, not technobabble gobbelty goop. I believe putting better explanation about config-file and command-line options being the same (or, if they are not, describing differences) into the man page would help much. -- Matus UHLAR - fantomas,

Re: [Dnsmasq-discuss] IPv6 resolve local only

2024-09-03 Thread Matus UHLAR - fantomas
meouts. What might help, is logging of loq queries by dnsmasq. yeah -- 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. My mind is like a stee

Re: [Dnsmasq-discuss] DNSmasq will not start, failed (Result: protocol)

2024-11-06 Thread Matus UHLAR - fantomas
message besides the "protocol" check systemd unit file to see which arguments it has when run from systemd. Here on Debian it runs "ExecStart=/etc/init.d/dnsmasq systemd-exec" so I'd try manually running that one if I see any messages -- Matus UHLAR - fantomas, uh...@fanto

Re: [Dnsmasq-discuss] why need to enumerate interfaces

2021-03-04 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
know which interface a packet cme from, if you have one socket listening on all interfaces. Therefore you need to create one socket per interface to know that. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address.

Re: [Dnsmasq-discuss] DKIM / DMARC emails.

2021-03-19 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On Sun, Feb 21, 2021 at 10:40:37PM +0100, Geert Stappers via Dnsmasq-discuss wrote: On Sun, Feb 21, 2021 at 08:39:28PM +, Simon Kelley wrote: > On 19/02/2021 12:35, Matus UHLAR - fantomas wrote: > > On 18.02.21 22:50, Simon Kelley wrote: > >> That wiki page is just word-s

Re: [Dnsmasq-discuss] Using a reverse lookup host file

2021-05-04 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
which is standard file in UN*X operating systems. dnsmasq uses it for forward and reverse resolution, unless you disable it. -- 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 NEDOS

Re: [Dnsmasq-discuss] Wildcard / catch all Mail eXchanger (MX)

2021-05-08 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
) MX requests. Essentially, I believe I want to specify a wildcard as the "hostname" (really "mail domain"). I wondered if it's possible to deliver this functionality with the current dnsmasq? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ War

Re: [Dnsmasq-discuss] Wildcard / catch all Mail eXchanger (MX)

2021-05-09 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
ically mail domains > ("hostname") MX requests. > > Essentially, I believe I want to specify a wildcard as the "hostname" > (really "mail domain"). > > I wondered if it's possible to deliver this functionality with the > current > dnsmasq? &

Re: [Dnsmasq-discuss] dhcp-host precedence request due multiple matches

2021-06-22 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
level)? On 21.06.21 11:57, wkitt...@gmail.com wrote: each VM has its own MAC on its own (possibly) virtual NIC ;) this only works with bridged networking. In NAT networking, all their MACs and IP addresses are hidden behind your PC's IP and MAC. -- Matus UHLAR - fantomas, uh...@fantom

Re: [Dnsmasq-discuss] localise-queries on ipv6 server does not work with ipv4-only hosts

2021-07-17 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
guess the obvious answer to this would be "patches welcome". For the multi-subnets exists a workaround to make it fully working: assign only 1 IPv4 per IF and move the other IPv4s to "eth0:n" since you are talking abot requests received over ipv6, this looks like rather usele

Re: [Dnsmasq-discuss] Upstream DNS-Server doesn't work

2021-08-15 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
that response. you should run it on the router with dnsmasq instead -- 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. Despit

Re: [Dnsmasq-discuss] Noob question

2021-08-30 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
but redirecting them to 0.0.0.0 is hosts-way and not so lightweight solution. --address is something than --server. apparently the "#" has different meaning those two. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertis

Re: [Dnsmasq-discuss] Noob question

2021-08-31 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
ed number, would you? ;) -- 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. I feel like I'm diagonally park

Re: [Dnsmasq-discuss] What's the "right" way to specify upstream servers?

2021-09-04 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
configured but I am not familiar to raspberry configuration... -- 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 re

Re: [Dnsmasq-discuss] What's the "right" way to specify upstream servers?

2021-09-05 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
cified in /etc/dhcpcd.conf as > follows:- > ># Example static IP configuration: >interface eth0 >static ip_address=192.168.1.2/24 >#static ip6_address=fd51:42f8:caae:d92e::ff/64 >static routers=192.168.1.1 >static domain_name_servers=192.168.1.2 1

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-05 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
e able to look at options in them if any lacks value. -- 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. 2B|!2B, that's a question! __

Re: [Dnsmasq-discuss] What's the "right" way to specify upstream servers?

2021-09-05 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
# Example static IP configuration: interface eth0 static ip_address=192.168.1.2/24 #static ip6_address=fd51:42f8:caae:d92e::ff/64 static routers=192.168.1.1 static domain_name_servers=192.168.1.2 1.1.1.1 212.159.13.49 On Sat, Sep 04, 2021 at 04:33:10PM +0200, Matus UHLAR - fantomas via D

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-06 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
th quoting etc. and making sure that empty parameters aren't causing problems. There's no real change in logic that I can see. A typical change is:- < case "$RETVAL" in --- case "${RETVAL}" in even similar change can in some cases change the re

Re: [Dnsmasq-discuss] What's this error in syslog mean?

2021-09-06 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On 05.09.21 22:45, Chris Green wrote: > I did say what versions I was running. The version which causes the > problem is 2.80, the version that fixes it is 2.84. On Mon, Sep 06, 2021 at 01:17:52PM +0200, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: I don't think dnsmasq come

Re: [Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

2021-10-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
/dnsmasq different binaries? If so, that may be your problem. -- 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. Windows found: (R)emove, (E)rase

Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
rsion 2.48 "Dnsmasq version 2.48 Copyright (C) 2000-2009 Simon Kelley". I also tried version 2.85 but it didnt work either. I would really appreciate any help. that's very old and very buggy version. according to the changelog, --max-ttl parameter was added in 2.53 upgrade. -- Ma

Re: [Dnsmasq-discuss] How to Add max-ttl in DNSMASQ

2021-10-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
2.48 Copyright (C) 2000-2009 Simon Kelley". I also tried version 2.85 but it didnt work either. I would really appreciate any help. that's very old and very buggy version. according to the changelog, --max-ttl parameter was added in 2.53 -- Matus UHLAR - fantomas, uh...@fantomas.sk ;

Re: [Dnsmasq-discuss] Option 12 hostname sent to RPi seems incorrect

2021-10-25 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
t where should it get its hostname from then?) -- 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. How does cat play with

Re: [Dnsmasq-discuss] Unqualified names and default nameserver configuration

2021-11-09 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
nd "example.com" and unqualified names to server X and everything else to standard server Y, try specifying: server=Y server=/example.com/X server=//X alternatively you can specify server Y in resolv.conf -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning

Re: [Dnsmasq-discuss] Behavior change of upstream servers set via DBus

2021-11-09 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
ig line "server=192.168.1.1" without dbus works, though. Is there something wrong with the new upstream server selection logic? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tut

Re: [Dnsmasq-discuss] Behavior change of upstream servers set via DBus

2021-11-09 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
2021-11-09 at 10:33 +0100, Matus UHLAR - fantomas via Dnsmasq- discuss wrote: On 09.11.21 17:02, Jerry Xiao wrote: > With dnsmasq 2.85 I was able to do the following: > 1. set upstream servers (lets say 192.168.1.1) via dbus from the > dhcp > client, in my case it was networkmanager. > 2

Re: [Dnsmasq-discuss] Behavior change of upstream servers set via DBus

2021-11-09 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
rwarded to 1.1.1.1 forward all those 30k+ domains to DHCP assigned server. server=/somehost.tld/192.168.1.1 server=/google.com/192.168.1.1 so all those domains will be forwarded there. This is not possible with your config. it is not possible with _your_ config. -- Matus UHLAR - fa

Re: [Dnsmasq-discuss] Behavior change of upstream servers set via DBus

2021-11-16 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
f the upstream is willing to merge my changes if the size of the flags are enarged. Worst case I just replace dnsmasq with systemd-networkd, but before that I'd like to know if there's still other ways to implement this. Any help is appreciated. Thanks Jerry On Tue, 2021-11-09 at 17

Re: [Dnsmasq-discuss] Behavior change of upstream servers set via DBus

2021-11-20 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
rver flags and query flags > are > already full, idk if the upstream is willing to merge my changes if > the > size of the flags are enarged. > > Worst case I just replace dnsmasq with systemd-networkd, but before > that I'd like to know if there's still other ways to imple

Re: [Dnsmasq-discuss] strict-order with no-resolv; multi ignore-address

2022-01-09 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
timeout or error. --all-servers means dnsmasq will forward queries to all servers in parallel. -- 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

Re: [Dnsmasq-discuss] CNAMEs

2022-02-07 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
things like that as it could change. Is there any way to make DNSmasq deal with this appropriately? -- 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 NEDOSTA

Re: [Dnsmasq-discuss] Copying dnsmasq.leases, any issues to be aware of?

2022-02-08 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
tems. If you need cluster-like features, you should try isc or kea dhcp servers. On 05/02/2022 11:06, Simon Kelley wrote: It could work; there's a whole IETF standard for DHCP failover and it's implemented beautifully by ISC dhcp. If that's your niche, then ISC is the wa

Re: [Dnsmasq-discuss] Questions about /etc/hosts

2022-02-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
t of DNS is to avoid need to copy /etc/hosts contents. OTOH, I configured /etc/hosts on my home router, and dnsmasq can read it and use for both DNS and DHCP. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this addres

Re: [Dnsmasq-discuss] Strange error when running 'host'

2022-02-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
192.168.1.3 ;; Query time: 8 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Fri Feb 11 15:59:11 GMT 2022 ;; MSG SIZE rcvd: 52 So what on earth have I misconfigured? diy sends A query by default. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT

Re: [Dnsmasq-discuss] When does dnsmasq read the leases file?

2022-02-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
however, copying it to system with running dnsmasq would cause losing that file. If you want dhcp synchronization, better use isc-dhcpd or kea-dhcpd. for manual (or semi-automatic) transition copying leases file could work. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Wa

Re: [Dnsmasq-discuss] Comments, can I add comments on same line as confiuguration?

2022-02-11 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
92.168.1.1 # default route On 03.12.21 19:40, john doe wrote: Are you seeing any issues while doing it/does Dnsmasq complains? BTW I'm curious about this too: have you tried this and got any errors or unexpected behaviour? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://

Re: [Dnsmasq-discuss] Is there any way found this "Cannot assign requested address"?

2022-02-13 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
not how bind() will respond. -- 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. "One World. One Web. One Program." - Microsoft pr

Re: [Dnsmasq-discuss] Query on Privacy warning when connecting Ipad over wifi network

2022-02-28 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
o fix this? I could see many reports about this, but couldn't get the actual reason behind this and the solution. this is not a DNSMASQ issue. it's an issue of your router or any security ("security") device in your network, maybe your ISP. -- Matus UHLAR - fant

Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?

2022-03-02 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
oblem". Are you implicitly answering my question in the subject line with a "Yes" answer, because if the answer is "no", there is really no need to troubleshoot any further. there seems to be no limitation of what you asked for, however if there's a

Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?

2022-03-03 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
his _only_ works # for targets which are names from DHCP or /etc/hosts. Give host # "bert" another name, bertrand #cname=bertand,bert I haven't tried that yet, but that would confirm this as a bug. I usually put host names+IPS to /etc/hosts and ethernet addresses to /etc/ethers, I

Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?

2022-03-04 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On Thu, Mar 3, 2022 at 3:52 AM Matus UHLAR - fantomas via Dnsmasq-discuss < dnsmasq-discuss@lists.thekelleys.org.uk> wrote: this is strange, my dnsmasq.conf (2.85, debian 11) states: # Provide an alias for a "local" DNS name. Note that this _only_ works # for targets which are

Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?

2022-03-05 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
QUESTION SECTION: ;alias.test.example.com. IN ANY ;; ANSWER SECTION: alias.test.example.com. 5 IN CNAME client1.test.example.com. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31132 ;client1.test.example.com. IN ANY -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://w

Re: [Dnsmasq-discuss] Problem with no-resolv and no IP

2022-03-06 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
face appears and you don't specify --bind-dynamic to detect them. -- 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. REALITY.SYS cor

Re: [Dnsmasq-discuss] SERVFAIL and all-servers

2022-03-06 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
least for my case it seems much better to only give a SERVFAIL if all upstream servers answer with SERVFAIL. Together with the other "all-servers" issue I reported ("DNSSEC and all-servers"), the "all-servers" setup unfortunately is much less reliable than I was hopi

Re: [Dnsmasq-discuss] dhcp-host=hostnameonly does not work

2022-05-20 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
hostname to the ip in the hosts file. just FYI, I use /etc/ethers for this, as this is unix database for mapping ethernet numbers to hostnames. dnsmasq uses this database on my home router -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e

Re: [Dnsmasq-discuss] Possible to reuse Cache over restats?

2022-06-30 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
com<http://example.com> everywhere. Not mentioning that microsoft treats everything as list mail. -- 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 akuko

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lostin 2.86

2022-08-08 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
/* 1 for servers from resolv, 0 for command line. */  > +#define SERV_FROM_FILE   8192  /* read from --servers-file */  > +#define SERV_LOOP   16384  /* server causes forwarding loop */  > +#define SERV_DO_DNSSEC  32768  /* Validate DNSSEC when using this server */  > +#defin

Re: [Dnsmasq-discuss] [PATCH] Fix --server=/#/...... which was lostin 2.86

2022-08-09 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
. https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=f4b281381853df6b275332d4cd0ec1d150bffa86 Fixes this. On 08.08.22 19:09, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: this reminds me of a discussion there the OP seemed to deliberately using the behaviour above: https

Re: [Dnsmasq-discuss] URIBL_BLOCKED with dnsmasq and server options

2022-08-29 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
there's already working recursive server, why to use dnsmasq? or point dnsmasq to that server - but if there's already working recursive server, why to use dnsmasq? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising t

Re: [Dnsmasq-discuss] URIBL_BLOCKED with dnsmasq and server options

2022-08-31 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
case direct using of BIND, kresd or unbound would be easier to maintain. -- 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. Em

Re: [Dnsmasq-discuss] URIBL_BLOCKED with dnsmasq and server options

2022-08-31 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
ative queries aren't built into dnsmasq. dns-forward-max=256 server=208.67.222.222 server=208.67.220.220 What are other dnsmasq users doing to get working URIBL and not use a forwarder, do you run a caching DNS on the same server and use server=localhost? On 8/29/22 11:19, Matus UHLAR - fa

Re: [Dnsmasq-discuss] What does this reply to 'host' mean?

2022-10-16 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
his case MX lookup failed. -- 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. Support bacteria - they're the

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-23 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
WARNING, _("No IPv4 address found for %s"), name); ret.s_addr = 0; return ret; } -- 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 reklam

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-10-31 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
ret.s_addr = 0; return ret; } -- 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. Qua

[Dnsmasq-discuss] DNS recursion only works in debug mode

2022-10-31 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
mpts. I have tried to play with config options without success, running with --log-debug option, no change (and no logs that would explain). running with --keep-in-foreground caused no change either. Any idea what could be the problem? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantom

Re: [Dnsmasq-discuss] DNS recursion only works in debug mode

2022-11-01 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
On Mon, Oct 31, 2022 at 03:59:56PM +0100, Matus UHLAR - fantomas via Dnsmasq-discuss wrote: I have upgraded my router which included upgrading dnsmasq 2.80 to 2.86. (Turris OS 5.4.4 based on openwrt 19 to 6.0.1 based on OpenWrt 21.02.05) in the current version, dnsmasq returns REFUSED for

Re: [Dnsmasq-discuss] dnsmasq: dhcp-server with disabled dns-server: /etc/hosts ignored

2022-11-02 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
sed for name<->IP mapping wherever it's needed. This should imho include static DHCP configuration. I also believe that the resources part is not important nowadays. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertis

Re: [Dnsmasq-discuss] Dynamic address config?

2022-11-24 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
e requirement is I want to ssh any host in my lab without password, I am open to any other solution. configuring /etc/hosts and thus providing DNS for those hosts is easier than configuring those hosts in dnsmasq configuration. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas

Re: [Dnsmasq-discuss] listening on multiple ports at the same time

2022-12-07 Thread Matus UHLAR - fantomas via Dnsmasq-discuss
time with a single process running? each port can have its own configuration. so far I invoke multiple dnsmasq processes to do that. if they can share with one process I can save some memory. I guess this is the easiest and working solution -- Matus UHLAR - fantomas, uh...@fantomas.sk ;