Re: [Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-05 Thread Wojtek Swiatek
ion. Which, as I realize now, will be a major problem anyway since the issue is not a matter of configuration. > > > Cheers, > > > Simon. > > > On 05/08/2021 17:01, Wojtek Swiatek wrote: > > Thank you Simon for the follow-up. > > > > I use dnsmasq on a Ubiq

Re: [Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-05 Thread Wojtek Swiatek
; > TLDR; We though of this, and we think it works correctly. If you've > found a specific case where it isn't working, we'll need more > information on exactly what that case is, and what version of dnsmasq > you're running. > > Setting --log-queries, demon

[Dnsmasq-discuss] ERRATUM to my previous email (NXDOMAIN vs NODATA)

2021-08-04 Thread Wojtek Swiatek
Sorry - the last paragraph about the "workaround" does not make any sense, please discard it. The issue would indeed to be fixed at the response level. ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.

[Dnsmasq-discuss] NXDOMAIN is sent instead of NODATA when querying for non-existent AAAA records

2021-08-04 Thread Wojtek Swiatek
Hello everyone I noticed that my dnsmasq server is sending an NXDOMAIN instead of a NODATA when I query it for records it does not have. This is, I believe, not the correct behaviour ( https://datatracker.ietf.org/doc/html/rfc2308 - see 1 Terminology → NODATA) and that response breaks querie

[Dnsmasq-discuss] Why making dnsmasq authoritative breaks CNAME resolution?

2019-02-04 Thread Wojtek Swiatek
Hello, After posting a question on Serverfault.com I thought that this list may be more suitable as my problem seems to really be a configuration issue. I have a `CNAME` set up in dnsmasq as cname=ch1-lampe-bureau.swtk.info,switch-3 It is resolved correctly (`switch-3` is a device which get

[Dnsmasq-discuss] Why is a different TTL resturned for bare and FQDN queries?

2019-02-02 Thread Wojtek Swiatek
switch-3 is a device which gets its IP via DHCP from dnsmasq. When trying to resolve it on dnsmasq (which expands hosts): root@rpi1 ~# dig @10.200.0.40 switch-3 ; <<>> DiG 9.11.4-4-Raspbian <<>> @10.200.0

[Dnsmasq-discuss] Cannot set up a CNAME despite it being present in an AXFR

2019-02-02 Thread Wojtek Swiatek
Hello everyone I am quite desperate with some CNAMES and would appreciate any help. I have a DHCP device (switch-3) which gets it address via dnsmasq. I can ping it and dig @127.0.0.1 (on the host with dnsmasq) shows its IP. The strange thing is that a dig for switch-3 and for switch-3.swtk.info

[Dnsmasq-discuss] Is it possible to add an external IP as an A entry?

2019-01-16 Thread Wojtek Swiatek
Hello everyone I wanted to add an external IP as an A record for my domain: host-record=salt,salt.swtk.info,53.220.139.123 This entry is not visible, though, when restarting dnsmasq (dig salt.swtk.info does not bring anything) Is there something special to do in order to add this A entry? _

[Dnsmasq-discuss] IXFR requests and how they are handled

2019-01-15 Thread Wojtek Swiatek
Hello I was trying to use dnsmasq as a master with unbound as secondaries. After some debugging (https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4219), I realized that IXFR is not handled by dnsmasq (AXFR is - and works fine). It seems that the request just hangs and timeouts. Would it be po

Re: [Dnsmasq-discuss] Support for adding CNAME query result to IPSET

2018-09-13 Thread Wojtek Swiatek
of my hosts - mobiles, desktops, laptops and servers - are managed by dnsmasq's DHCP). Having the capacity to update an ipset from within dnsmasq (as the lease changes) would be great. The only alternative today is to manually set some hosts as infinite lease. Cheers, Wojtek > On 07/09/1

Re: [Dnsmasq-discuss] How to declare dnsmasq as authoritative for the 10.x subnet?

2018-09-10 Thread Wojtek Swiatek
Hello Simon Le sam. 8 sept. 2018 à 17:20, Simon Kelley a écrit : > > auth-zone specifies the zone within the domain-name tree first, then > (optionally) the subnet range which gets serverd for reverse queries, so > something like > > auth-zone=swtk.info/0.0.0.0/8 > > would do the trick. > > The

Re: [Dnsmasq-discuss] Support for adding CNAME query result to IPSET

2018-09-07 Thread Wojtek Swiatek
I incidentally have the same problem (I started to tackle ipset today). Taking your example: root@srv ~# dnsmasq -d --log-queries --ipset=/vpnin.swtk.info/vpnin dnsmasq: started, version 2.79 cachesize 150 dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntra

[Dnsmasq-discuss] How to declare dnsmasq as authoritative for the 10.x subnet?

2018-09-06 Thread Wojtek Swiatek
Hello everyone, Following the documentation for auth-zone, I tried to declare my dnsmasq server as authoritative for the 10.0.0.0/8 zone (I server several IP sub-ranges in 10.x). Unfortunately, whatever I try I end up with Sep 06 16:29:28 bind named[4677]: zone 10.in-addr.arpa/IN: refresh: non-au

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 20:58, Simon Kelley a écrit : > > What version of dnsmasq are you running? > > > 2.79, this is the latest version packaged with Ubuntu bionic (the LTS version from a few weeks ago). It seems to be the latest one if I compare it to your download site. root@srv ~# dnsmasq --v

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 19:18, Simon Kelley a écrit : > The serial number is initialised when dnsmasq starts up to the current > time (seconds since 1st Jan 1970). > > > If your serial starts a one each time dnsmasq starts up then something > is wrong. Maybe dnsmasq is started before the time is

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 17:40, a écrit : > > > systemctl restart dnsmasq > > > this is not a SIGHUP... the following is one correct way... it is chosen > for > ease and not needing to find the process' PID... > >pkill -SIGHUP dnsmasq > > > here is another way... slightly more complicated becaus

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 16:24, Simon Kelley a écrit : > > After you've made changes to /etc/hosts, you need to send SIGHUP to the > dnsmasq process to get it to re-read the file. That should also > increment the serial. Changes to DHCP allocated addresses should also > increment the serial. > Tha

Re: [Dnsmasq-discuss] Zone transfer fails without any error

2018-08-03 Thread Wojtek Swiatek
Le ven. 3 août 2018 à 14:06, Simon Kelley a écrit : > > What's the result of doing > > dig @192.168.0.10 SOA swtk.info > > > It looks like that could be what's failing, rather than the actual zone > transfer. > > Hello Simon After one night spent on the subject I finally managed this morning to

[Dnsmasq-discuss] Zone transfer fails without any error

2018-08-02 Thread Wojtek Swiatek
Hello everyone I wanted to set up another DNS server (unfortunately bind as, again unfortunately, dnsmasq does not support being a secondary server). The zone transfer is initiated from the secondary but I see (on that secondary): 02-Aug-2018 23:05:33.160 zone swtk.info/IN: refresh: unexpected r

[Dnsmasq-discuss] How to conditionally forward a query based on the source IP?

2016-06-12 Thread Wojtek Swiatek
Hello I am trying to find a way to forward a DNS request to a specifc DNS server, based on the IP address of the requesting host. In other words I would like dnsmasq to forward (as an example) queries from the host 10.10.10.1's to DNS server 8.8.8.8 and when the query comes from any another host

[Dnsmasq-discuss] how to split the resolution between networks?

2012-07-29 Thread Wojtek Swiatek
Hello, I have two networks (wired on eth0 (192.168.0.10) and wireless on wlan3 (192.168.1.10)) routed by a server which also runs dnsmasq. I need the name "server" to be resolved as 192.168.0.10 from the wired network and as 192.168.1.10 from the wireless one. I currently have 192.168.0.10 server

[Dnsmasq-discuss] how to handle the local domain (A, PTR)

2012-07-27 Thread Wojtek Swiatek
Hello, I set up dnsmasq on my home network to replace the isc/bind legacy system :) when changing the architecture. The setup relies on a debian which acts as the router/firewall/"master of all truth" (DNS, ntp, ...): - an ADSL access to Internet with the public IP assigned to eth1 - a wired netwo