Re: [Dnsmasq-discuss] [PATCH] Accept /32 and /0 as valid CIDR prefixes for rev-server directive

2017-02-19 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 15/02/17 22:46, Olivier Gayot wrote: > On Tue, Feb 14, 2017 at 03:17:54PM +, Simon Kelley wrote: >> That's an improvement, but I tend to agree that /0 doesn't make >> much sense. If we're going to patch this, it seems to make more >> sense

Re: [Dnsmasq-discuss] Scalability of DNS blackhole configuration?

2017-02-19 Thread Simon Kelley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 There are two ways to do this: one is the way you have. The second is using either a file in the same format as /etc/hosts and --addn-hosts, using --host-record. Either probably have similar memory-footprint implications, but the first does

Re: [Dnsmasq-discuss] [PATCH] Accept /32 and /0 as valid CIDR prefixes for rev-server directive

2017-02-19 Thread Dave Taht
On Tue, Feb 14, 2017 at 7:17 AM, Simon Kelley wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > That's an improvement, but I tend to agree that /0 doesn't make much > sense. If we're going to patch this, it seems to make more sense to > reject anything other

Re: [Dnsmasq-discuss] resolving server's hostname

2017-02-19 Thread Albert ARIBAUD
Hi Carl, Le Sat, 18 Feb 2017 21:53:52 -0600 Carl Karsten a écrit: > [...] > > so if I set no-hosts, how does dnsmaq figure out how to resolve >> dc10b? Just the same way it does any other machine; the fact that a machine is a name server does not make its name(s) or IP

Re: [Dnsmasq-discuss] Scalability of DNS blackhole configuration?

2017-02-19 Thread Mike Lee
For the purposes of blocking subdomains of known-bad domains I definitely want the "free" wildcard functionality so I'll continue using what I'm using. Thanks for the information! --Mike On Sun, Feb 19, 2017 at 11:10 AM, Simon Kelley wrote: > -BEGIN PGP SIGNED

[Dnsmasq-discuss] [OT] A question about MX records

2017-02-19 Thread Chris Green
I'm afraid this is a little off topic for dnsmasq but I don't know where else I could ask. If I have a small server that is both a basic internet host *and* the mail server for that host how does one set up the MX record in the zone file? I.e. I have a server for the domain zbmc.eu and 'host

Re: [Dnsmasq-discuss] [OT] A question about MX records

2017-02-19 Thread richardvo...@gmail.com
If by "alias", you mean a second A record for 84.92.49.234, then the common practice is to use a hostname of mail.domain.tld If by "alias", you mean a CNAME, you should know that listing a CNAME in an MX record violates the RFC. It often works, but some servers check for this and reject all mail