[Dnsmasq-discuss] Monthly posting

2021-12-06 Thread Monthly posting


Hi,

"How To Ask Questions The Smart Way" has immediately after the introduction
an advice on before you ask.  
http://www.catb.org/esr/faqs/smart-questions.html#before 

Following that advice is still no guarantee for  a quick response.
So when you are still stuck with something that you think it is dnsmasq
related, you have to make more effort.

Greatest challenge is most likely being persistent in solving the
problem. ( Not being persistent in demanding an answer )

The dnsmasq man page is feature complete. And known as hard to read for
those who are new to it. But still do read it and try to understand it.
Reading it again is known being effective for getting better
understanding. Find a copy of it in source code of dnsmasq
and read it by `man man/dnsmasq.8`, or when installed by `man dnsmasq`
or at https://dnsmasq.org/docs/dnsmasq-man.html

Pattern seen on the mailing list is unawareness of
network-server-client-model. Expressing such problems is indeed hard,
but also the road to a solution. Know that you are the main stake holder
of the problem that you are facing. The highest reward for
finding a solution goes to you. Keep the eco system that you are
consulting healthy by sharing also your success stories.

Avoid "DNS doesn't work",  make it "My DNS client gets odd replies
from dnsmasq", "My DNS requests don't get forwarded" or another
non-generic issue.

Use real DNS tools like `dig` or `host` instead of `ping`.


For closer views is networksniffing recommented.
When `tcpdump` or `wireshark` is used for such examinations,
provide the mailinglist with an URL to  `.pcap`-file.

Karma bonus points for providing an URL that can be `wget`.
So prevent that your community members get exposed
to website that screams advertisements and the need for Javascript.

Text version output of network sniffs don't show well
after being put in an email. Please take the pain of uploading
an .pcap file insteadof multipling
the pain malformed netsniffer output.



Dnsmasq is a mature project, meaning not often a release.
However we constantly want to improve. Yes, patches welcome.

Patches are not always reviewed within three days.
Retransmit of your review request after eight days is not too pushy.


Aim for common interest. If you find it here, fine.
If you cannot find it here, you might found a clue for looking elsewhere
on "common interest".


Do know there are real humans behind the email addresses.


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


Re: [Dnsmasq-discuss] How to resolve resolv.conf problems?

2021-12-06 Thread Chris Green
Well, after chasing around for some days and looking for answers to
this issue I have decided that Network Manager is the problem.

On my Raspberry Pi systems with no Network Manager it all configures
correctly when you install dnsmasq.  /etc/resolv.conf has "nameserver
127.0.0.1" in it and /run/dnsmasq/resolv.conf has "nameserver
192.168.1.2" (which is correct for me as 192.168.1.2 is the DNS server
for my LAN) and dnsmasq is run with "-r /run/dnsmasq/resolv.conf". 

However, whatever I have tried, on this xubuntu 21.10 laptop it
configures as above *except* that /run/dnsmasq/resolv.conf is empty,
it says "# Generated by resolvconf" but has nothing in it.

So, what I have done is to put a file in /etc/dnsmasq.d containing
just the one line:-
resolv-file=/run/NetworkManager/no-stub-resolv.conf

The file /run/NetworkManager/no-stub-resolv.conf does contain the
correct upstream DNS server.

I suspect that Network Manager with dns=dnsmasq in the configuration
file is supposed to configure things correctly (as on the Pi above)
but for some reason it doesn't work quite right.

However my workaround isn't too onerous and means my laptop can run
dnsmasq and will use whatever DNS is provided by the network it is
connected to.

-- 
Chris Green

___
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 on large scale network

2021-12-06 Thread wkitty42

On 12/5/21 1:44 PM, Fabian Druschke wrote:
Does someone have experience with such a scenario, and is there a proper tool to 
benchmark DHCP ?


perhaps something like this is what you are looking for? listed in no specific 
order... i've never worked with any of these...


https://www.ncad.co.jp/~prodhcp/dhcpperf/readme-en.html
http://manpages.ubuntu.com/manpages/xenial/man8/perfdhcp.8.html

the above found via this search: 
https://www.google.com/search?q=linux+how+to+load+test+dhcp+server


--
 NOTE: No off-list assistance is given without prior approval.
   *Please keep mailing list traffic on the list unless*
   *a signed and pre-paid contract is in effect with us.*

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