[Dnsmasq-discuss] The get-version script doesn't recognize git submodule

2015-04-25 Thread Johnny S. Lee
bld/get-version would return UNKNOWN if the repository was a git submodule, because in this case TOP/.git would be a text file instead of a directory. A change like the following (or maybe simply replace -d with -e) should make it works. diff --git a/bld/get-version b/bld/get-version index 7ab

[Dnsmasq-discuss] Host Records

2015-04-25 Thread David G.
How does the host-record option work? I tried adding it to the conf and that didn't work. I keep getting "Bad name in host-record". I tried the sample given in the man page, from the command line and that didn't work, either: dnsmasq -d --host-record=laptop,laptop.thekelleys.org,192.168.0.1,1234:

Re: [Dnsmasq-discuss] NAT Congestion Enhancement for DNS Client Port Selection

2015-04-25 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If you want to experiment with strategies, and your C is OK, it should be quite easy to do. Look at allocate_rfd() in src/forward.c. That has two bits of code, the first makes a new random socket, and if that fails (kernel resource issues, or maximum n